Skip to content

Commit

Permalink
change_status_fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Noor-mommadhi committed Sep 13, 2023
1 parent 58af2b3 commit 6bc8802
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 13 deletions.
Original file line number Diff line number Diff line change
@@ -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 */
Expand All @@ -21,6 +22,14 @@
//$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;
Expand Down Expand Up @@ -622,19 +631,19 @@ function checkFunction() {
$("#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;
Expand Down
1 change: 1 addition & 0 deletions routes/web.php
Original file line number Diff line number Diff line change
Expand Up @@ -531,6 +531,7 @@
//===================================================================================
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 */
Expand Down

0 comments on commit 6bc8802

Please sign in to comment.