This commit is contained in:
KNaveenraj-ladybird
2023-09-06 14:37:02 +05:30
parent 58af2b3e81
commit adc6c48ea4
4 changed files with 18 additions and 9 deletions

View File

@@ -1828,13 +1828,19 @@ if ($thread->title != "") {
}, 500);
},
success: function(json) {
$("#alert21").show();
$('#message-success2').html(json.result.success);
location.reload();
// $('html, body').animate({ scrollTop: $("#heading").offset().top }, 500);
setTimeout(function () {
location.reload();
$("#alert21").show();
$('#message-success2').html(json.result.success);
}, 1000);
$('html, body').animate({ scrollTop: $("#inboxactions").offset().top }, 500);
},
error: function(json) {
error: function(json) {
$("#show3").hide();
$("#t1").show();
var res = "";
@@ -1846,6 +1852,7 @@ if ($thread->title != "") {
}
})
return false;
});
// Surrender
$('#Surrender').on('click', function() {
@@ -2147,7 +2154,7 @@ echo $ticket_data->title;
// $("#alert21").show();
// $('#message-success2').html(message);
$('#replybtn').attr('disabled', false);
// setInterval(function(){$("#alert21").hide(); },8000);
// setInterval(function(){$("#alert21").hide(); },8000);
} else if (response == 1 || response == 4){
// alert(response);
// var message = "{{Lang::get('lang.access-ticket')}}"+locktime/(60*1000)

View File

@@ -138,7 +138,8 @@ class="nav-item active"
<td class="mailbox-priority"><spam>{{$priority->priority}}</spam></td>
<td class="mailbox-last-reply" style="color: {!! $rep !!}">{!! $username !!}</td>
<td class="mailbox-last-activity">{!! $title->updated_at !!}</td>
<?php $updated = $title->updated_at ?>
<td class="mailbox-last-activity">{!! UTC::usertimezone($updated) !!}</td>
<?php $status = App\Model\helpdesk\Ticket\Ticket_Status::where('id', '=', $ticket->status)->first(); ?>
<td class="mailbox-date">{!! $status->name !!}</td>
</tr>