CHANGE_claims_module_fix_final - VADIVEL J 2025-09-17
This commit is contained in:
parent
b9f2dead6d
commit
3ce7953884
@ -64,7 +64,7 @@
|
|||||||
<div class="card-body">
|
<div class="card-body">
|
||||||
<div class="row" style="padding-bottom: 10px;">
|
<div class="row" style="padding-bottom: 10px;">
|
||||||
<div class="col-6" style="align-self: center;">
|
<div class="col-6" style="align-self: center;">
|
||||||
<h4 style="position: relative;">Files</h4>
|
<h2 style="position: relative;">Claim Dump Upload</h2>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
@ -93,14 +93,18 @@
|
|||||||
<td><?php echo change_date_format($file['created_at'], 'Y-m-d H:i:s', 'd M Y h:i a') . ' by <strong>' . $file['user_name'] . '</strong>' ?> </td>
|
<td><?php echo change_date_format($file['created_at'], 'Y-m-d H:i:s', 'd M Y h:i a') . ' by <strong>' . $file['user_name'] . '</strong>' ?> </td>
|
||||||
<td>
|
<td>
|
||||||
<?php if ($file['status'] == "failed") { ?>
|
<?php if ($file['status'] == "failed") { ?>
|
||||||
<?= $file['status'] ?> <span class='col-xl-3 col-lg-4 col-sm-6'>
|
<span style="color : #BD0707 ;"> <?= $file['status'] ?> </span>
|
||||||
|
<span class='col-xl-3 col-lg-4 col-sm-6'>
|
||||||
<!-- <a href="<?= base_url('util/claim_dump_excel_error/') . $file['file_id'] ?>" target="_blank" class='fe-alert-circle' data-err="<?= $file['file_id'] ?>"></a> -->
|
<!-- <a href="<?= base_url('util/claim_dump_excel_error/') . $file['file_id'] ?>" target="_blank" class='fe-alert-circle' data-err="<?= $file['file_id'] ?>"></a> -->
|
||||||
<a href="#" class='fe-alert-circle' onclick="fetchFileError(<?= $file['file_id'] ?>)"></a>
|
<a href="#" class='fe-alert-circle' onclick="fetchFileError(<?= $file['file_id'] ?>)"></a>
|
||||||
</span>
|
</span>
|
||||||
<?php } else if ($file['status'] == "inprogress") { ?>
|
<?php } else if ($file['status'] == "inprogress") { ?>
|
||||||
<a data-id="<?= $file['status'] ?>" class="reload" href="#"><?= $file['status'] ?></a>
|
<a data-id="<?= $file['status'] ?>" class="reload" href="#"
|
||||||
<?php } else { ?>
|
style="color : #938e04ff ;">
|
||||||
<?= $file['status'] ?>
|
<?= $file['status'] ?>
|
||||||
|
</a>
|
||||||
|
<?php } else { ?>
|
||||||
|
<span style="color : #34A853 ;"> <?= $file['status'] ?> </span>
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
@ -156,7 +160,7 @@
|
|||||||
<!-- [ <a href="#" id="excel_download" data-toggle="tooltip" data-placement="top" title="Download Sample Excel">Sample Excel</a> ] -->
|
<!-- [ <a href="#" id="excel_download" data-toggle="tooltip" data-placement="top" title="Download Sample Excel">Sample Excel</a> ] -->
|
||||||
<input type="file" name="claim_dump_list" id="claim_dump_list" accept=" application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, application/vnd.ms-excel,application/vnd.oasis.opendocument.spreadsheet" required>
|
<input type="file" name="claim_dump_list" id="claim_dump_list" accept=" application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, application/vnd.ms-excel,application/vnd.oasis.opendocument.spreadsheet" required>
|
||||||
</div>
|
</div>
|
||||||
<div class="form-group col-md-3" style="margin-top: 18px;">
|
<div class="form-group col-md-3" style="margin-top: 40px;">
|
||||||
<button id="claim_form_submit_button" type="submit" class="btn btn-primary waves-effect waves-light justify-content-end">Upload</button>
|
<button id="claim_form_submit_button" type="submit" class="btn btn-primary waves-effect waves-light justify-content-end">Upload</button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@ -1005,20 +1005,21 @@ $(document).ready(function(){
|
|||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
function openModal(modalId) {
|
// function openModal(modalId) {
|
||||||
var modalEl = document.getElementById(modalId);
|
// console.log('openModal called with ID:', modalId);
|
||||||
|
// var modalEl = document.getElementById(modalId);
|
||||||
|
|
||||||
if (typeof bootstrap !== "undefined" && bootstrap.Modal) {
|
// if (typeof bootstrap !== "undefined" && bootstrap.Modal && typeof bootstrap.Modal.getOrCreateInstance === "function") {
|
||||||
// Bootstrap 5
|
// // ✅ Bootstrap 5
|
||||||
var modal = bootstrap.Modal.getOrCreateInstance(modalEl);
|
// var modal = bootstrap.Modal.getOrCreateInstance(modalEl);
|
||||||
modal.show();
|
// modal.show();
|
||||||
} else if (typeof $ !== "undefined" && typeof $.fn.modal === "function") {
|
// } else if (typeof $ !== "undefined" && typeof $.fn.modal === "function") {
|
||||||
// Bootstrap 4
|
// // ✅ Bootstrap 4
|
||||||
$('#' + modalId).modal('show');
|
// $('#' + modalId).modal('show');
|
||||||
} else {
|
// } else {
|
||||||
console.error("No compatible Bootstrap modal found.");
|
// console.error("No compatible Bootstrap modal found.");
|
||||||
}
|
// }
|
||||||
}
|
// }
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
|||||||
@ -974,11 +974,86 @@
|
|||||||
|
|
||||||
<!-- jodit section -->
|
<!-- jodit section -->
|
||||||
<style>
|
<style>
|
||||||
/********************************************************************* jodit section starts ***********************************************************************************************************/
|
/* ✅ Whole editor box */
|
||||||
|
.jodit {
|
||||||
.jodit-wysiwyg {
|
border-radius: 10px;
|
||||||
color: black;
|
box-shadow: 0px 2px 2px 0px #00000040;
|
||||||
|
overflow: hidden;
|
||||||
|
background-color: #F5FFFF !important; /* fallback */
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* ✅ Toolbar (header) */
|
||||||
|
.jodit .jodit-toolbar__box,
|
||||||
|
.jodit .jodit-toolbar-editor-collection {
|
||||||
|
background-color: #F5FFFF !important;
|
||||||
|
border: none !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* ✅ Footer / status bar */
|
||||||
|
.jodit .jodit-status-bar {
|
||||||
|
background-color: #F5FFFF !important;
|
||||||
|
border-top: 1px solid #ddd; /* optional: keep a light separator */
|
||||||
|
}
|
||||||
|
|
||||||
|
/* ✅ Editable content (div mode) */
|
||||||
|
.jodit .jodit-wysiwyg {
|
||||||
|
background-color: #F5FFFF !important;
|
||||||
|
color:black !important;
|
||||||
|
padding: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* ✅ Editable content (iframe mode) */
|
||||||
|
.jodit iframe {
|
||||||
|
background-color: #F5FFFF !important;
|
||||||
|
border-radius: 0 0 10px 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</style>
|
||||||
|
|
||||||
|
<!-- jodit section inside modal -->
|
||||||
|
<style>
|
||||||
|
|
||||||
|
/* ✅ Whole editor box */
|
||||||
|
.modal .jodit {
|
||||||
|
border-radius: 10px;
|
||||||
|
box-shadow: 0px 2px 2px 0px #00000040;
|
||||||
|
overflow: hidden;
|
||||||
|
background-color: #ECECEC !important; /* fallback */
|
||||||
|
}
|
||||||
|
|
||||||
|
.modal .jodit p {
|
||||||
|
background-color: #ECECEC !important; /* fallback */
|
||||||
|
}
|
||||||
|
|
||||||
|
/* ✅ Toolbar (header) */
|
||||||
|
.modal .jodit .jodit-toolbar__box,
|
||||||
|
.modal .jodit .jodit-toolbar-editor-collection {
|
||||||
|
background-color: #ECECEC !important;
|
||||||
|
border: none !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* ✅ Footer / status bar */
|
||||||
|
.modal .jodit .jodit-status-bar {
|
||||||
|
background-color: #ECECEC !important;
|
||||||
|
border-top: 1px solid #ddd; /* optional: keep a light separator */
|
||||||
|
}
|
||||||
|
|
||||||
|
/* ✅ Editable content (div mode) */
|
||||||
|
.modal .jodit .jodit-wysiwyg {
|
||||||
|
background-color: #ECECEC !important;
|
||||||
|
color:black !important;
|
||||||
|
padding: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* ✅ Editable content (iframe mode) */
|
||||||
|
.modal .jodit iframe {
|
||||||
|
background-color: #ECECEC !important;
|
||||||
|
border-radius: 0 0 10px 10px;
|
||||||
|
}
|
||||||
|
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
|
|
||||||
@ -1365,6 +1440,28 @@
|
|||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
|
<style>
|
||||||
|
.dataTables_scrollBody thead.bg-light tr
|
||||||
|
, .dataTables_scrollBody thead.app-table-head tr
|
||||||
|
{
|
||||||
|
visibility: collapse !important; /* hides + removes row space */
|
||||||
|
height: 0 !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.dataTables_scrollBody thead.bg-light th
|
||||||
|
, .dataTables_scrollBody thead.app-table-head tr
|
||||||
|
{
|
||||||
|
padding: 0 !important;
|
||||||
|
margin: 0 !important;
|
||||||
|
border: none !important;
|
||||||
|
height: 0 !important;
|
||||||
|
line-height: 0 !important;
|
||||||
|
overflow: hidden !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
</style>
|
||||||
|
|
||||||
|
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body class="loading" data-layout-mode="" data-layout='{"mode": "light", "width": "fluid", "menuPosition": "fixed", "sidebar": { "color": "light", "size": "condensed", "showuser": false}, "topbar": {"color": "dark"}, "showRightSidebarOnPageLoad": false}'></body>
|
<body class="loading" data-layout-mode="" data-layout='{"mode": "light", "width": "fluid", "menuPosition": "fixed", "sidebar": { "color": "light", "size": "condensed", "showuser": false}, "topbar": {"color": "dark"}, "showRightSidebarOnPageLoad": false}'></body>
|
||||||
|
|||||||
@ -5,6 +5,34 @@
|
|||||||
|
|
||||||
.label-font-size{
|
.label-font-size{
|
||||||
font-size:0.875rem;
|
font-size:0.875rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.nav-pills ,
|
||||||
|
.nav-link
|
||||||
|
{
|
||||||
|
background-color: #F5FFFF !important;
|
||||||
|
color : #00999E !important;
|
||||||
|
border-radius:10px;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
.nav-pills
|
||||||
|
{
|
||||||
|
background-color: #F5FFFF !important;
|
||||||
|
color : #00999E !important;
|
||||||
|
box-shadow: 0px 2px 4px 0px #00000040;
|
||||||
|
padding-top: 5px ;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
.nav-link.active-tab {
|
||||||
|
color: white !important;
|
||||||
|
background-color: #00999E !important;
|
||||||
|
font-size: small !important;
|
||||||
|
padding:8px 16px;
|
||||||
|
border-radius: 10px !important;
|
||||||
|
box-shadow: 0px 2px 4px 0px #00000040;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
</style>
|
</style>
|
||||||
@ -27,28 +55,28 @@
|
|||||||
<!-- Navigation Tabs -->
|
<!-- Navigation Tabs -->
|
||||||
<ul class="nav nav-pills navtab-bg">
|
<ul class="nav nav-pills navtab-bg">
|
||||||
<li class="nav-item">
|
<li class="nav-item">
|
||||||
<a href="#general-tab" data-toggle="tab" class="nav-link px-2 py-1 active label-font-size" id="general_tab"
|
<a href="#general-tab" data-toggle="tab" class="nav-link px-3 py-2 active label-font-size" id="general_tab"
|
||||||
aria-expanded="true">
|
aria-expanded="true">
|
||||||
<i class="mdi mdi-ticket-account"></i>
|
<i class="mdi mdi-ticket-account"></i>
|
||||||
<span class="d-none d-sm-inline-block ">General</span>
|
<span class="d-none d-sm-inline-block ">General</span>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
<li class="nav-item">
|
<li class="nav-item">
|
||||||
<a href="#reply-tab" data-toggle="tab" class="nav-link px-2 py-1 label-font-size" id="reply_tab"
|
<a href="#reply-tab" data-toggle="tab" class="nav-link px-3 py-2 label-font-size" id="reply_tab"
|
||||||
aria-expanded="false">
|
aria-expanded="false">
|
||||||
<i class="mdi mdi-message-processing"></i>
|
<i class="mdi mdi-message-processing"></i>
|
||||||
<span class="d-none d-sm-inline-block">Reply</span>
|
<span class="d-none d-sm-inline-block">Reply</span>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
<li class="nav-item">
|
<li class="nav-item">
|
||||||
<a href="#note-tab" data-toggle="tab" class="nav-link px-2 py-1 label-font-size" id="note_tab"
|
<a href="#note-tab" data-toggle="tab" class="nav-link px-3 py-2 label-font-size" id="note_tab"
|
||||||
aria-expanded="false">
|
aria-expanded="false">
|
||||||
<i class="mdi mdi-note-text"></i>
|
<i class="mdi mdi-note-text"></i>
|
||||||
<span class="d-none d-sm-inline-block">Notes</span>
|
<span class="d-none d-sm-inline-block">Notes</span>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
<li class="nav-item">
|
<li class="nav-item">
|
||||||
<a href="#history-tab" data-toggle="tab" class="nav-link px-2 py-1 label-font-size" id="history_tab"
|
<a href="#history-tab" data-toggle="tab" class="nav-link px-3 py-2 label-font-size" id="history_tab"
|
||||||
aria-expanded="false">
|
aria-expanded="false">
|
||||||
<i class="mdi mdi-history"></i>
|
<i class="mdi mdi-history"></i>
|
||||||
<span class="d-none d-sm-inline-block">History</span>
|
<span class="d-none d-sm-inline-block">History</span>
|
||||||
@ -56,7 +84,7 @@
|
|||||||
</li>
|
</li>
|
||||||
<?php if(in_array($ticket_data['ticket_type_id'], [1,2,3,4,5,6,7])){ ?>
|
<?php if(in_array($ticket_data['ticket_type_id'], [1,2,3,4,5,6,7])){ ?>
|
||||||
<li class="nav-item">
|
<li class="nav-item">
|
||||||
<a href="#autoQuery-tab" data-toggle="tab" class="nav-link px-2 py-1 label-font-size" id="auto_query_tab"
|
<a href="#autoQuery-tab" data-toggle="tab" class="nav-link px-3 py-2 label-font-size" id="auto_query_tab"
|
||||||
aria-expanded="false">
|
aria-expanded="false">
|
||||||
<i class="mdi mdi-robot mr-1"></i>
|
<i class="mdi mdi-robot mr-1"></i>
|
||||||
<span class="d-none d-sm-inline-block">Auto Query Content</span>
|
<span class="d-none d-sm-inline-block">Auto Query Content</span>
|
||||||
@ -64,7 +92,7 @@
|
|||||||
</li>
|
</li>
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
<li class="nav-item">
|
<li class="nav-item">
|
||||||
<a href="#uploads-tab" data-toggle="tab" class="nav-link px-2 py-1 label-font-size" id="uploads_tab"
|
<a href="#uploads-tab" data-toggle="tab" class="nav-link px-3 py-2 label-font-size" id="uploads_tab"
|
||||||
aria-expanded="false">
|
aria-expanded="false">
|
||||||
<i class="mdi mdi-file mr-1"></i>
|
<i class="mdi mdi-file mr-1"></i>
|
||||||
<span class="d-none d-sm-inline-block">Claim Files</span>
|
<span class="d-none d-sm-inline-block">Claim Files</span>
|
||||||
@ -72,7 +100,7 @@
|
|||||||
</li>
|
</li>
|
||||||
<?php if(in_array($ticket_data['ticket_type_id'], [1,2,3,4,5,6,7])){ ?>
|
<?php if(in_array($ticket_data['ticket_type_id'], [1,2,3,4,5,6,7])){ ?>
|
||||||
<li class="nav-item">
|
<li class="nav-item">
|
||||||
<a href="#viewpolicyterms-tab" data-toggle="tab" class="nav-link px-2 py-1 label-font-size" id="viewpolicyterms_tab"
|
<a href="#viewpolicyterms-tab" data-toggle="tab" class="nav-link px-3 py-2 label-font-size" id="viewpolicyterms_tab"
|
||||||
aria-expanded="false">
|
aria-expanded="false">
|
||||||
<i class="mdi mdi-eye mr-1"></i>
|
<i class="mdi mdi-eye mr-1"></i>
|
||||||
<span class="d-none d-sm-inline-block">View Policy Terms</span>
|
<span class="d-none d-sm-inline-block">View Policy Terms</span>
|
||||||
|
|||||||
@ -45,7 +45,7 @@ table.dataTable tbody td {
|
|||||||
<div class="card-body">
|
<div class="card-body">
|
||||||
<div class="row" style="padding-bottom: 10px;">
|
<div class="row" style="padding-bottom: 10px;">
|
||||||
<div class="col-6" style="align-self: center;">
|
<div class="col-6" style="align-self: center;">
|
||||||
<h4 style="position: relative;">Claim Feedback List </h4>
|
<h2 style="position: relative;">Claim Feedback List </h2>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@ -193,17 +193,17 @@
|
|||||||
<input type="text" readonly id="claim_status_for_template" class="form-control" />
|
<input type="text" readonly id="claim_status_for_template" class="form-control" />
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<div class="form-group col-md-6">
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="form-row">
|
|
||||||
<div class="form-group col-md-12">
|
|
||||||
<label for="template_subject">Subject</label>
|
<label for="template_subject">Subject</label>
|
||||||
<input type="text" id="template_subject" name="subject" class="form-control"
|
<input type="text" id="template_subject" name="subject" class="form-control"
|
||||||
placeholder="Subject" required>
|
placeholder="Subject" required>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
<div class="form-row">
|
<div class="form-row">
|
||||||
@ -264,7 +264,7 @@
|
|||||||
text: 'Add Template',
|
text: 'Add Template',
|
||||||
className: 'buttons-html5 addbtnStyle',
|
className: 'buttons-html5 addbtnStyle',
|
||||||
action: function(e, dt, node, config) {
|
action: function(e, dt, node, config) {
|
||||||
openModal()
|
openModal('new_mail_template')
|
||||||
}
|
}
|
||||||
}],
|
}],
|
||||||
language: {
|
language: {
|
||||||
@ -507,7 +507,7 @@
|
|||||||
if (res) {
|
if (res) {
|
||||||
if (res.status == true) {
|
if (res.status == true) {
|
||||||
// Open the modal
|
// Open the modal
|
||||||
openModal();
|
openModal('new_mail_template');
|
||||||
|
|
||||||
// Populate the form fields
|
// Populate the form fields
|
||||||
$('#template_subject').val(res.data.subject);
|
$('#template_subject').val(res.data.subject);
|
||||||
|
|||||||
@ -1,4 +1,5 @@
|
|||||||
<div class="row">
|
<div class="row">
|
||||||
|
<h3 class="ml-3">Claim Reports</h3>
|
||||||
<div class="col-xl-12">
|
<div class="col-xl-12">
|
||||||
<div id="accordion" class="mb-3">
|
<div id="accordion" class="mb-3">
|
||||||
<div class="card mb-1">
|
<div class="card mb-1">
|
||||||
|
|||||||
@ -9,19 +9,13 @@
|
|||||||
<div class="col-12" style="margin-top: -12px;">
|
<div class="col-12" style="margin-top: -12px;">
|
||||||
<div id="accordion" class="mb-3">
|
<div id="accordion" class="mb-3">
|
||||||
<div class="card mb-1">
|
<div class="card mb-1">
|
||||||
<h5 class="m-1">
|
<h2 class="m-3">
|
||||||
<br>
|
Claim Filter
|
||||||
<div class="row ml-4">
|
<a id="toggleIcon" class="text-dark float-right" data-toggle="collapse" href="#collapseOne"
|
||||||
<div class="col-md-6">
|
|
||||||
<h4 style="text-align: left;">Claim Filter</h4>
|
|
||||||
</div>
|
|
||||||
<div class="col-md-6">
|
|
||||||
<a style="text-align: right;" id="toggleIcon" class="text-dark float-right" data-toggle="collapse" href="#collapseOne"
|
|
||||||
aria-expanded="true">
|
aria-expanded="true">
|
||||||
<i id="icon" class="mdi mdi-chevron-down mr-1 text-primary" style="font-size: 28px;"></i>
|
<i id="icon" class="mdi mdi-chevron-down mr-1 text-primary" style="font-size: 28px;"></i>
|
||||||
</a></div>
|
</a>
|
||||||
</div>
|
</h2>
|
||||||
</h5>
|
|
||||||
<div id="collapseOne" class="collapse hide" aria-labelledby="headingOne" data-parent="#accordion">
|
<div id="collapseOne" class="collapse hide" aria-labelledby="headingOne" data-parent="#accordion">
|
||||||
<div class="card-body">
|
<div class="card-body">
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user