change_status_fix

This commit is contained in:
noor
2023-09-13 12:59:18 +05:30
parent 58af2b3e81
commit 6bc8802cc9
2 changed files with 23 additions and 13 deletions

View File

@@ -1,5 +1,6 @@
@extends('themes.default1.client.layout.client')
@section('breadcrumb')
<style>
.words {
margin-right: 10px; /* Adjust the value to increase or decrease the gap between list items */
@@ -21,6 +22,14 @@ $thread = App\Model\helpdesk\Ticket\Ticket_Thread::where('ticket_id', '=', \Cryp
//$user = App\User::where('id','=',$id1)->first();
?>
<!-- Main content -->
<div id="alert11" class="alert alert-dismissable alert-success" style="display: none;" role="aler">
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">&times;</button>
<span id="message-success1" ></span>
</div>
<style type="text/css">
.caret {
border-left: 4px solid transparent;
@@ -622,19 +631,19 @@ $thread = App\Model\helpdesk\Ticket\Ticket_Thread::where('ticket_id', '=', \Cryp
$("#refresh").load("../check_ticket/{!! $id !!} #refresh");
$("#refresh").show();
$("#loader").hide();
// $("#d1").trigger("click");
// var message = "Success! Your Ticket have been Closed";
// $("#alert11").show();
// $('#message-success1').html(message);
// setInterval(function(){
// $("#alert11").hide();
// setTimeout(function() {
// var link = document.querySelector('#load-inbox');
// if(link) {
// link.click();
// }
// }, 500);
// },2000);
$("#d1").trigger("click");
var message = "Success! Your Ticket have been Closed";
$("#alert11").show();
$('#message-success1').html(message);
setInterval(function(){
$("#alert11").hide();
setTimeout(function() {
var link = document.querySelector('#load-inbox');
if(link) {
link.click();
}
}, 500);
},2000);
}
})
return false;

View File

@@ -531,6 +531,7 @@ Route::middleware('web')->group(function () {
//===================================================================================
Route::middleware('auth')->group(function () {
Route::get('client-profile', [Client\helpdesk\GuestController::class, 'getProfile'])->name('client.profile'); /* User profile get */
Route::post('select_all', [Agent\helpdesk\TicketController::class, 'select_all'])->name('select_all');
Route::get('mytickets', [Client\helpdesk\GuestController::class, 'getMyticket'])->name('ticket2');
Route::get('myticket/{id}', [Client\helpdesk\GuestController::class, 'thread'])->name('ticket'); /* Get my tickets */