84e4fc2a4b
models for help desk tickets and queues model for EveMail modified app config for queues added new routes for jump bridges composer updated for autoloader modified JumpBridgeController added new controllers for HelpDesk and HelpDeskAdmin
23 lines
621 B
PHP
23 lines
621 B
PHP
<script>
|
|
function getMessage(days){
|
|
$.ajaxSetup({
|
|
headers: {
|
|
'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content')
|
|
}
|
|
});
|
|
$.ajax({
|
|
type:'POST',
|
|
url:'/jumpbridges/getoverall',
|
|
data: {
|
|
days: time
|
|
},
|
|
success:function(response){
|
|
$("#overall").html(response);
|
|
console.log('Ajax Call Successful');
|
|
},
|
|
fail:function(response) {
|
|
alert('Unable to fulfill request.');
|
|
}
|
|
});
|
|
}
|
|
</script> |