CHANGE_UI_Issues - VADIVEL J 2025-09-24
This commit is contained in:
parent
5a707d9722
commit
18c59da89b
@ -210,7 +210,7 @@
|
|||||||
$(document).ready(function() {
|
$(document).ready(function() {
|
||||||
|
|
||||||
$('#datatable-buttons').DataTable({
|
$('#datatable-buttons').DataTable({
|
||||||
dom: "<'d-flex justify-content-between align-items-center'<'datatable-search'f><'datatable-buttons'B>>" +
|
dom: "<'row'<'col-12 d-flex justify-content-between align-items-center'<'datatable-search dataTables_filter'f><'datatable-buttons dt-buttons'B>>>" +
|
||||||
"<'row'<'col-sm-12'tr>>" +
|
"<'row'<'col-sm-12'tr>>" +
|
||||||
"<'row'<'col-sm-5'i><'col-sm-7'p>>",
|
"<'row'<'col-sm-5'i><'col-sm-7'p>>",
|
||||||
buttons: [{
|
buttons: [{
|
||||||
|
|||||||
@ -70,7 +70,7 @@
|
|||||||
$(document).ready(function() {
|
$(document).ready(function() {
|
||||||
|
|
||||||
$('#tickets-table').DataTable({
|
$('#tickets-table').DataTable({
|
||||||
dom: "<'d-flex justify-content-between align-items-center'<'datatable-search'f><'datatable-buttons'B>>",
|
dom: "<'row'<'col-12 d-flex justify-content-between align-items-center'<'datatable-search dataTables_filter'f><'datatable-buttons dt-buttons'B>>>",
|
||||||
buttons: [{
|
buttons: [{
|
||||||
extend: 'csv',
|
extend: 'csv',
|
||||||
text: 'CSV',
|
text: 'CSV',
|
||||||
|
|||||||
@ -297,7 +297,7 @@ table.dataTable thead th {
|
|||||||
$(document).ready(function()
|
$(document).ready(function()
|
||||||
{
|
{
|
||||||
$('#tickets-table').DataTable({
|
$('#tickets-table').DataTable({
|
||||||
dom: "<'d-flex justify-content-between align-items-center'<'datatable-search'f><'datatable-buttons'B>>" +
|
dom: "<'row'<'col-12 d-flex justify-content-between align-items-center'<'datatable-search dataTables_filter'f><'datatable-buttons dt-buttons'B>>>" +
|
||||||
"<'row'<'col-sm-12'tr>>" +
|
"<'row'<'col-sm-12'tr>>" +
|
||||||
"<'row'<'col-sm-5'i><'col-sm-7'p>>",
|
"<'row'<'col-sm-5'i><'col-sm-7'p>>",
|
||||||
|
|
||||||
|
|||||||
@ -590,7 +590,7 @@
|
|||||||
$(document).ready(function() {
|
$(document).ready(function() {
|
||||||
|
|
||||||
$('#tickets-table').DataTable({
|
$('#tickets-table').DataTable({
|
||||||
dom: "<'d-flex justify-content-between align-items-center'<'datatable-search'f><'datatable-buttons'B>>" +
|
dom: "<'row'<'col-12 d-flex justify-content-between align-items-center'<'datatable-search dataTables_filter'f><'datatable-buttons dt-buttons'B>>>" +
|
||||||
"<'row'<'col-sm-12'tr>>" +
|
"<'row'<'col-sm-12'tr>>" +
|
||||||
"<'row'<'col-sm-5'i><'col-sm-7'p>>",
|
"<'row'<'col-sm-5'i><'col-sm-7'p>>",
|
||||||
buttons: [{
|
buttons: [{
|
||||||
|
|||||||
@ -461,7 +461,7 @@ $('body').on('click', '.reload', function() {
|
|||||||
$(document).ready(function() {
|
$(document).ready(function() {
|
||||||
|
|
||||||
$('#tickets-table').DataTable({
|
$('#tickets-table').DataTable({
|
||||||
dom: "<'d-flex justify-content-between align-items-center'<'datatable-search'f><'datatable-buttons'B>>" +
|
dom: "<'row'<'col-12 d-flex justify-content-between align-items-center'<'datatable-search dataTables_filter'f><'datatable-buttons dt-buttons'B>>>" +
|
||||||
"<'row'<'col-sm-12'tr>>" +
|
"<'row'<'col-sm-12'tr>>" +
|
||||||
"<'row'<'col-sm-5'i><'col-sm-7'p>>",
|
"<'row'<'col-sm-5'i><'col-sm-7'p>>",
|
||||||
"buttons": [{
|
"buttons": [{
|
||||||
|
|||||||
@ -93,9 +93,9 @@ $(document).ready(function () {
|
|||||||
if (ticketsTable.length) {
|
if (ticketsTable.length) {
|
||||||
var table = ticketsTable.DataTable({
|
var table = ticketsTable.DataTable({
|
||||||
scrollX: true,
|
scrollX: true,
|
||||||
dom: "<'row'<'col-sm-6'f><'col-sm-6 text-right'B>>" + // search left, buttons right
|
dom: "<'row'<'col-12 d-flex justify-content-between align-items-center'<'datatable-search dataTables_filter'f><'datatable-buttons dt-buttons'B>>>" +
|
||||||
"<'row'<'col-sm-12'tr>>" +
|
"<'row'<'col-sm-12'tr>>" +
|
||||||
"<'row'<'col-sm-3'i><'col-sm-2'l><'col-sm-7'p>>",
|
"<'row'<'col-sm-5'i><'col-sm-7'p>>",
|
||||||
language: {
|
language: {
|
||||||
search: "_INPUT_",
|
search: "_INPUT_",
|
||||||
searchPlaceholder: "Search..."
|
searchPlaceholder: "Search..."
|
||||||
|
|||||||
@ -342,7 +342,7 @@
|
|||||||
// for datatable
|
// for datatable
|
||||||
$(document).ready(function() {
|
$(document).ready(function() {
|
||||||
$('#hr_tickets_table').DataTable({
|
$('#hr_tickets_table').DataTable({
|
||||||
dom: "<'d-flex justify-content-between align-items-center'<'datatable-search'f><'datatable-buttons'B>>" +
|
dom: "<'row'<'col-12 d-flex justify-content-between align-items-center'<'datatable-search dataTables_filter'f><'datatable-buttons dt-buttons'B>>>" +
|
||||||
"<'row'<'col-sm-12'tr>>" +
|
"<'row'<'col-sm-12'tr>>" +
|
||||||
"<'row'<'col-sm-5'i><'col-sm-7'p>>",
|
"<'row'<'col-sm-5'i><'col-sm-7'p>>",
|
||||||
"buttons": [{
|
"buttons": [{
|
||||||
|
|||||||
@ -182,7 +182,7 @@
|
|||||||
$(document).ready(function() {
|
$(document).ready(function() {
|
||||||
|
|
||||||
$('#tickets-table').DataTable({
|
$('#tickets-table').DataTable({
|
||||||
dom: "<'d-flex justify-content-between align-items-center'<'datatable-search'f><'datatable-buttons'B>>" +
|
dom: "<'row'<'col-12 d-flex justify-content-between align-items-center'<'datatable-search dataTables_filter'f><'datatable-buttons dt-buttons'B>>>" +
|
||||||
"<'row'<'col-sm-12'tr>>" +
|
"<'row'<'col-sm-12'tr>>" +
|
||||||
"<'row'<'col-sm-5'i><'col-sm-7'p>>",
|
"<'row'<'col-sm-5'i><'col-sm-7'p>>",
|
||||||
buttons: [{
|
buttons: [{
|
||||||
|
|||||||
@ -4,64 +4,67 @@
|
|||||||
|
|
||||||
<div class="container-fluid-min">
|
<div class="container-fluid-min">
|
||||||
<div class="col-xl-12" id="outstanding_filter">
|
<div class="col-xl-12" id="outstanding_filter">
|
||||||
<div id="accordion" class="mb-3">
|
<div class="card-body">
|
||||||
<label id="filterAccordion" class="m-1 d-flex justify-content-between align-items-center">
|
<div id="accordion" class="mb-3">
|
||||||
<h4>Filters</h4>
|
<div class="card mb-1">
|
||||||
<a id="toggleIcon" class="text-dark float-right" data-toggle="collapse" href="#collapseOne"
|
<h4 class="m-1">
|
||||||
aria-expanded="true">
|
<span>Filter</span>
|
||||||
<i id="icon" class="mdi mdi-chevron-up mr-1 text-primary" style="font-size: 28px;"></i>
|
<a id="toggleIcon" class="text-dark float-right" data-toggle="collapse" href="#collapseOne"
|
||||||
</a>
|
aria-expanded="true">
|
||||||
</label>
|
<i id="icon" class="mdi mdi-chevron-down mr-1 text-primary" style="font-size: 28px;"></i>
|
||||||
<div class="card mb-1">
|
</a>
|
||||||
<div id="collapseOne" class="collapse show" aria-labelledby="headingOne" data-parent="#accordion">
|
</h4>
|
||||||
<div class="card-body">
|
<div id="collapseOne" class="collapse show" aria-labelledby="headingOne" data-parent="#accordion">
|
||||||
<!-- <div class="text-center"> -->
|
<div class="card-body">
|
||||||
<div class="form-row">
|
<!-- <div class="text-center"> -->
|
||||||
<div class="form-group col-md-4" id="date_div">
|
<div class="form-row">
|
||||||
<label>Date<span class="text-danger"></span></label>
|
<div class="form-group col-md-4" id="date_div">
|
||||||
<div class="input-icon">
|
<label>Date<span class="text-danger"></span></label>
|
||||||
<input type="text" id="reportrange" class="form-control" readonly style="caret-color: transparent;">
|
<div class="input-icon">
|
||||||
<i class="mdi mdi-calendar-blank-outline additional-icon"></i>
|
<input type="text" id="reportrange" class="form-control" readonly style="caret-color: transparent;">
|
||||||
|
<i class="mdi mdi-calendar-blank-outline additional-icon"></i>
|
||||||
|
</div>
|
||||||
|
<input type="hidden" id="startDate" value=<?= $default_start ?>>
|
||||||
|
<input type="hidden" id="endDate" value=<?= $default_end ?>>
|
||||||
</div>
|
</div>
|
||||||
<input type="hidden" id="startDate" value=<?= $default_start ?>>
|
|
||||||
<input type="hidden" id="endDate" value=<?= $default_end ?>>
|
|
||||||
|
<div class="form-group col-md-4">
|
||||||
|
<label>Category<span class="text-danger"> *</span></label> <br />
|
||||||
|
<select name="category" class="form-control" id="category" required>
|
||||||
|
<option value="">Select</option>
|
||||||
|
<?php foreach ($categories as $category => $key) : ?>
|
||||||
|
<option value="<?= $key ?>"><?= $category ?></option>
|
||||||
|
<?php endforeach ?>
|
||||||
|
</select>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
<div class="form-group col-md-4">
|
||||||
|
<label>Report Type<span class="text-danger"> *</span></label> <br />
|
||||||
|
<select class="form-control" id="report_type" required>
|
||||||
|
<option value="0">Select</option>
|
||||||
|
<?php foreach ($report_type as $reports => $key) : ?>
|
||||||
|
<option value="<?= $key ?>"><?= $reports ?></option>
|
||||||
|
<?php endforeach ?>
|
||||||
|
</select>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
<div class="row justify-content-end">
|
||||||
|
|
||||||
|
<div class="col-auto">
|
||||||
<div class="form-group col-md-4">
|
<a href="#" class="btn btn-primary waves-effect waves-light" id="get-report-page" onclick="fetchReportPage(event);">Submit</a>
|
||||||
<label>Category<span class="text-danger"> *</span></label> <br />
|
</div>
|
||||||
<select name="category" class="form-control" id="category" required>
|
|
||||||
<option value="">Select</option>
|
|
||||||
<?php foreach ($categories as $category => $key) : ?>
|
|
||||||
<option value="<?= $key ?>"><?= $category ?></option>
|
|
||||||
<?php endforeach ?>
|
|
||||||
</select>
|
|
||||||
</div>
|
</div>
|
||||||
|
<!-- </div> -->
|
||||||
|
|
||||||
<div class="form-group col-md-4">
|
|
||||||
<label>Report Type<span class="text-danger"> *</span></label> <br />
|
|
||||||
<select class="form-control" id="report_type" required>
|
|
||||||
<option value="0">Select</option>
|
|
||||||
<?php foreach ($report_type as $reports => $key) : ?>
|
|
||||||
<option value="<?= $key ?>"><?= $reports ?></option>
|
|
||||||
<?php endforeach ?>
|
|
||||||
</select>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<div class="row justify-content-end">
|
|
||||||
|
|
||||||
<div class="col-auto">
|
|
||||||
<a href="#" class="btn btn-primary waves-effect waves-light" id="get-report-page" onclick="fetchReportPage(event);">Submit</a>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<!-- </div> -->
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<div id="report"></div>
|
<div id="report"></div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@ -175,7 +175,7 @@
|
|||||||
$(document).ready(function(){
|
$(document).ready(function(){
|
||||||
|
|
||||||
$('#tickets-table').DataTable({
|
$('#tickets-table').DataTable({
|
||||||
dom: "<'d-flex justify-content-between align-items-center'<'datatable-search'f><'datatable-buttons'B>>" +
|
dom: "<'row'<'col-12 d-flex justify-content-between align-items-center'<'datatable-search dataTables_filter'f><'datatable-buttons dt-buttons'B>>>" +
|
||||||
"<'row'<'col-sm-12'tr>>" +
|
"<'row'<'col-sm-12'tr>>" +
|
||||||
"<'row'<'col-sm-5'i><'col-sm-7'p>>" ,
|
"<'row'<'col-sm-5'i><'col-sm-7'p>>" ,
|
||||||
buttons: [
|
buttons: [
|
||||||
|
|||||||
@ -1555,6 +1555,16 @@
|
|||||||
margin-left: auto;
|
margin-left: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Fix DataTables buttons alignment inside card-body */
|
||||||
|
.card-body .card-body .dt-buttons
|
||||||
|
,
|
||||||
|
.card-body .card-body .datatable-buttons {
|
||||||
|
margin-right: 0 !important;
|
||||||
|
padding-right: 2.25rem !important; /* match card-body padding */
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
|
|||||||
@ -7,130 +7,127 @@
|
|||||||
<div class="container-fluid-min">
|
<div class="container-fluid-min">
|
||||||
<div class="row" id="lead_filter_div">
|
<div class="row" id="lead_filter_div">
|
||||||
<div class="col-12" style="margin-top: -12px;">
|
<div class="col-12" style="margin-top: -12px;">
|
||||||
<div id="accordion" class="mb-3">
|
<div class="card-body">
|
||||||
<div class="card mb-1">
|
<div id="accordion" class="mb-3">
|
||||||
<h5 class="m-1">
|
<div class="card mb-1">
|
||||||
<div class="row">
|
<h4 class="m-1">
|
||||||
<div class="col-md-6" style="position: relative;left: 17px;">
|
<span>Filter</span>
|
||||||
<h4 style="text-align: left;">Filter</h4>
|
<a id="toggleIcon" class="text-dark float-right" data-toggle="collapse" href="#collapseOne"
|
||||||
</div>
|
aria-expanded="true">
|
||||||
<div class="col-md-6">
|
<i id="icon" class="mdi mdi-chevron-down mr-1 text-primary" style="font-size: 28px;"></i>
|
||||||
<a style="text-align: right;" id="toggleIcon" class="text-dark float-right"
|
</a>
|
||||||
data-toggle="collapse" href="#collapseOne" aria-expanded="true">
|
</h4>
|
||||||
<i id="icon" class="mdi mdi-chevron-down mr-1 text-primary"
|
|
||||||
style="font-size: 28px;"></i>
|
|
||||||
</a>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</h5>
|
|
||||||
<div id="collapseOne" class="collapse hide" aria-labelledby="headingOne" data-parent="#accordion">
|
|
||||||
<div class="card-body">
|
|
||||||
<div class="form-group">
|
|
||||||
<div class="form-row">
|
|
||||||
|
|
||||||
<div class="form-group col-md-3">
|
<div id="collapseOne" class="collapse hide" aria-labelledby="headingOne" data-parent="#accordion">
|
||||||
<label for="filter_issuer_type"> Issuer Type <span
|
<div class="card-body">
|
||||||
class="text-danger"></span></label>
|
<div class="form-group">
|
||||||
<select class="form-control" id="filter_issuer_type" name="filter_issuer_type">
|
<div class="form-row">
|
||||||
<option value="0">Select</option>
|
|
||||||
<?php
|
<div class="form-group col-md-3">
|
||||||
if (isset($issuer) && count($issuer)) {
|
<label for="filter_issuer_type"> Issuer Type <span
|
||||||
foreach ($issuer as $key => $value) {
|
class="text-danger"></span></label>
|
||||||
echo "<option value='" . $key . "'>" . $value . "</option>";
|
<select class="form-control" id="filter_issuer_type" name="filter_issuer_type">
|
||||||
|
<option value="0">Select</option>
|
||||||
|
<?php
|
||||||
|
if (isset($issuer) && count($issuer)) {
|
||||||
|
foreach ($issuer as $key => $value) {
|
||||||
|
echo "<option value='" . $key . "'>" . $value . "</option>";
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
?>
|
||||||
?>
|
</select>
|
||||||
</select>
|
</div>
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="form-group col-md-3">
|
<div class="form-group col-md-3">
|
||||||
<label for="filter_lead_type"> Lead Type <span class="text-danger"></span></label>
|
<label for="filter_lead_type"> Lead Type <span class="text-danger"></span></label>
|
||||||
<select class="form-control" id="filter_lead_type" name="filter_lead_type">
|
<select class="form-control" id="filter_lead_type" name="filter_lead_type">
|
||||||
<option value="0">Select</option>
|
<option value="0">Select</option>
|
||||||
<?php
|
<?php
|
||||||
if (isset($lead_type) && count($lead_type)) {
|
if (isset($lead_type) && count($lead_type)) {
|
||||||
foreach ($lead_type as $key => $value) {
|
foreach ($lead_type as $key => $value) {
|
||||||
echo "<option value='" . $key . "'>" . $value . "</option>";
|
echo "<option value='" . $key . "'>" . $value . "</option>";
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
?>
|
||||||
?>
|
</select>
|
||||||
</select>
|
</div>
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="form-group col-md-3">
|
<div class="form-group col-md-3">
|
||||||
<label for="filter_client_type"> Client Type <span
|
<label for="filter_client_type"> Client Type <span
|
||||||
class="text-danger"></span></label>
|
class="text-danger"></span></label>
|
||||||
<select class="form-control" id="filter_client_type" name="filter_client_type">
|
<select class="form-control" id="filter_client_type" name="filter_client_type">
|
||||||
<option value="0">Select</option>
|
<option value="0">Select</option>
|
||||||
<?php
|
<?php
|
||||||
if (isset($client_type) && count($client_type)) {
|
if (isset($client_type) && count($client_type)) {
|
||||||
foreach ($client_type as $key => $value) {
|
foreach ($client_type as $key => $value) {
|
||||||
echo "<option value='" . $key . "'>" . $value . "</option>";
|
echo "<option value='" . $key . "'>" . $value . "</option>";
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
?>
|
||||||
?>
|
</select>
|
||||||
</select>
|
</div>
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="form-group col-md-3">
|
<div class="form-group col-md-3">
|
||||||
<label for="filter_policy_type"> Policy Type <span
|
<label for="filter_policy_type"> Policy Type <span
|
||||||
class="text-danger"></span></label>
|
class="text-danger"></span></label>
|
||||||
<select class="form-control" id="filter_policy_type" name="filter_policy_type">
|
<select class="form-control" id="filter_policy_type" name="filter_policy_type">
|
||||||
<option value="0">Select</option>
|
<option value="0">Select</option>
|
||||||
<?php
|
<?php
|
||||||
if (isset($policy_type) && count($policy_type)) {
|
if (isset($policy_type) && count($policy_type)) {
|
||||||
foreach ($policy_type as $key => $value) {
|
foreach ($policy_type as $key => $value) {
|
||||||
echo "<option value='" . $value['id'] . "'>" . $value['policy_type'] . "</option>";
|
echo "<option value='" . $value['id'] . "'>" . $value['policy_type'] . "</option>";
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
?>
|
||||||
?>
|
</select>
|
||||||
</select>
|
</div>
|
||||||
</div>
|
<div class="form-group col-md-3">
|
||||||
<div class="form-group col-md-3">
|
<label for="filter_client_id">Client<span class="text-danger"></span></label>
|
||||||
<label for="filter_client_id">Client<span class="text-danger"></span></label>
|
<select class="form-control" id="filter_client_id" name="filter_client_id">
|
||||||
<select class="form-control" id="filter_client_id" name="filter_client_id">
|
<option value="0">Select</option>
|
||||||
<option value="0">Select</option>
|
</select>
|
||||||
</select>
|
</div>
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="form-group col-md-3">
|
<div class="form-group col-md-3">
|
||||||
<label for="filter_client_branch_id">Client Branch<span
|
<label for="filter_client_branch_id">Client Branch<span
|
||||||
class="text-danger"></span></label>
|
class="text-danger"></span></label>
|
||||||
<select class="form-control" id="filter_client_branch_id"
|
<select class="form-control" id="filter_client_branch_id"
|
||||||
name="filter_client_branch_id">
|
name="filter_client_branch_id">
|
||||||
<option value="0">Select</option>
|
<option value="0">Select</option>
|
||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="form-group col-md-3">
|
<div class="form-group col-md-3">
|
||||||
<label for="filter_lead_status">Status<span class="text-danger"></span></label>
|
<label for="filter_lead_status">Status<span class="text-danger"></span></label>
|
||||||
<select class="form-control" id="filter_lead_status" name="filter_lead_status">
|
<select class="form-control" id="filter_lead_status" name="filter_lead_status">
|
||||||
<option value="0">Select</option>
|
<option value="0">Select</option>
|
||||||
<?php
|
<?php
|
||||||
if (isset($lead_status) && count($lead_status)) {
|
if (isset($lead_status) && count($lead_status)) {
|
||||||
foreach ($lead_status as $key => $value) {
|
foreach ($lead_status as $key => $value) {
|
||||||
echo "<option value=" . $key . ">" . $value . "</option>";
|
echo "<option value=" . $key . ">" . $value . "</option>";
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
?>
|
||||||
?>
|
</select>
|
||||||
</select>
|
</div>
|
||||||
</div>
|
|
||||||
|
<div class="form-group col-md-12 text-right m-b-0" style="margin-bottom: -15px;">
|
||||||
|
<a href="<?= base_url("/leads/list"); ?>" class="btn btn-secondary"
|
||||||
|
id="clear-filters">Clear</a>
|
||||||
|
<a class="btn btn-primary" id="get-emp-list"
|
||||||
|
onclick="fetchTicketListData();">Submit</a>
|
||||||
|
</div>
|
||||||
|
|
||||||
<div class="form-group col-md-12 text-right m-b-0" style="margin-bottom: -15px;">
|
|
||||||
<a href="<?= base_url("/leads/list"); ?>" class="btn btn-secondary"
|
|
||||||
id="clear-filters">Clear</a>
|
|
||||||
<a class="btn btn-primary" id="get-emp-list"
|
|
||||||
onclick="fetchTicketListData();">Submit</a>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
|
||||||
|
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|||||||
@ -8,7 +8,7 @@
|
|||||||
padding: 4px 4px !important;
|
padding: 4px 4px !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
.dataTables_filter {
|
.dataTables_filter {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
@ -25,21 +25,22 @@
|
|||||||
|
|
||||||
<div class="container-fluid-min">
|
<div class="container-fluid-min">
|
||||||
<div class="col-12" id="outstanding_filter">
|
<div class="col-12" id="outstanding_filter">
|
||||||
<div id="accordion" class="mb-3">
|
<div class="card-body">
|
||||||
<label id="filterAccordion" class="m-1 d-flex justify-content-between align-items-center">
|
<div id="accordion" class="mb-3">
|
||||||
<h4>Filters</h4>
|
<div class="card mb-1">
|
||||||
<a id="toggleIcon" class="text-dark float-right" data-toggle="collapse" href="#collapseOne"
|
<h4 class="m-1">
|
||||||
aria-expanded="true">
|
<span>Filter</span>
|
||||||
<i id="icon" class="mdi mdi-chevron-up mr-1 text-primary" style="font-size: 28px;"></i>
|
<a id="toggleIcon" class="text-dark float-right" data-toggle="collapse" href="#collapseOne"
|
||||||
</a>
|
aria-expanded="true">
|
||||||
</label>
|
<i id="icon" class="mdi mdi-chevron-down mr-1 text-primary" style="font-size: 28px;"></i>
|
||||||
<div class="card mb-1">
|
</a>
|
||||||
<div id="collapseOne" class="collapse show" aria-labelledby="headingOne" data-parent="#accordion">
|
</h4>
|
||||||
<div class="card-body">
|
<div id="collapseOne" class="collapse show" aria-labelledby="headingOne" data-parent="#accordion">
|
||||||
<div class="form-group">
|
<div class="card-body">
|
||||||
<div class="form-row">
|
<div class="form-group">
|
||||||
|
<div class="form-row">
|
||||||
|
|
||||||
<!-- <div class="form-group col-md-3">
|
<!-- <div class="form-group col-md-3">
|
||||||
<label for="client_branch">Client<span class="text-danger"></span></label>
|
<label for="client_branch">Client<span class="text-danger"></span></label>
|
||||||
<select class="form-control" id="client_id" name="client_id">
|
<select class="form-control" id="client_id" name="client_id">
|
||||||
<option value="0">Select Client</option>
|
<option value="0">Select Client</option>
|
||||||
@ -53,33 +54,33 @@
|
|||||||
</select>
|
</select>
|
||||||
</div> -->
|
</div> -->
|
||||||
|
|
||||||
<div class="form-group col-md-4">
|
<div class="form-group col-md-4">
|
||||||
<label for="addon_policy"> Insurer <span id="base_danger"
|
<label for="addon_policy"> Insurer <span id="base_danger"
|
||||||
class="text-danger"></span></label>
|
class="text-danger"></span></label>
|
||||||
<select class="form-control" id="insurer_id" name="insurer_id">
|
<select class="form-control" id="insurer_id" name="insurer_id">
|
||||||
<option value="0" selected>Select Insurer</option>
|
<option value="0" selected>Select Insurer</option>
|
||||||
<?php if (isset($insurer) && count($insurer)) { ?>
|
<?php if (isset($insurer) && count($insurer)) { ?>
|
||||||
<?php foreach ($insurer as $value) { ?>
|
<?php foreach ($insurer as $value) { ?>
|
||||||
<option value="<?= $value['id'] ?>"><?= $value['name'] ?></option>
|
<option value="<?= $value['id'] ?>"><?= $value['name'] ?></option>
|
||||||
|
<?php } ?>
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
<?php } ?>
|
</select>
|
||||||
</select>
|
</div>
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="form-group col-md-4">
|
<div class="form-group col-md-4">
|
||||||
<label for="addon_policy"> Insurer Branch<span id="base_danger"
|
<label for="addon_policy"> Insurer Branch<span id="base_danger"
|
||||||
class="text-danger"></span></label>
|
class="text-danger"></span></label>
|
||||||
<select class="form-control" id="insurer_id" name="insurer_id">
|
<select class="form-control" id="insurer_id" name="insurer_id">
|
||||||
<option value="0" selected>Select Insurer Branch</option>
|
<option value="0" selected>Select Insurer Branch</option>
|
||||||
<?php if (isset($insurer) && count($insurer)) { ?>
|
<?php if (isset($insurer) && count($insurer)) { ?>
|
||||||
<?php foreach ($insurer as $value) { ?>
|
<?php foreach ($insurer as $value) { ?>
|
||||||
<option value="<?= $value['id'] ?>"><?= $value['name'] ?></option>
|
<option value="<?= $value['id'] ?>"><?= $value['name'] ?></option>
|
||||||
|
<?php } ?>
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
<?php } ?>
|
</select>
|
||||||
</select>
|
</div>
|
||||||
</div>
|
|
||||||
|
|
||||||
<!-- <div class="form-group col-md-3">
|
<!-- <div class="form-group col-md-3">
|
||||||
<label for="email"> Policy Type <span class="text-danger"></span></label>
|
<label for="email"> Policy Type <span class="text-danger"></span></label>
|
||||||
<select class="form-control" id="policy_type_id" name="policy_type_id">
|
<select class="form-control" id="policy_type_id" name="policy_type_id">
|
||||||
<option value="0">Select Policy Type</option>
|
<option value="0">Select Policy Type</option>
|
||||||
@ -93,7 +94,7 @@
|
|||||||
</select>
|
</select>
|
||||||
</div> -->
|
</div> -->
|
||||||
|
|
||||||
<!-- <div class="form-group col-md-3">
|
<!-- <div class="form-group col-md-3">
|
||||||
<label for="client_branch">Issuer<span class="text-danger">*</span></label>
|
<label for="client_branch">Issuer<span class="text-danger">*</span></label>
|
||||||
<select class="form-control" id="issuer" name="issuer" required>
|
<select class="form-control" id="issuer" name="issuer" required>
|
||||||
<option value="0">Select Issure</option>
|
<option value="0">Select Issure</option>
|
||||||
@ -107,11 +108,11 @@
|
|||||||
</select>
|
</select>
|
||||||
</div> -->
|
</div> -->
|
||||||
|
|
||||||
<!-- </div>
|
<!-- </div>
|
||||||
|
|
||||||
<div class="form-row"> -->
|
<div class="form-row"> -->
|
||||||
|
|
||||||
<!-- <div class="form-group col-md-3">
|
<!-- <div class="form-group col-md-3">
|
||||||
<label>Date Type<span class="text-danger"></span></label>
|
<label>Date Type<span class="text-danger"></span></label>
|
||||||
<select class="form-control" id="date_type" name="date_type"
|
<select class="form-control" id="date_type" name="date_type"
|
||||||
onchange="hideDateField()">
|
onchange="hideDateField()">
|
||||||
@ -126,13 +127,13 @@
|
|||||||
</select>
|
</select>
|
||||||
</div> -->
|
</div> -->
|
||||||
|
|
||||||
<div class="form-group col-md-4" style="display: true;" id="date_div">
|
<div class="form-group col-md-4" style="display: true;" id="date_div">
|
||||||
<label>Statement Month<span class="text-danger"></span></label>
|
<label>Statement Month<span class="text-danger"></span></label>
|
||||||
<div class="input-icon">
|
<div class="input-icon">
|
||||||
<input type="text" id="reportrange" class="form-control" readonly style="caret-color: transparent;">
|
<input type="text" id="reportrange" class="form-control" readonly style="caret-color: transparent;">
|
||||||
<i class="mdi mdi-calendar-blank-outline additional-icon"></i>
|
<i class="mdi mdi-calendar-blank-outline additional-icon"></i>
|
||||||
</div>
|
</div>
|
||||||
<!--
|
<!--
|
||||||
codeword : ***1***
|
codeword : ***1***
|
||||||
if you cross check means also uncomment "star2star" (***2***)
|
if you cross check means also uncomment "star2star" (***2***)
|
||||||
<div id="reportrange" class="form-control"
|
<div id="reportrange" class="form-control"
|
||||||
@ -140,18 +141,19 @@
|
|||||||
<i class="mdi mdi-calendar-blank"></i>
|
<i class="mdi mdi-calendar-blank"></i>
|
||||||
<span></span> <i class="mdi mdi-menu-down"></i>
|
<span></span> <i class="mdi mdi-menu-down"></i>
|
||||||
</div> -->
|
</div> -->
|
||||||
<input type="hidden" id="startDate">
|
<input type="hidden" id="startDate">
|
||||||
<input type="hidden" id="endDate">
|
<input type="hidden" id="endDate">
|
||||||
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
<div class="form-group text-right m-b-0">
|
||||||
|
<a href="<?= base_url("/policy_tranction/report/report-outstanding-list"); ?>"
|
||||||
<div class="form-group text-right m-b-0">
|
class="btn btn-secondary" id="clear-filters">Clear</a>
|
||||||
<a href="<?= base_url("/policy_tranction/report/report-outstanding-list"); ?>"
|
<a href="<?= base_url("/policy_tranction/report/report-outstanding-list"); ?>"
|
||||||
class="btn btn-secondary" id="clear-filters">Clear</a>
|
class="btn btn-primary" id="get-emp-list"
|
||||||
<a href="<?= base_url("/policy_tranction/report/report-outstanding-list"); ?>"
|
onclick="fetchEmpolyeeList(event);">Submit</a>
|
||||||
class="btn btn-primary" id="get-emp-list"
|
</div>
|
||||||
onclick="fetchEmpolyeeList(event);">Submit</a>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@ -13,7 +13,7 @@ table.dataTable thead th {
|
|||||||
padding: 4px 4px !important;
|
padding: 4px 4px !important;
|
||||||
} */
|
} */
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
.dataTables_filter {
|
.dataTables_filter {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
@ -168,127 +168,129 @@ table.dataTable thead th {
|
|||||||
|
|
||||||
<div class="container-fluid-min">
|
<div class="container-fluid-min">
|
||||||
<div class="col-12" id="endorsement_filter">
|
<div class="col-12" id="endorsement_filter">
|
||||||
<div id="accordion" class="mb-3">
|
<div class="card-body">
|
||||||
|
<div id="accordion" class="mb-3">
|
||||||
|
<div class="card mb-1">
|
||||||
|
<h4 class="m-1">
|
||||||
|
<span>Filter</span>
|
||||||
|
<a id="toggleIcon" class="text-dark float-right" data-toggle="collapse" href="#collapseOne"
|
||||||
|
aria-expanded="true">
|
||||||
|
<i id="icon" class="mdi mdi-chevron-down mr-1 text-primary" style="font-size: 28px;"></i>
|
||||||
|
</a>
|
||||||
|
</h4>
|
||||||
|
<div id="collapseOne" class="collapse show" aria-labelledby="headingOne" data-parent="#accordion">
|
||||||
|
<div class="card-body">
|
||||||
|
<div class="form-group">
|
||||||
|
<div class="form-row">
|
||||||
|
|
||||||
<label id="filterAccordion" class="m-1 d-flex justify-content-between align-items-center">
|
<div class="form-group col-md-3">
|
||||||
<span class="font-color-black ml-2">Filters</span>
|
<label for="client_branch">Client<span class="text-danger"></span></label>
|
||||||
<a id="toggleIcon" class="text-dark float-right" data-toggle="collapse" href="#collapseOne"
|
<select class="form-control" id="client_id_for_search" name="client_id">
|
||||||
aria-expanded="true">
|
<option value="0">Select Client</option>
|
||||||
<i id="icon" class="mdi mdi-chevron-down mr-1 text-primary" style="font-size: 28px;"></i>
|
<?php
|
||||||
</a>
|
if (isset($client) && count($client)) {
|
||||||
</label>
|
foreach ($client as $key => $value) {
|
||||||
<div class="card mb-1">
|
echo "<option value='" . $value['id'] . "'>" . $value['client_name'] . "</option>";
|
||||||
<div id="collapseOne" class="collapse show" aria-labelledby="headingOne" data-parent="#accordion">
|
}
|
||||||
<div class="card-body">
|
|
||||||
<div class="form-group">
|
|
||||||
<div class="form-row">
|
|
||||||
|
|
||||||
<div class="form-group col-md-3">
|
|
||||||
<label for="client_branch">Client<span class="text-danger"></span></label>
|
|
||||||
<select class="form-control" id="client_id_for_search" name="client_id">
|
|
||||||
<option value="0">Select Client</option>
|
|
||||||
<?php
|
|
||||||
if (isset($client) && count($client)) {
|
|
||||||
foreach ($client as $key => $value) {
|
|
||||||
echo "<option value='" . $value['id'] . "'>" . $value['client_name'] . "</option>";
|
|
||||||
}
|
}
|
||||||
}
|
?>
|
||||||
?>
|
</select>
|
||||||
</select>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="form-group col-md-3">
|
|
||||||
<label for="addon_policy"> Insurer <span id="base_danger" class="text-danger"></span></label>
|
|
||||||
<select class="form-control" id="insurer_id_for_search" name="insurer_id">
|
|
||||||
<option value="0" selected>Select Insurer</option>
|
|
||||||
<?php foreach ($insurer as $value) { ?>
|
|
||||||
<option value="<?= $value['id'] ?>"><?= $value['name'] ?></option>
|
|
||||||
<?php } ?>
|
|
||||||
</select>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="form-group col-md-3">
|
|
||||||
<label for="email"> Policy Type <span class="text-danger"></span></label>
|
|
||||||
<select class="form-control" id="policy_type_for_search" name="policy_type_id">
|
|
||||||
<option value="0">Select Policy Type</option>
|
|
||||||
<?php
|
|
||||||
if (isset($policy_types) && count($policy_types)) {
|
|
||||||
foreach ($policy_types as $key => $value) {
|
|
||||||
echo "<option value='" . $value['id'] . "'>" . $value['policy_type'] . "</option>";
|
|
||||||
}
|
|
||||||
}
|
|
||||||
?>
|
|
||||||
</select>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="form-group col-md-3">
|
|
||||||
<label for="client_branch">Issuer<span class="text-danger">*</span></label>
|
|
||||||
<select class="form-control" id="issuer_for_search" name="issuer" required>
|
|
||||||
<option value="0">Select Issure</option>
|
|
||||||
<?php
|
|
||||||
if (isset($issuer) && count($issuer)) {
|
|
||||||
foreach ($issuer as $key => $value) {
|
|
||||||
echo "<option value=" . $key . ">" . $value . "</option>";
|
|
||||||
}
|
|
||||||
}
|
|
||||||
?>
|
|
||||||
</select>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="form-row">
|
|
||||||
|
|
||||||
<div class="form-group col-md-3">
|
|
||||||
<label for="email"> Status <span class="text-danger"></span></label>
|
|
||||||
<select class="form-control" id="policy_status_for_search" name="policy_type_id">
|
|
||||||
<option value="0">Select Status</option>
|
|
||||||
<?php
|
|
||||||
if (isset($policy_status) && count($policy_status)) {
|
|
||||||
foreach ($policy_status as $key => $value) {
|
|
||||||
echo "<option value='" . $key . "'>" . $value . "</option>";
|
|
||||||
}
|
|
||||||
}
|
|
||||||
?>
|
|
||||||
</select>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="form-group col-md-3">
|
|
||||||
<label>Date Type<span class="text-danger"></span></label>
|
|
||||||
<select class="form-control" id="date_type" name="date_type" onchange="hideDateField()">
|
|
||||||
<option value="0">Select Date Type</option>
|
|
||||||
<?php
|
|
||||||
if (isset($date_type) && count($date_type)) {
|
|
||||||
foreach ($date_type as $key => $value) {
|
|
||||||
echo "<option value='" . $key . "'>" . $value . "</option>";
|
|
||||||
}
|
|
||||||
}
|
|
||||||
?>
|
|
||||||
</select>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="form-group col-md-3" style="display: none;" id="date_div">
|
|
||||||
<label>Date<span class="text-danger"></span></label>
|
|
||||||
<div id="reportrange" class="form-control" style="background: #fff; cursor: pointer; padding: 5px 10px; border: 1px solid #ccc; width: 100%">
|
|
||||||
<i class="mdi mdi-calendar-blank"></i>
|
|
||||||
<span></span> <i class="mdi mdi-menu-down"></i>
|
|
||||||
</div>
|
</div>
|
||||||
<input type="hidden" id="startDate">
|
|
||||||
<input type="hidden" id="endDate">
|
<div class="form-group col-md-3">
|
||||||
|
<label for="addon_policy"> Insurer <span id="base_danger" class="text-danger"></span></label>
|
||||||
|
<select class="form-control" id="insurer_id_for_search" name="insurer_id">
|
||||||
|
<option value="0" selected>Select Insurer</option>
|
||||||
|
<?php foreach ($insurer as $value) { ?>
|
||||||
|
<option value="<?= $value['id'] ?>"><?= $value['name'] ?></option>
|
||||||
|
<?php } ?>
|
||||||
|
</select>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="form-group col-md-3">
|
||||||
|
<label for="email"> Policy Type <span class="text-danger"></span></label>
|
||||||
|
<select class="form-control" id="policy_type_for_search" name="policy_type_id">
|
||||||
|
<option value="0">Select Policy Type</option>
|
||||||
|
<?php
|
||||||
|
if (isset($policy_types) && count($policy_types)) {
|
||||||
|
foreach ($policy_types as $key => $value) {
|
||||||
|
echo "<option value='" . $value['id'] . "'>" . $value['policy_type'] . "</option>";
|
||||||
|
}
|
||||||
|
}
|
||||||
|
?>
|
||||||
|
</select>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="form-group col-md-3">
|
||||||
|
<label for="client_branch">Issuer<span class="text-danger">*</span></label>
|
||||||
|
<select class="form-control" id="issuer_for_search" name="issuer" required>
|
||||||
|
<option value="0">Select Issure</option>
|
||||||
|
<?php
|
||||||
|
if (isset($issuer) && count($issuer)) {
|
||||||
|
foreach ($issuer as $key => $value) {
|
||||||
|
echo "<option value=" . $key . ">" . $value . "</option>";
|
||||||
|
}
|
||||||
|
}
|
||||||
|
?>
|
||||||
|
</select>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="form-row">
|
||||||
|
|
||||||
|
<div class="form-group col-md-3">
|
||||||
|
<label for="email"> Status <span class="text-danger"></span></label>
|
||||||
|
<select class="form-control" id="policy_status_for_search" name="policy_type_id">
|
||||||
|
<option value="0">Select Status</option>
|
||||||
|
<?php
|
||||||
|
if (isset($policy_status) && count($policy_status)) {
|
||||||
|
foreach ($policy_status as $key => $value) {
|
||||||
|
echo "<option value='" . $key . "'>" . $value . "</option>";
|
||||||
|
}
|
||||||
|
}
|
||||||
|
?>
|
||||||
|
</select>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="form-group col-md-3">
|
||||||
|
<label>Date Type<span class="text-danger"></span></label>
|
||||||
|
<select class="form-control" id="date_type" name="date_type" onchange="hideDateField()">
|
||||||
|
<option value="0">Select Date Type</option>
|
||||||
|
<?php
|
||||||
|
if (isset($date_type) && count($date_type)) {
|
||||||
|
foreach ($date_type as $key => $value) {
|
||||||
|
echo "<option value='" . $key . "'>" . $value . "</option>";
|
||||||
|
}
|
||||||
|
}
|
||||||
|
?>
|
||||||
|
</select>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="form-group col-md-3" style="display: none;" id="date_div">
|
||||||
|
<label>Date<span class="text-danger"></span></label>
|
||||||
|
<div id="reportrange" class="form-control" style="background: #fff; cursor: pointer; padding: 5px 10px; border: 1px solid #ccc; width: 100%">
|
||||||
|
<i class="mdi mdi-calendar-blank"></i>
|
||||||
|
<span></span> <i class="mdi mdi-menu-down"></i>
|
||||||
|
</div>
|
||||||
|
<input type="hidden" id="startDate">
|
||||||
|
<input type="hidden" id="endDate">
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="form-group text-right m-b-0">
|
||||||
|
<a href="<?= base_url("/policy_tranction/endorsement/list"); ?>" class="btn btn-secondary" id="clear-filters">Clear</a>
|
||||||
|
<a href="<?= base_url("/policy_tranction/endorsement/list"); ?>" class="btn btn-primary" id="get-emp-list" onclick="fetchEmpolyeeList(event);">Submit</a>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="form-group text-right m-b-0">
|
|
||||||
<a href="<?= base_url("/policy_tranction/endorsement/list"); ?>" class="btn btn-secondary" id="clear-filters">Clear</a>
|
|
||||||
<a href="<?= base_url("/policy_tranction/endorsement/list"); ?>" class="btn btn-primary" id="get-emp-list" onclick="fetchEmpolyeeList(event);">Submit</a>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
|
||||||
|
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="col-12" id="endorsement_list">
|
<div class="col-12" id="endorsement_list">
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
@ -219,7 +219,7 @@
|
|||||||
$(document).ready(function() {
|
$(document).ready(function() {
|
||||||
|
|
||||||
$('#tickets-table').DataTable({
|
$('#tickets-table').DataTable({
|
||||||
dom: "<'d-flex justify-content-between align-items-center'<'datatable-search'f><'datatable-buttons'B>>" +
|
dom: "<'row'<'col-12 d-flex justify-content-between align-items-center'<'datatable-search dataTables_filter'f><'datatable-buttons dt-buttons'B>>>" +
|
||||||
"<'row'<'col-sm-12'tr>>" +
|
"<'row'<'col-sm-12'tr>>" +
|
||||||
"<'row'<'col-sm-5'i><'col-sm-7'p>>",
|
"<'row'<'col-sm-5'i><'col-sm-7'p>>",
|
||||||
buttons: [{
|
buttons: [{
|
||||||
|
|||||||
@ -5,140 +5,143 @@
|
|||||||
|
|
||||||
<div class="container-fluid-min">
|
<div class="container-fluid-min">
|
||||||
<div class="col-12" id="bds_filter">
|
<div class="col-12" id="bds_filter">
|
||||||
<div id="accordion" class="mb-3">
|
<div class="card-body">
|
||||||
<label id="filterAccordion" class="m-1 d-flex justify-content-between align-items-center">
|
<div id="accordion" class="mb-3">
|
||||||
<span class="font-color-black">Filter</span>
|
|
||||||
<a id="toggleIcon" class="text-dark float-right" data-toggle="collapse" href="#collapseOne"
|
|
||||||
aria-expanded="true">
|
|
||||||
<i id="icon" class="mdi mdi-chevron-up mr-1 text-primary" style="font-size: 28px;"></i>
|
|
||||||
</a>
|
|
||||||
</label>
|
|
||||||
<div class="card mb-1">
|
|
||||||
<div id="collapseOne" class="collapse show" aria-labelledby="headingOne" data-parent="#accordion">
|
|
||||||
<div class="card-body">
|
|
||||||
<div class="form-group">
|
|
||||||
<div class="form-row">
|
|
||||||
|
|
||||||
<div class="form-group col-md-3">
|
<div class="card mb-1">
|
||||||
<label for="client_branch">Client<span class="text-danger"></span></label>
|
<h4 class="m-1">
|
||||||
<select class="form-control" id="client_id" name="client_id" onchange="getClientPolicyDataBasedOnClientAndInsuer()">
|
<span>Filter</span>
|
||||||
<option value="0">Select Client</option>
|
<a id="toggleIcon" class="text-dark float-right" data-toggle="collapse" href="#collapseOne"
|
||||||
</select>
|
aria-expanded="true">
|
||||||
</div>
|
<i id="icon" class="mdi mdi-chevron-down mr-1 text-primary" style="font-size: 28px;"></i>
|
||||||
|
</a>
|
||||||
<div class="form-group col-md-3">
|
</h4>
|
||||||
<label for="client_branch_id">Client Branch<span class="text-danger"></span></label>
|
<div id="collapseOne" class="collapse show" aria-labelledby="headingOne" data-parent="#accordion">
|
||||||
<select class="form-control" id="client_branch_id" name="client_branch_id" onchange="getClientPolicyDataBasedOnClientAndInsuer()">
|
<div class="card-body">
|
||||||
<option value="0">Select Client Branch</option>
|
<div class="form-group">
|
||||||
</select>
|
<div class="form-row">
|
||||||
</div>
|
<div class="form-group col-md-3">
|
||||||
|
<label for="client_branch">Client<span class="text-danger"></span></label>
|
||||||
<div class="form-group col-md-3">
|
<select class="form-control" id="client_id" name="client_id" onchange="getClientPolicyDataBasedOnClientAndInsuer()">
|
||||||
<label for="insurer_id"> Insurer <span id="base_danger" class="text-danger"></span></label>
|
<option value="0">Select Client</option>
|
||||||
<select class="form-control" id="insurer_id" name="insurer_id" onchange="getClientPolicyDataBasedOnClientAndInsuer()">
|
</select>
|
||||||
<option value="0" selected>Select Insurer</option>
|
|
||||||
</select>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="form-group col-md-3">
|
|
||||||
<label for="insurer_branch_id"> Insurer Branch <span id="base_danger" class="text-danger"></span></label>
|
|
||||||
<select class="form-control" id="insurer_branch_id" name="insurer_branch_id" onchange="getClientPolicyDataBasedOnClientAndInsuer()">
|
|
||||||
<option value="0" selected>Select Insurer Branch</option>
|
|
||||||
</select>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="form-group col-md-3">
|
|
||||||
<label for="email"> Policy Type <span class="text-danger"></span></label>
|
|
||||||
<select class="form-control" id="policy_type_id" name="policy_type_id" onchange="getClientPolicyDataBasedOnClientAndInsuer()">
|
|
||||||
<option value="0">Select Policy Type</option>
|
|
||||||
<?php
|
|
||||||
if (isset($policy_types) && count($policy_types)) {
|
|
||||||
foreach ($policy_types as $key => $value) {
|
|
||||||
echo "<option value='" . $value['id'] . "'>" . $value['policy_type'] . "</option>";
|
|
||||||
}
|
|
||||||
}
|
|
||||||
?>
|
|
||||||
</select>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="form-group col-md-3">
|
|
||||||
<label for="client_policy_id"> Client Policy <span id="base_danger" class="text-danger"></span></label>
|
|
||||||
<select class="form-control" id="client_policy_id" name="client_policy_id">
|
|
||||||
<option value="0" selected>Select client policy</option>
|
|
||||||
</select>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="form-group col-md-3">
|
|
||||||
<label for="client_branch">Issuer<span class="text-danger">*</span></label>
|
|
||||||
<select class="form-control" id="issuer" name="issuer" required>
|
|
||||||
<option value="0">Select Issure</option>
|
|
||||||
<?php
|
|
||||||
if (isset($issuer) && count($issuer)) {
|
|
||||||
foreach ($issuer as $key => $value) {
|
|
||||||
echo "<option value=" . $key . ">" . $value . "</option>";
|
|
||||||
}
|
|
||||||
}
|
|
||||||
?>
|
|
||||||
</select>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="form-group col-md-3">
|
|
||||||
<label for="user_id">Users<span class="text-danger"></span></label>
|
|
||||||
<select class="form-control" id="user_id" name="user_id">
|
|
||||||
<option value="0">Select user</option>
|
|
||||||
<?php
|
|
||||||
if (isset($users) && count($users)) {
|
|
||||||
foreach ($users as $key => $value) {
|
|
||||||
echo "<option value='" . $value['id'] . "'>" . $value['first_name'] . "</option>";
|
|
||||||
}
|
|
||||||
}
|
|
||||||
?>
|
|
||||||
</select>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="form-group col-md-3">
|
|
||||||
<label>Date Type<span class="text-danger"></span></label>
|
|
||||||
<select class="form-control" id="date_type" name="date_type" onchange="hideDateField(); changeTitle();">
|
|
||||||
<option value="0">Select Date Type</option>
|
|
||||||
<?php
|
|
||||||
if (isset($date_type) && count($date_type)) {
|
|
||||||
foreach ($date_type as $key => $value) {
|
|
||||||
echo "<option value='" . $key . "'>" . $value . "</option>";
|
|
||||||
}
|
|
||||||
}
|
|
||||||
?>
|
|
||||||
</select>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="form-group col-md-3" style="display: none;" id="date_div">
|
|
||||||
<label>Date<span class="text-danger"></span></label>
|
|
||||||
<div class="input-icon">
|
|
||||||
<input type="text" id="reportrange" class="form-control" readonly style="caret-color: transparent;">
|
|
||||||
<i class="mdi mdi-calendar-blank-outline additional-icon"></i>
|
|
||||||
</div>
|
</div>
|
||||||
<input type="hidden" id="startDate">
|
|
||||||
<input type="hidden" id="endDate">
|
<div class="form-group col-md-3">
|
||||||
|
<label for="client_branch_id">Client Branch<span class="text-danger"></span></label>
|
||||||
|
<select class="form-control" id="client_branch_id" name="client_branch_id" onchange="getClientPolicyDataBasedOnClientAndInsuer()">
|
||||||
|
<option value="0">Select Client Branch</option>
|
||||||
|
</select>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="form-group col-md-3">
|
||||||
|
<label for="insurer_id"> Insurer <span id="base_danger" class="text-danger"></span></label>
|
||||||
|
<select class="form-control" id="insurer_id" name="insurer_id" onchange="getClientPolicyDataBasedOnClientAndInsuer()">
|
||||||
|
<option value="0" selected>Select Insurer</option>
|
||||||
|
</select>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="form-group col-md-3">
|
||||||
|
<label for="insurer_branch_id"> Insurer Branch <span id="base_danger" class="text-danger"></span></label>
|
||||||
|
<select class="form-control" id="insurer_branch_id" name="insurer_branch_id" onchange="getClientPolicyDataBasedOnClientAndInsuer()">
|
||||||
|
<option value="0" selected>Select Insurer Branch</option>
|
||||||
|
</select>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="form-group col-md-3">
|
||||||
|
<label for="email"> Policy Type <span class="text-danger"></span></label>
|
||||||
|
<select class="form-control" id="policy_type_id" name="policy_type_id" onchange="getClientPolicyDataBasedOnClientAndInsuer()">
|
||||||
|
<option value="0">Select Policy Type</option>
|
||||||
|
<?php
|
||||||
|
if (isset($policy_types) && count($policy_types)) {
|
||||||
|
foreach ($policy_types as $key => $value) {
|
||||||
|
echo "<option value='" . $value['id'] . "'>" . $value['policy_type'] . "</option>";
|
||||||
|
}
|
||||||
|
}
|
||||||
|
?>
|
||||||
|
</select>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="form-group col-md-3">
|
||||||
|
<label for="client_policy_id"> Client Policy <span id="base_danger" class="text-danger"></span></label>
|
||||||
|
<select class="form-control" id="client_policy_id" name="client_policy_id">
|
||||||
|
<option value="0" selected>Select client policy</option>
|
||||||
|
</select>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="form-group col-md-3">
|
||||||
|
<label for="client_branch">Issuer<span class="text-danger">*</span></label>
|
||||||
|
<select class="form-control" id="issuer" name="issuer" required>
|
||||||
|
<option value="0">Select Issure</option>
|
||||||
|
<?php
|
||||||
|
if (isset($issuer) && count($issuer)) {
|
||||||
|
foreach ($issuer as $key => $value) {
|
||||||
|
echo "<option value=" . $key . ">" . $value . "</option>";
|
||||||
|
}
|
||||||
|
}
|
||||||
|
?>
|
||||||
|
</select>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="form-group col-md-3">
|
||||||
|
<label for="user_id">Users<span class="text-danger"></span></label>
|
||||||
|
<select class="form-control" id="user_id" name="user_id">
|
||||||
|
<option value="0">Select user</option>
|
||||||
|
<?php
|
||||||
|
if (isset($users) && count($users)) {
|
||||||
|
foreach ($users as $key => $value) {
|
||||||
|
echo "<option value='" . $value['id'] . "'>" . $value['first_name'] . "</option>";
|
||||||
|
}
|
||||||
|
}
|
||||||
|
?>
|
||||||
|
</select>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="form-group col-md-3">
|
||||||
|
<label>Date Type<span class="text-danger"></span></label>
|
||||||
|
<select class="form-control" id="date_type" name="date_type" onchange="hideDateField(); changeTitle();">
|
||||||
|
<option value="0">Select Date Type</option>
|
||||||
|
<?php
|
||||||
|
if (isset($date_type) && count($date_type)) {
|
||||||
|
foreach ($date_type as $key => $value) {
|
||||||
|
echo "<option value='" . $key . "'>" . $value . "</option>";
|
||||||
|
}
|
||||||
|
}
|
||||||
|
?>
|
||||||
|
</select>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="form-group col-md-3" style="display: none;" id="date_div">
|
||||||
|
<label>Date<span class="text-danger"></span></label>
|
||||||
|
<div class="input-icon">
|
||||||
|
<input type="text" id="reportrange" class="form-control" readonly style="caret-color: transparent;">
|
||||||
|
<i class="mdi mdi-calendar-blank-outline additional-icon"></i>
|
||||||
|
</div>
|
||||||
|
<input type="hidden" id="startDate">
|
||||||
|
<input type="hidden" id="endDate">
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="form-group col-md-12 text-right m-b-0" style="margin-top: 29px;">
|
||||||
|
<a href="<?= base_url("/policy_tranction/report/list"); ?>" class="btn btn-secondary" id="clear-filters">Clear</a>
|
||||||
|
<a href="<?= base_url("/policy_tranction/report/list"); ?>" class="btn btn-primary" id="get-emp-list" onclick="fetchEmpolyeeList(event);">Submit</a>
|
||||||
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="form-group col-md-12 text-right m-b-0" style="margin-top: 29px;">
|
<!-- <div class="form-group text-right m-b-0">
|
||||||
<a href="<?= base_url("/policy_tranction/report/list"); ?>" class="btn btn-secondary" id="clear-filters">Clear</a>
|
|
||||||
<a href="<?= base_url("/policy_tranction/report/list"); ?>" class="btn btn-primary" id="get-emp-list" onclick="fetchEmpolyeeList(event);">Submit</a>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<!-- <div class="form-group text-right m-b-0">
|
|
||||||
<button type="button" class="btn btn-secondary" id="clear-filters">Clear</button>
|
<button type="button" class="btn btn-secondary" id="clear-filters">Clear</button>
|
||||||
<a href="<?= base_url("/policy_tranction/report/list"); ?>"
|
<a href="<?= base_url("/policy_tranction/report/list"); ?>"
|
||||||
class="btn btn-primary waves-effect waves-light" id="get-emp-list"
|
class="btn btn-primary waves-effect waves-light" id="get-emp-list"
|
||||||
onclick="fetchEmpolyeeList(event);">Submit</a>
|
onclick="fetchEmpolyeeList(event);">Submit</a>
|
||||||
</div> -->
|
</div> -->
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
|
||||||
|
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -332,7 +332,7 @@
|
|||||||
$(document).ready(function() {
|
$(document).ready(function() {
|
||||||
|
|
||||||
$('#tickets-table').DataTable({
|
$('#tickets-table').DataTable({
|
||||||
dom: "<'d-flex justify-content-between align-items-center'<'datatable-search'f><'datatable-buttons'B>>" +
|
dom: "<'row'<'col-12 d-flex justify-content-between align-items-center'<'datatable-search dataTables_filter'f><'datatable-buttons dt-buttons'B>>>" +
|
||||||
"<'row'<'col-sm-12'tr>>" +
|
"<'row'<'col-sm-12'tr>>" +
|
||||||
"<'row'<'col-sm-5'i><'col-sm-7'p>>",
|
"<'row'<'col-sm-5'i><'col-sm-7'p>>",
|
||||||
buttons: [{
|
buttons: [{
|
||||||
|
|||||||
@ -2,67 +2,70 @@
|
|||||||
<div class="row">
|
<div class="row">
|
||||||
<!-- <h3 class="ml-3">Claim Reports</h3> -->
|
<!-- <h3 class="ml-3">Claim Reports</h3> -->
|
||||||
<div class="col-xl-12">
|
<div class="col-xl-12">
|
||||||
<div id="accordion" class="mb-3">
|
<div class="card-body">
|
||||||
<div class="card mb-1">
|
<div id="accordion" class="mb-3">
|
||||||
<h4 class="m-1">
|
<div class="card mb-1">
|
||||||
<span>Filter</span>
|
<h4 class="m-1">
|
||||||
<a id="toggleIcon" class="text-dark float-right" data-toggle="collapse" href="#collapseOne"
|
<span>Filter</span>
|
||||||
aria-expanded="true">
|
<a id="toggleIcon" class="text-dark float-right" data-toggle="collapse" href="#collapseOne"
|
||||||
<i id="icon" class="mdi mdi-chevron-down mr-1 text-primary" style="font-size: 28px;"></i>
|
aria-expanded="true">
|
||||||
</a>
|
<i id="icon" class="mdi mdi-chevron-down mr-1 text-primary" style="font-size: 28px;"></i>
|
||||||
</h4>
|
</a>
|
||||||
<div id="collapseOne" class="collapse show" aria-labelledby="headingOne" data-parent="#accordion">
|
</h4>
|
||||||
<div class="card-body">
|
<div id="collapseOne" class="collapse show" aria-labelledby="headingOne" data-parent="#accordion">
|
||||||
<!-- <div class="text-center"> -->
|
<div class="card-body">
|
||||||
<div class="form-row">
|
<!-- <div class="text-center"> -->
|
||||||
<div class="form-group col-md-4" id="date_div">
|
<div class="form-row">
|
||||||
<label>Date<span class="text-danger"></span></label>
|
<div class="form-group col-md-4" id="date_div">
|
||||||
<div id="reportrange" class="form-control" style="background: #fff; cursor: pointer; padding: 5px 10px; border: 1px solid #ccc; width: 100%">
|
<label>Date<span class="text-danger"></span></label>
|
||||||
<i class="mdi mdi-calendar-blank"></i>
|
<div id="reportrange" class="form-control" style="background: #fff; cursor: pointer; padding: 5px 10px; border: 1px solid #ccc; width: 100%">
|
||||||
<span></span> <i class="mdi mdi-menu-down"></i>
|
<i class="mdi mdi-calendar-blank"></i>
|
||||||
|
<span></span> <i class="mdi mdi-menu-down"></i>
|
||||||
|
</div>
|
||||||
|
<input type="hidden" id="startDate" value=<?= $default_start ?>>
|
||||||
|
<input type="hidden" id="endDate" value=<?= $default_end ?>>
|
||||||
</div>
|
</div>
|
||||||
<input type="hidden" id="startDate" value=<?= $default_start ?>>
|
|
||||||
<input type="hidden" id="endDate" value=<?= $default_end ?>>
|
|
||||||
|
<div class="form-group col-md-4">
|
||||||
|
<label>Policy Type<span class="text-danger"> *</span></label> <br />
|
||||||
|
<select name="policy_type" class="form-control" id="policy_type" required>
|
||||||
|
<option value="">Select</option>
|
||||||
|
<?php foreach ($policy_type as $policy => $key) : ?>
|
||||||
|
<option value="<?= $policy ?>"><?= $key ?></option>
|
||||||
|
<?php endforeach ?>
|
||||||
|
</select>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
<div class="form-group col-md-4">
|
||||||
|
<label>Report Type<span class="text-danger"> *</span></label> <br />
|
||||||
|
<select class="form-control" id="report_type" required>
|
||||||
|
<option value="0">Select</option>
|
||||||
|
<?php foreach ($report_type as $reports => $key) : ?>
|
||||||
|
<option value="<?= $reports ?>"><?= $key ?></option>
|
||||||
|
<?php endforeach ?>
|
||||||
|
</select>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
<div class="row justify-content-end">
|
||||||
|
|
||||||
|
<div class="col-auto">
|
||||||
<div class="form-group col-md-4">
|
<a href="#" class="btn btn-primary waves-effect waves-light submit-btn" id="get-report-page" onclick="fetchReportPage(event);">Submit</a>
|
||||||
<label>Policy Type<span class="text-danger"> *</span></label> <br />
|
</div>
|
||||||
<select name="policy_type" class="form-control" id="policy_type" required>
|
|
||||||
<option value="">Select</option>
|
|
||||||
<?php foreach ($policy_type as $policy => $key) : ?>
|
|
||||||
<option value="<?= $policy ?>"><?= $key ?></option>
|
|
||||||
<?php endforeach ?>
|
|
||||||
</select>
|
|
||||||
</div>
|
</div>
|
||||||
|
<!-- </div> -->
|
||||||
|
|
||||||
<div class="form-group col-md-4">
|
|
||||||
<label>Report Type<span class="text-danger"> *</span></label> <br />
|
|
||||||
<select class="form-control" id="report_type" required>
|
|
||||||
<option value="0">Select</option>
|
|
||||||
<?php foreach ($report_type as $reports => $key) : ?>
|
|
||||||
<option value="<?= $reports ?>"><?= $key ?></option>
|
|
||||||
<?php endforeach ?>
|
|
||||||
</select>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<div class="row justify-content-end">
|
|
||||||
|
|
||||||
<div class="col-auto">
|
|
||||||
<a href="#" class="btn btn-primary waves-effect waves-light submit-btn" id="get-report-page" onclick="fetchReportPage(event);">Submit</a>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<!-- </div> -->
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="row" id="report"></div>
|
<div class="row" id="report"></div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -1,138 +1,141 @@
|
|||||||
<style>
|
<style>
|
||||||
.col-12 {
|
.col-12 {
|
||||||
|
|
||||||
max-width: 98% !important;
|
max-width: 98% !important;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
<div class="container-fluid-min">
|
<div class="container-fluid-min">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-12" style="margin-top: -12px;">
|
<div class="col-12" style="margin-top: -12px;">
|
||||||
<div id="accordion" class="mb-3">
|
<div class="card-body">
|
||||||
<div class="card mb-1">
|
<div id="accordion" class="mb-3">
|
||||||
<h4>
|
<div class="card mb-1">
|
||||||
Filter
|
<h4>
|
||||||
<a id="toggleIcon" class="text-dark float-right" data-toggle="collapse" href="#collapseOne"
|
Filter
|
||||||
aria-expanded="true">
|
<a id="toggleIcon" class="text-dark float-right" data-toggle="collapse" href="#collapseOne"
|
||||||
<i id="icon" class="mdi mdi-chevron-down mr-1 text-primary" style="font-size: 28px;"></i>
|
aria-expanded="true">
|
||||||
</a>
|
<i id="icon" class="mdi mdi-chevron-down mr-1 text-primary" style="font-size: 28px;"></i>
|
||||||
</h4>
|
</a>
|
||||||
<div id="collapseOne" class="collapse hide" aria-labelledby="headingOne" data-parent="#accordion">
|
</h4>
|
||||||
<div class="card-body">
|
<div id="collapseOne" class="collapse hide" aria-labelledby="headingOne" data-parent="#accordion">
|
||||||
<div class="form-group">
|
<div class="card-body">
|
||||||
<div class="form-row">
|
<div class="form-group">
|
||||||
|
<div class="form-row">
|
||||||
|
|
||||||
|
|
||||||
<div class="form-group col-md-3">
|
<div class="form-group col-md-3">
|
||||||
<label for="ticket_type"> Claim Type <span class="text-danger"></span></label>
|
<label for="ticket_type"> Claim Type <span class="text-danger"></span></label>
|
||||||
<select class="form-control" id="ticket_type" name="ticket_type">
|
<select class="form-control" id="ticket_type" name="ticket_type">
|
||||||
<option value="0">Select claim Type</option>
|
<option value="0">Select claim Type</option>
|
||||||
<?php
|
<?php
|
||||||
if (isset($ticket_type) && count($ticket_type)) {
|
if (isset($ticket_type) && count($ticket_type)) {
|
||||||
foreach ($ticket_type as $key => $value) {
|
foreach ($ticket_type as $key => $value) {
|
||||||
echo "<option value='" . $key . "'>" . $value . "</option>";
|
echo "<option value='" . $key . "'>" . $value . "</option>";
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
?>
|
||||||
?>
|
</select>
|
||||||
</select>
|
</div>
|
||||||
</div>
|
|
||||||
|
|
||||||
<!-- <div class="form-group col-md-3">
|
<!-- <div class="form-group col-md-3">
|
||||||
<label for="pod_no">POD No<span class="text-danger"></span></label>
|
<label for="pod_no">POD No<span class="text-danger"></span></label>
|
||||||
<input type="text" class="form-control" id="pod_no" name="pod_no">
|
<input type="text" class="form-control" id="pod_no" name="pod_no">
|
||||||
</div> -->
|
</div> -->
|
||||||
|
|
||||||
|
|
||||||
<div class="form-group col-md-3">
|
<div class="form-group col-md-3">
|
||||||
<label for="insurer_id">Insurer<span class="text-danger"></span></label>
|
<label for="insurer_id">Insurer<span class="text-danger"></span></label>
|
||||||
<select class="form-control" id="insurer_id" name="insurer_id">
|
<select class="form-control" id="insurer_id" name="insurer_id">
|
||||||
<option value="0">Select Insurer</option>
|
<option value="0">Select Insurer</option>
|
||||||
<?php
|
<?php
|
||||||
if (isset($insurer_list) && count($insurer_list)) {
|
if (isset($insurer_list) && count($insurer_list)) {
|
||||||
foreach ($insurer_list as $key => $value) {
|
foreach ($insurer_list as $key => $value) {
|
||||||
echo "<option value='" . $value['id'] . "'>" . $value['name'] . "</option>";
|
echo "<option value='" . $value['id'] . "'>" . $value['name'] . "</option>";
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
?>
|
||||||
?>
|
</select>
|
||||||
</select>
|
</div>
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="form-group col-md-3">
|
<div class="form-group col-md-3">
|
||||||
<label for="tpa_id">TPA<span class="text-danger"></span></label>
|
<label for="tpa_id">TPA<span class="text-danger"></span></label>
|
||||||
<select class="form-control" id="tpa_id" name="tpa_id">
|
<select class="form-control" id="tpa_id" name="tpa_id">
|
||||||
<option value="0">Select TPA</option>
|
<option value="0">Select TPA</option>
|
||||||
<?php
|
<?php
|
||||||
if (isset($tpa_list) && count($tpa_list)) {
|
if (isset($tpa_list) && count($tpa_list)) {
|
||||||
foreach ($tpa_list as $key => $value) {
|
foreach ($tpa_list as $key => $value) {
|
||||||
echo "<option value='" . $value['id'] . "'>" . $value['name'] . "</option>";
|
echo "<option value='" . $value['id'] . "'>" . $value['name'] . "</option>";
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
?>
|
||||||
?>
|
</select>
|
||||||
</select>
|
</div>
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="form-group col-md-3">
|
<div class="form-group col-md-3">
|
||||||
<label for="claim_no">Claim No<span class="text-danger"></span></label>
|
<label for="claim_no">Claim No<span class="text-danger"></span></label>
|
||||||
<input type="text" class="form-control" id="claim_no" name="claim_no">
|
<input type="text" class="form-control" id="claim_no" name="claim_no">
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="form-group col-md-3">
|
<div class="form-group col-md-3">
|
||||||
<label for="client_id"> Corporate Name <span class="text-danger"></span></label>
|
<label for="client_id"> Corporate Name <span class="text-danger"></span></label>
|
||||||
<select class="form-control" id="client_id" name="client_id">
|
<select class="form-control" id="client_id" name="client_id">
|
||||||
<option value="0">Select Corporate</option>
|
<option value="0">Select Corporate</option>
|
||||||
<?php
|
<?php
|
||||||
if (isset($client_list) && count($client_list)) {
|
if (isset($client_list) && count($client_list)) {
|
||||||
foreach ($client_list as $key => $value) {
|
foreach ($client_list as $key => $value) {
|
||||||
echo "<option value='" . $value['id'] . "'>" . $value['client_name'] . "</option>";
|
echo "<option value='" . $value['id'] . "'>" . $value['client_name'] . "</option>";
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
?>
|
||||||
?>
|
</select>
|
||||||
</select>
|
</div>
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="form-group col-md-3">
|
<div class="form-group col-md-3">
|
||||||
<label for="emp_code">Employee ID<span class="text-danger"></span></label>
|
<label for="emp_code">Employee ID<span class="text-danger"></span></label>
|
||||||
<input type="text" class="form-control" id="emp_code" name="emp_code">
|
<input type="text" class="form-control" id="emp_code" name="emp_code">
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- <div class="form-group col-md-3">
|
<!-- <div class="form-group col-md-3">
|
||||||
<label for="tpa_id">TPA ID<span class="text-danger"></span></label>
|
<label for="tpa_id">TPA ID<span class="text-danger"></span></label>
|
||||||
<input type="text" class="form-control" id="tpa_id" name="tpa_id">
|
<input type="text" class="form-control" id="tpa_id" name="tpa_id">
|
||||||
</div> -->
|
</div> -->
|
||||||
|
|
||||||
<div class="form-group col-md-3">
|
<div class="form-group col-md-3">
|
||||||
<label for="emp_mobile_no">Employee Mobile No<span
|
<label for="emp_mobile_no">Employee Mobile No<span
|
||||||
class="text-danger"></span></label>
|
class="text-danger"></span></label>
|
||||||
<input type="text" class="form-control" id="emp_mobile_no" name="emp_mobile_no">
|
<input type="text" class="form-control" id="emp_mobile_no" name="emp_mobile_no">
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="form-group col-md-3">
|
<div class="form-group col-md-3">
|
||||||
<label for="claim_status">Status<span class="text-danger"></span></label>
|
<label for="claim_status">Status<span class="text-danger"></span></label>
|
||||||
<select class="form-control" id="claim_status" name="claim_status">
|
<select class="form-control" id="claim_status" name="claim_status">
|
||||||
<option value="0">Select status</option>
|
<option value="0">Select status</option>
|
||||||
<?php /*
|
<?php /*
|
||||||
if (isset($claim_status) && count($claim_status)) {
|
if (isset($claim_status) && count($claim_status)) {
|
||||||
foreach ($claim_status as $key => $value) {
|
foreach ($claim_status as $key => $value) {
|
||||||
echo "<option value=" . $value['id'] . ">" . $value['status'] . "</option>";
|
echo "<option value=" . $value['id'] . ">" . $value['status'] . "</option>";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
*/ ?>
|
*/ ?>
|
||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<div class="form-group col-md-12 text-right m-b-0" style="margin-bottom: -15px;">
|
||||||
|
<a href="#" class="btn btn-secondary" id="clear-filters">Clear</a>
|
||||||
|
<a class="btn btn-primary" id="get-emp-list" onclick="fetchTicketListData();">Submit</a>
|
||||||
|
</div>
|
||||||
|
|
||||||
<div class="form-group col-md-12 text-right m-b-0" style="margin-bottom: -15px;">
|
|
||||||
<a href="#" class="btn btn-secondary" id="clear-filters">Clear</a>
|
|
||||||
<a class="btn btn-primary" id="get-emp-list" onclick="fetchTicketListData();">Submit</a>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
|
||||||
|
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="row" id="ticket_list_div">
|
<div class="row" id="ticket_list_div">
|
||||||
|
|||||||
@ -178,7 +178,7 @@
|
|||||||
$(document).ready(function() {
|
$(document).ready(function() {
|
||||||
|
|
||||||
$('#tickets-table').DataTable({
|
$('#tickets-table').DataTable({
|
||||||
dom: "<'d-flex justify-content-between align-items-center'<'datatable-search'f><'datatable-buttons'B>>" +
|
dom: "<'row'<'col-12 d-flex justify-content-between align-items-center'<'datatable-search dataTables_filter'f><'datatable-buttons dt-buttons'B>>>" +
|
||||||
"<'row'<'col-sm-12'tr>>" +
|
"<'row'<'col-sm-12'tr>>" +
|
||||||
"<'row'<'col-sm-5'i><'col-sm-7'p>>",
|
"<'row'<'col-sm-5'i><'col-sm-7'p>>",
|
||||||
buttons: [{
|
buttons: [{
|
||||||
|
|||||||
@ -8,7 +8,7 @@
|
|||||||
padding: 4px 4px !important;
|
padding: 4px 4px !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
.dataTables_filter {
|
.dataTables_filter {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
@ -25,123 +25,126 @@
|
|||||||
|
|
||||||
<div class="container-fluid-min">
|
<div class="container-fluid-min">
|
||||||
<div class="col-12" id="varience_filter">
|
<div class="col-12" id="varience_filter">
|
||||||
<div id="accordion" class="mb-3">
|
<div class="card-body">
|
||||||
<label class="m-1 d-flex justify-content-between align-items-center">
|
<div id="accordion" class="mb-3">
|
||||||
<h4>Filters</h4>
|
<div class="card mb-1">
|
||||||
<a id="toggleIcon" class="text-dark float-right" data-toggle="collapse" href="#collapseOne"
|
<h4 class="m-1">
|
||||||
aria-expanded="true">
|
<span>Filter</span>
|
||||||
<i id="icon" class="mdi mdi-chevron-up mr-1 text-primary" style="font-size: 28px;"></i>
|
<a id="toggleIcon" class="text-dark float-right" data-toggle="collapse" href="#collapseOne"
|
||||||
</a>
|
aria-expanded="true">
|
||||||
</label>
|
<i id="icon" class="mdi mdi-chevron-down mr-1 text-primary" style="font-size: 28px;"></i>
|
||||||
<div class="card mb-1">
|
</a>
|
||||||
<div id="collapseOne" class="collapse show" aria-labelledby="headingOne" data-parent="#accordion">
|
</h4>
|
||||||
<div class="card-body">
|
<div id="collapseOne" class="collapse show" aria-labelledby="headingOne" data-parent="#accordion">
|
||||||
<div class="form-group">
|
<div class="card-body">
|
||||||
<div class="form-row">
|
<div class="form-group">
|
||||||
|
<div class="form-row">
|
||||||
|
|
||||||
<div class="form-group col-md-3">
|
<div class="form-group col-md-3">
|
||||||
<label for="client_branch">Client<span class="text-danger"></span></label>
|
<label for="client_branch">Client<span class="text-danger"></span></label>
|
||||||
<select class="form-control" id="client_id" name="client_id" onchange="getClientPolicyDataBasedOnClientAndInsuer()">
|
<select class="form-control" id="client_id" name="client_id" onchange="getClientPolicyDataBasedOnClientAndInsuer()">
|
||||||
<option value="0">Select Client</option>
|
<option value="0">Select Client</option>
|
||||||
</select>
|
</select>
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="form-group col-md-3">
|
|
||||||
<label for="client_branch_id">Client Branch<span class="text-danger"></span></label>
|
|
||||||
<select class="form-control" id="client_branch_id" name="client_branch_id" onchange="getClientPolicyDataBasedOnClientAndInsuer()">
|
|
||||||
<option value="0">Select Client Branch</option>
|
|
||||||
</select>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="form-group col-md-3">
|
|
||||||
<label for="insurer_id"> Insurer <span id="base_danger" class="text-danger"></span></label>
|
|
||||||
<select class="form-control" id="insurer_id" name="insurer_id" onchange="getClientPolicyDataBasedOnClientAndInsuer()">
|
|
||||||
<option value="0" selected>Select Insurer</option>
|
|
||||||
</select>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="form-group col-md-3">
|
|
||||||
<label for="insurer_branch_id"> Insurer Branch <span id="base_danger" class="text-danger"></span></label>
|
|
||||||
<select class="form-control" id="insurer_branch_id" name="insurer_branch_id" onchange="getClientPolicyDataBasedOnClientAndInsuer()">
|
|
||||||
<option value="0" selected>Select Insurer Branch</option>
|
|
||||||
</select>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="form-group col-md-3">
|
|
||||||
<label for="email"> Policy Type <span class="text-danger"></span></label>
|
|
||||||
<select class="form-control" id="policy_type_id" name="policy_type_id" onchange="getClientPolicyDataBasedOnClientAndInsuer()">
|
|
||||||
<option value="0">Select Policy Type</option>
|
|
||||||
<?php
|
|
||||||
if (isset($policy_types) && count($policy_types)) {
|
|
||||||
foreach ($policy_types as $key => $value) {
|
|
||||||
echo "<option value='" . $value['id'] . "'>" . $value['policy_type'] . "</option>";
|
|
||||||
}
|
|
||||||
}
|
|
||||||
?>
|
|
||||||
</select>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="form-group col-md-3">
|
|
||||||
<label for="client_policy_id"> Client Policy <span id="base_danger" class="text-danger"></span></label>
|
|
||||||
<select class="form-control" id="client_policy_id" name="client_policy_id">
|
|
||||||
<option value="0" selected>Select client policy</option>
|
|
||||||
</select>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="form-group col-md-3">
|
|
||||||
<label for="client_branch">Issuer<span class="text-danger">*</span></label>
|
|
||||||
<select class="form-control" id="issuer" name="issuer" required>
|
|
||||||
<option value="0">Select Issure</option>
|
|
||||||
<?php
|
|
||||||
if (isset($issuer) && count($issuer)) {
|
|
||||||
foreach ($issuer as $key => $value) {
|
|
||||||
echo "<option value=" . $key . ">" . $value . "</option>";
|
|
||||||
}
|
|
||||||
}
|
|
||||||
?>
|
|
||||||
</select>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="form-group col-md-3">
|
|
||||||
<label>Date Type<span class="text-danger"></span></label>
|
|
||||||
<select class="form-control" id="date_type" name="date_type"
|
|
||||||
onchange="hideDateField()">
|
|
||||||
<option value="0">Select Date Type</option>
|
|
||||||
<?php
|
|
||||||
if (isset($date_type) && count($date_type)) {
|
|
||||||
foreach ($date_type as $key => $value) {
|
|
||||||
echo "<option value='" . $key . "'>" . $value . "</option>";
|
|
||||||
}
|
|
||||||
}
|
|
||||||
?>
|
|
||||||
</select>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="form-group col-md-3" style="display: none;" id="date_div">
|
|
||||||
<label>Date<span class="text-danger"></span></label>
|
|
||||||
<div class="input-icon">
|
|
||||||
<input type="text" id="reportrange" class="form-control" readonly style="caret-color: transparent;">
|
|
||||||
<i class="mdi mdi-calendar-blank-outline additional-icon"></i>
|
|
||||||
</div>
|
</div>
|
||||||
<input type="hidden" id="startDate">
|
|
||||||
<input type="hidden" id="endDate">
|
<div class="form-group col-md-3">
|
||||||
|
<label for="client_branch_id">Client Branch<span class="text-danger"></span></label>
|
||||||
|
<select class="form-control" id="client_branch_id" name="client_branch_id" onchange="getClientPolicyDataBasedOnClientAndInsuer()">
|
||||||
|
<option value="0">Select Client Branch</option>
|
||||||
|
</select>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="form-group col-md-3">
|
||||||
|
<label for="insurer_id"> Insurer <span id="base_danger" class="text-danger"></span></label>
|
||||||
|
<select class="form-control" id="insurer_id" name="insurer_id" onchange="getClientPolicyDataBasedOnClientAndInsuer()">
|
||||||
|
<option value="0" selected>Select Insurer</option>
|
||||||
|
</select>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="form-group col-md-3">
|
||||||
|
<label for="insurer_branch_id"> Insurer Branch <span id="base_danger" class="text-danger"></span></label>
|
||||||
|
<select class="form-control" id="insurer_branch_id" name="insurer_branch_id" onchange="getClientPolicyDataBasedOnClientAndInsuer()">
|
||||||
|
<option value="0" selected>Select Insurer Branch</option>
|
||||||
|
</select>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="form-group col-md-3">
|
||||||
|
<label for="email"> Policy Type <span class="text-danger"></span></label>
|
||||||
|
<select class="form-control" id="policy_type_id" name="policy_type_id" onchange="getClientPolicyDataBasedOnClientAndInsuer()">
|
||||||
|
<option value="0">Select Policy Type</option>
|
||||||
|
<?php
|
||||||
|
if (isset($policy_types) && count($policy_types)) {
|
||||||
|
foreach ($policy_types as $key => $value) {
|
||||||
|
echo "<option value='" . $value['id'] . "'>" . $value['policy_type'] . "</option>";
|
||||||
|
}
|
||||||
|
}
|
||||||
|
?>
|
||||||
|
</select>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="form-group col-md-3">
|
||||||
|
<label for="client_policy_id"> Client Policy <span id="base_danger" class="text-danger"></span></label>
|
||||||
|
<select class="form-control" id="client_policy_id" name="client_policy_id">
|
||||||
|
<option value="0" selected>Select client policy</option>
|
||||||
|
</select>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="form-group col-md-3">
|
||||||
|
<label for="client_branch">Issuer<span class="text-danger">*</span></label>
|
||||||
|
<select class="form-control" id="issuer" name="issuer" required>
|
||||||
|
<option value="0">Select Issure</option>
|
||||||
|
<?php
|
||||||
|
if (isset($issuer) && count($issuer)) {
|
||||||
|
foreach ($issuer as $key => $value) {
|
||||||
|
echo "<option value=" . $key . ">" . $value . "</option>";
|
||||||
|
}
|
||||||
|
}
|
||||||
|
?>
|
||||||
|
</select>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="form-group col-md-3">
|
||||||
|
<label>Date Type<span class="text-danger"></span></label>
|
||||||
|
<select class="form-control" id="date_type" name="date_type"
|
||||||
|
onchange="hideDateField()">
|
||||||
|
<option value="0">Select Date Type</option>
|
||||||
|
<?php
|
||||||
|
if (isset($date_type) && count($date_type)) {
|
||||||
|
foreach ($date_type as $key => $value) {
|
||||||
|
echo "<option value='" . $key . "'>" . $value . "</option>";
|
||||||
|
}
|
||||||
|
}
|
||||||
|
?>
|
||||||
|
</select>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="form-group col-md-3" style="display: none;" id="date_div">
|
||||||
|
<label>Date<span class="text-danger"></span></label>
|
||||||
|
<div class="input-icon">
|
||||||
|
<input type="text" id="reportrange" class="form-control" readonly style="caret-color: transparent;">
|
||||||
|
<i class="mdi mdi-calendar-blank-outline additional-icon"></i>
|
||||||
|
</div>
|
||||||
|
<input type="hidden" id="startDate">
|
||||||
|
<input type="hidden" id="endDate">
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="form-group text-right m-b-0">
|
||||||
|
<a href="<?= base_url("/policy_tranction/report/report-varience-list"); ?>"
|
||||||
|
class="btn btn-secondary" id="clear-filters">Clear</a>
|
||||||
|
<a href="<?= base_url("/policy_tranction/report/report-varience-list"); ?>"
|
||||||
|
class="btn btn-primary" id="get-emp-list"
|
||||||
|
onclick="fetchEmpolyeeList(event);">Submit</a>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="form-group text-right m-b-0">
|
|
||||||
<a href="<?= base_url("/policy_tranction/report/report-varience-list"); ?>"
|
|
||||||
class="btn btn-secondary" id="clear-filters">Clear</a>
|
|
||||||
<a href="<?= base_url("/policy_tranction/report/report-varience-list"); ?>"
|
|
||||||
class="btn btn-primary" id="get-emp-list"
|
|
||||||
onclick="fetchEmpolyeeList(event);">Submit</a>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="col-12" id="varience_list">
|
<div class="col-12" id="varience_list">
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user