fixes
This commit is contained in:
@@ -437,7 +437,7 @@ class TicketController extends Controller
|
||||
|
||||
return response()->json(compact('result'));
|
||||
}
|
||||
$result = ['success' => 'Replyed successfully'];
|
||||
$result = ['success' => 'Replied successfully'];
|
||||
|
||||
return response()->json(compact('result'));
|
||||
}
|
||||
|
@@ -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() {
|
||||
|
@@ -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>
|
||||
|
@@ -347,6 +347,7 @@ Route::middleware('web')->group(function () {
|
||||
|
||||
Route::post('/newticket/post', [Agent\helpdesk\TicketController::class, 'post_newticket'])->name('post.newticket'); /* Post Create New Ticket */
|
||||
Route::get('/thread/{id}', [Agent\helpdesk\TicketController::class, 'thread'])->name('ticket.thread'); /* Get Thread by ID */
|
||||
Route::get('ticket/tooltip', [Agent\helpdesk\TicketController::class, 'getTooltip'])->name('ticket.tooltip');
|
||||
|
||||
Route::post('/thread/reply/{id}', [Agent\helpdesk\TicketController::class, 'reply'])->name('ticket.reply'); /* Patch Thread Reply */
|
||||
Route::patch('/internal/note/{id}', [Agent\helpdesk\TicketController::class, 'InternalNote'])->name('Internal.note'); /* Patch Internal Note */
|
||||
|
Reference in New Issue
Block a user