add changes

This commit is contained in:
2023-05-25 12:33:00 +05:30
parent 60ea1797f1
commit 3c8f09f209
56 changed files with 8654 additions and 0 deletions
+29
View File
@@ -0,0 +1,29 @@
function supportTicketNoInit(){
let ticketId = null;
INIT();
function INIT(){
ticketId = window.location.search.split("=")[1];
getTicketData(ticketId);
}
async function getTicketData(id){
let res = await API_SERVICES_ACTIONS.getAPIService(`apis/v4/anwisystems/integrations/products/getticketdetails/ticketno/${id}`);
if(res.isError){
toasterHelper("error",res.errorMsg,`toast-top-right`);
return;
}
res = JSON.parse(res.response.result)[0];
$('.description_support').html(res['Description']);
$('.ticketidsupport').html(res['ticketno']);
$('.raiseddate').html(res['Raised Date']);
console.log(res);
}
}
supportTicketNoInit();