diff --git a/app/Config/Routes.php b/app/Config/Routes.php index 2e8d6fb3..96252c3f 100755 --- a/app/Config/Routes.php +++ b/app/Config/Routes.php @@ -3,6 +3,13 @@ use CodeIgniter\Router\RouteCollection; + +// Allow OPTIONS for all routes +$routes->options('(:any)', function() { + // This will never be called because the CORS filter returns early + // But having this route ensures OPTIONS isn't rejected as 404 +}); + /** * @var RouteCollection $routes */ diff --git a/app/Controllers/RuleImportController.php b/app/Controllers/RuleImportController.php index 1fc562b9..d1647bae 100644 --- a/app/Controllers/RuleImportController.php +++ b/app/Controllers/RuleImportController.php @@ -37,6 +37,7 @@ class RuleImportController extends AdminController 'motor' => [ 'department', 'vehicle_type', + 'vehicle_sub_type', 'policy_type', 'vehicle_age', 'is_new_vehicle', diff --git a/app/Controllers/ThzController.php b/app/Controllers/ThzController.php index 29f89df4..d0151013 100644 --- a/app/Controllers/ThzController.php +++ b/app/Controllers/ThzController.php @@ -108,7 +108,7 @@ class ThzController extends BaseController $data = $this->request->getGet(); - if ($returnType === 'web' && in_array(get_role_id(), [3, 4])) { + if ($returnType === 'web' && in_array(get_role_id(), [4])) { $data['assign_to'] = $data['assign_to'] ?? get_session_userid(); } diff --git a/app/Libraries/RuleImportService.php b/app/Libraries/RuleImportService.php index cebc2e9f..33fdab3d 100644 --- a/app/Libraries/RuleImportService.php +++ b/app/Libraries/RuleImportService.php @@ -1111,31 +1111,31 @@ class RuleImportService if ($weightMin !== '' && $weightMax !== '') { if ($weightMin === $weightMax) { $conditions[] = [ - 'field' => 'vehicle_weight', + 'field' => 'weight', 'operator' => '==', 'value' => (float)$weightMin ]; } else { $conditions[] = [ - 'field' => 'vehicle_weight', + 'field' => 'weight', 'operator' => '>=', 'value' => (float)$weightMin ]; $conditions[] = [ - 'field' => 'vehicle_weight', + 'field' => 'weight', 'operator' => '<=', 'value' => (float)$weightMax ]; } } elseif ($weightMin !== '') { $conditions[] = [ - 'field' => 'vehicle_weight', + 'field' => 'weight', 'operator' => '>=', 'value' => (float)$weightMin ]; } elseif ($weightMax !== '') { $conditions[] = [ - 'field' => 'vehicle_weight', + 'field' => 'weight', 'operator' => '<=', 'value' => (float)$weightMax ]; @@ -1147,13 +1147,13 @@ class RuleImportService if (count($states) > 1) { $conditions[] = [ - 'field' => 'rto_state', + 'field' => 'geo_rto_state', 'operator' => 'in', 'value' => $states ]; } else { $conditions[] = [ - 'field' => 'rto_state', + 'field' => 'geo_rto_state', 'operator' => '==', 'value' => $states[0] ]; @@ -1166,13 +1166,13 @@ class RuleImportService if (count($cities) > 1) { $conditions[] = [ - 'field' => 'rto_city', + 'field' => 'geo_rto_city', 'operator' => 'in', 'value' => $cities ]; } else { $conditions[] = [ - 'field' => 'rto_city', + 'field' => 'geo_rto_city', 'operator' => '==', 'value' => $cities[0] ]; @@ -1191,7 +1191,7 @@ class RuleImportService // Policy Name if (!empty($rowData[self::COL_POLICY_NAME])) { $conditions[] = [ - 'field' => 'policy_name', + 'field' => 'product', 'operator' => '==', 'value' => $this->sanitize($rowData[self::COL_POLICY_NAME]) ]; diff --git a/app/Views/UserList.php b/app/Views/UserList.php index a991670d..01db38eb 100755 --- a/app/Views/UserList.php +++ b/app/Views/UserList.php @@ -339,6 +339,7 @@ table.dataTable tbody td { border: 1px solid #ddd; /* matches border-width:1px */ padding: 3px; } + .dataTables_length label {height: 21px !important;} @@ -440,7 +441,7 @@ table.dataTable tbody td { " . $ct . ""; endif; ?> @@ -448,7 +449,7 @@ table.dataTable tbody td { " . $ut . ""; endif; ?> @@ -863,7 +864,7 @@ table.dataTable tbody td { // "<'row'<'col-sm-5'i><'col-sm-7'p>>", dom: "<'row'<'col-sm-3'f><'col-sm-9'B>>" + "<'row'<'col-sm-12'tr>>" + - "<'row'<'col-sm-5'i><'col-sm-3 text-center'l><'col-sm-4 text-end'p>>", + "<'row align-items-center'<'col-5 text-start'i><'col-7 d-flex justify-content-end align-items-center'<'me-2'l>p>>", lengthMenu: [[10, 20, 50, 100], [10, 20, 50, 100]], buttons: [ // { diff --git a/app/Views/add_image_list.php b/app/Views/add_image_list.php index 034923f6..ff3770a1 100755 --- a/app/Views/add_image_list.php +++ b/app/Views/add_image_list.php @@ -16,6 +16,9 @@ table.dataTable thead th { max-width: 98% !important; } + +.dataTables_length label {height: 21px !important;} +
@@ -227,7 +230,7 @@ $(document).ready(function() { // "<'row'<'col-sm-5'i><'col-sm-7'p>>", 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-5'i><'col-sm-3 text-center'l><'col-sm-4 text-end'p>>", + "<'row align-items-center'<'col-5 text-start'i><'col-7 d-flex justify-content-end align-items-center'<'me-2'l>p>>", lengthMenu: [[10, 20, 50, 100], [10, 20, 50, 100]], buttons: [ { diff --git a/app/Views/batch_list.php b/app/Views/batch_list.php index 7e66110d..123950fb 100755 --- a/app/Views/batch_list.php +++ b/app/Views/batch_list.php @@ -13,6 +13,7 @@ overflow: hidden; text-overflow: ellipsis; } +.dataTables_length label {height: 21px !important;}
@@ -241,7 +242,7 @@ // }, 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-5'i><'col-sm-3 text-center'l><'col-sm-4 text-end'p>>", + "<'row align-items-center'<'col-5 text-start'i><'col-7 d-flex justify-content-end align-items-center'<'me-2'l>p>>", lengthMenu: [[10, 20, 50, 100], [10, 20, 50, 100]], buttons: [{ extend: 'collection', diff --git a/app/Views/bds_multi_report.php b/app/Views/bds_multi_report.php index 69d3b787..dab4e951 100644 --- a/app/Views/bds_multi_report.php +++ b/app/Views/bds_multi_report.php @@ -19,6 +19,7 @@ .right-align-input { text-align: right; } + .dataTables_length label {height: 21px !important;} @@ -94,7 +95,7 @@ // "<'row'<'col-sm-5'i><'col-sm-7'p>>", dom: "<'row'<'col-sm-6'f><'col-sm-6 text-right'B>>" + "<'row'<'col-sm-12'tr>>" + - "<'row'<'col-sm-5'i><'col-sm-3 text-center'l><'col-sm-4 text-end'p>>", + "<'row align-items-center'<'col-5 text-start'i><'col-7 d-flex justify-content-end align-items-center'<'me-2'l>p>>", lengthMenu: [[10, 20, 50, 100], [10, 20, 50, 100]], buttons: [ { diff --git a/app/Views/bds_renewal_report_list.php b/app/Views/bds_renewal_report_list.php index d1dd8c17..c4873dda 100644 --- a/app/Views/bds_renewal_report_list.php +++ b/app/Views/bds_renewal_report_list.php @@ -14,6 +14,8 @@ table.dataTable tbody td { table[data-custom-table-css="table"].dataTable thead th { padding-right: 20px !important; } + .dataTables_length label {height: 21px !important;} +
@@ -122,7 +124,7 @@ $(document).ready(function() { // "<'row'<'col-sm-5'i><'col-sm-7'p>>", // Pagination at the bottom, without page length selector dom: "<'row'<'col-sm-2'f><'col-sm-10 text-right'B>>" + // Filter left, buttons right "<'row'<'col-sm-12'tr>>" + - "<'row'<'col-sm-5'i><'col-sm-3 text-center'l><'col-sm-4 text-end'p>>", + "<'row align-items-center'<'col-5 text-start'i><'col-7 d-flex justify-content-end align-items-center'<'me-2'l>p>>", lengthMenu: [[10, 20, 50, 100], [10, 20, 50, 100]], buttons: [ { diff --git a/app/Views/bds_report_Insurer_wise_Data.php b/app/Views/bds_report_Insurer_wise_Data.php index a6e6e2a9..b122a7e1 100644 --- a/app/Views/bds_report_Insurer_wise_Data.php +++ b/app/Views/bds_report_Insurer_wise_Data.php @@ -23,6 +23,7 @@ table.dataTable tbody td { #scroll-horizontal-datatable tfoot .right-align-input { text-align: right !important; } +.dataTables_length label {height: 21px !important;}
@@ -79,7 +80,7 @@ table.dataTable tbody td { // "<'row'<'col-sm-5'i><'col-sm-7'p>>", // Pagination at the bottom, without page length selector dom: "<'row'<'col-sm-6'f><'col-sm-6 text-right'B>>" + // Filter left, buttons right "<'row'<'col-sm-12'tr>>" + - "<'row'<'col-sm-5'i><'col-sm-3 text-center'l><'col-sm-4 text-end'p>>", + "<'row align-items-center'<'col-5 text-start'i><'col-7 d-flex justify-content-end align-items-center'<'me-2'l>p>>", lengthMenu: [[10, 20, 50, 100], [10, 20, 50, 100]], buttons: [ { diff --git a/app/Views/bds_report_bap_wise_data.php b/app/Views/bds_report_bap_wise_data.php index 8a5b467a..812f0abf 100644 --- a/app/Views/bds_report_bap_wise_data.php +++ b/app/Views/bds_report_bap_wise_data.php @@ -23,6 +23,7 @@ table.dataTable tbody td { #scroll-horizontal-datatable tfoot .right-align-input { text-align: right !important; } +.dataTables_length label {height: 21px !important;} @@ -81,7 +82,7 @@ table.dataTable tbody td { // "<'row'<'col-sm-5'i><'col-sm-7'p>>", // Pagination at the bottom, without page length selector dom: "<'row'<'col-sm-6'f><'col-sm-6 text-right'B>>" + // Filter left, buttons right "<'row'<'col-sm-12'tr>>" + - "<'row'<'col-sm-5'i><'col-sm-3 text-center'l><'col-sm-4 text-end'p>>", + "<'row align-items-center'<'col-5 text-start'i><'col-7 d-flex justify-content-end align-items-center'<'me-2'l>p>>", lengthMenu: [[10, 20, 50, 100], [10, 20, 50, 100]], buttons: [ { diff --git a/app/Views/bds_tat_wise_report.php b/app/Views/bds_tat_wise_report.php index 41f85f71..6d904cec 100644 --- a/app/Views/bds_tat_wise_report.php +++ b/app/Views/bds_tat_wise_report.php @@ -19,6 +19,7 @@ .right-align-input { text-align: right; } + .dataTables_length label {height: 21px !important;} @@ -109,7 +110,7 @@ // ], dom: "<'row'<'col-sm-6'f><'col-sm-6 text-right'B>>" + "<'row'<'col-sm-12'tr>>" + - "<'row'<'col-sm-5'i><'col-sm-3 text-center'l><'col-sm-4 text-end'p>>", + "<'row align-items-center'<'col-5 text-start'i><'col-7 d-flex justify-content-end align-items-center'<'me-2'l>p>>", lengthMenu: [[10, 20, 50, 100], [10, 20, 50, 100]], buttons: [ { diff --git a/app/Views/business_team_list.php b/app/Views/business_team_list.php index c00fcd6e..3a91bf1e 100644 --- a/app/Views/business_team_list.php +++ b/app/Views/business_team_list.php @@ -43,6 +43,7 @@ color: #16181b !important; cursor: pointer !important; } + .dataTables_length label {height: 21px !important;} @@ -343,7 +344,7 @@ // "<'row'<'col-sm-5'i><'col-sm-7'p>>", // Pagination at the bottom, without page length selector dom: "<'row'<'col-sm-6'f><'col-sm-6 text-right'B>>" + // Filter left, buttons right "<'row'<'col-sm-12'tr>>" + - "<'row'<'col-sm-5'i><'col-sm-3 text-center'l><'col-sm-4 text-end'p>>", + "<'row align-items-center'<'col-5 text-start'i><'col-7 d-flex justify-content-end align-items-center'<'me-2'l>p>>", lengthMenu: [[10, 20, 50, 100], [10, 20, 50, 100]], buttons: [ { diff --git a/app/Views/cd_master_list.php b/app/Views/cd_master_list.php index 30c20b60..139a0c75 100755 --- a/app/Views/cd_master_list.php +++ b/app/Views/cd_master_list.php @@ -51,6 +51,8 @@ table.dataTable thead th { .dataTables_filter { position: absolute; } +.dataTables_length label {height: 21px !important;} + @@ -222,7 +224,7 @@ table.dataTable thead th { // "<'row'<'col-sm-5'i><'col-sm-7'p>>", dom: "<'row'<'col-sm-6'f><'col-sm-6 text-right'B>>" + "<'row'<'col-sm-12'tr>>" + - "<'row'<'col-sm-5'i><'col-sm-3 text-center'l><'col-sm-4 text-end'p>>", + "<'row align-items-center'<'col-5 text-start'i><'col-7 d-flex justify-content-end align-items-center'<'me-2'l>p>>", lengthMenu: [[10, 20, 50, 100], [10, 20, 50, 100]], buttons: [ { diff --git a/app/Views/claim_dump_file_list.php b/app/Views/claim_dump_file_list.php index a2f27a80..696d97ce 100644 --- a/app/Views/claim_dump_file_list.php +++ b/app/Views/claim_dump_file_list.php @@ -21,6 +21,7 @@ position: absolute; } + .dataTables_length label {height: 21px !important;} @@ -223,7 +225,7 @@ table.dataTable tbody td { padding: 4px 4px !important; } dom: "<'row'<'col-sm-6'f><'col-sm-6 text-right'B>>" + "<'row'<'col-sm-12'tr>>" + - "<'row'<'col-sm-5'i><'col-sm-3 text-center'l><'col-sm-4 text-end'p>>", + "<'row align-items-center'<'col-5 text-start'i><'col-7 d-flex justify-content-end align-items-center'<'me-2'l>p>>", lengthMenu: [[10, 20, 50, 100], [10, 20, 50, 100]], buttons: [ { @@ -349,7 +351,7 @@ table.dataTable tbody td { padding: 4px 4px !important; } dom: "<'row'<'col-sm-6'f><'col-sm-6 text-right'B>>" + "<'row'<'col-sm-12'tr>>" + - "<'row'<'col-sm-5'i><'col-sm-3 text-center'l><'col-sm-4 text-end'p>>", + "<'row align-items-center'<'col-5 text-start'i><'col-7 d-flex justify-content-end align-items-center'<'me-2'l>p>>", lengthMenu: [[10, 20, 50, 100], [10, 20, 50, 100]], buttons: [ { diff --git a/app/Views/irda_bap_client_report_list.php b/app/Views/irda_bap_client_report_list.php index 213423bf..d260a3ab 100644 --- a/app/Views/irda_bap_client_report_list.php +++ b/app/Views/irda_bap_client_report_list.php @@ -34,6 +34,7 @@ table.dataTable tbody td { #scroll-horizontal-datatable tfoot .right-align-input { text-align: right !important; } +.dataTables_length label {height: 21px !important;} @@ -211,7 +212,7 @@ $(document).ready(function() { // "<'row'<'col-sm-5'i><'col-sm-7'p>>", // Pagination at the bottom, without page length selector dom: "<'row'<'col-sm-6'f><'col-sm-6 text-right'B>>" + // Filter left, buttons right "<'row'<'col-sm-12'tr>>" + - "<'row'<'col-sm-5'i><'col-sm-3 text-center'l><'col-sm-4 text-end'p>>", + "<'row align-items-center'<'col-5 text-start'i><'col-7 d-flex justify-content-end align-items-center'<'me-2'l>p>>", lengthMenu: [[10, 20, 50, 100], [10, 20, 50, 100]], buttons: [ { diff --git a/app/Views/irda_bap_insurer_report_list.php b/app/Views/irda_bap_insurer_report_list.php index 5b2f2ad9..d02891af 100644 --- a/app/Views/irda_bap_insurer_report_list.php +++ b/app/Views/irda_bap_insurer_report_list.php @@ -24,6 +24,7 @@ table.dataTable tbody td { #scroll-horizontal-datatable tfoot .right-align-input { text-align: right !important; } +.dataTables_length label {height: 21px !important;}
@@ -297,7 +298,7 @@ $(document).ready(function() { // ], dom: "<'row'<'col-sm-6'f><'col-sm-6 text-right'B>>" + // Filter left, buttons right "<'row'<'col-sm-12'tr>>" + - "<'row'<'col-sm-5'i><'col-sm-3 text-center'l><'col-sm-4 text-end'p>>", + "<'row align-items-center'<'col-5 text-start'i><'col-7 d-flex justify-content-end align-items-center'<'me-2'l>p>>", lengthMenu: [[10, 20, 50, 100], [10, 20, 50, 100]], buttons: [ { diff --git a/app/Views/irda_client_report_list.php b/app/Views/irda_client_report_list.php index aca84738..468dc7c0 100644 --- a/app/Views/irda_client_report_list.php +++ b/app/Views/irda_client_report_list.php @@ -20,6 +20,7 @@ table.dataTable tbody td { .right-align-input { text-align: right; } +.dataTables_length label {height: 21px !important;}
@@ -133,7 +134,7 @@ $(document).ready(function() { // ], dom: "<'row'<'col-sm-6'f><'col-sm-6 text-right'B>>" + // Filter left, buttons right "<'row'<'col-sm-12'tr>>" + - "<'row'<'col-sm-5'i><'col-sm-3 text-center'l><'col-sm-4 text-end'p>>", + "<'row align-items-center'<'col-5 text-start'i><'col-7 d-flex justify-content-end align-items-center'<'me-2'l>p>>", lengthMenu: [[10, 20, 50, 100], [10, 20, 50, 100]], buttons: [ { diff --git a/app/Views/kyc_list.php b/app/Views/kyc_list.php index 54ca556f..fff20bdc 100755 --- a/app/Views/kyc_list.php +++ b/app/Views/kyc_list.php @@ -38,7 +38,7 @@ color: white; border:1px solid rgba(41, 139, 142, 1); } - +.dataTables_length label {height: 21px !important;}
@@ -181,7 +181,7 @@ // "<'row'<'col-sm-5'i><'col-sm-7'p>>" , 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-5'i><'col-sm-3 text-center'l><'col-sm-4 text-end'p>>", + "<'row align-items-center'<'col-5 text-start'i><'col-7 d-flex justify-content-end align-items-center'<'me-2'l>p>>", lengthMenu: [[10, 20, 50, 100], [10, 20, 50, 100]], buttons: [ { diff --git a/app/Views/leads_list.php b/app/Views/leads_list.php index 0ab3ab13..896a1117 100644 --- a/app/Views/leads_list.php +++ b/app/Views/leads_list.php @@ -139,7 +139,7 @@ table.dataTable tbody td { font-size: 0.9rem; padding: 0.5rem 1rem; } - +.dataTables_length label {height: 21px !important;} /* Modeal class */ @@ -463,7 +463,7 @@ table.dataTable tbody td { // "<'row'<'col-sm-5'i><'col-sm-7'p>>", // Pagination at the bottom, without page length selector dom: "<'row'<'col-sm-7'f><'col-sm-5 text-right'B>>" + // Filter left, buttons right "<'row'<'col-sm-12'tr>>" + - "<'row'<'col-sm-5'i><'col-sm-3 text-center'l><'col-sm-4 text-end'p>>", + "<'row align-items-center'<'col-5 text-start'i><'col-7 d-flex justify-content-end align-items-center'<'me-2'l>p>>", lengthMenu: [[10, 20, 50, 100], [10, 20, 50, 100]], buttons: [ { diff --git a/app/Views/mail_test.php b/app/Views/mail_test.php index 776909d3..e7d19666 100755 --- a/app/Views/mail_test.php +++ b/app/Views/mail_test.php @@ -8,7 +8,7 @@
- +
diff --git a/app/Views/nhance_branch_list.php b/app/Views/nhance_branch_list.php index 3f8b2941..ba1536bf 100644 --- a/app/Views/nhance_branch_list.php +++ b/app/Views/nhance_branch_list.php @@ -2,6 +2,7 @@ .dataTables_filter { position: absolute; } +.dataTables_length label {height: 21px !important;} @@ -99,7 +100,7 @@ // "<'row'<'col-sm-5'i><'col-sm-7'p>>", // Pagination at the bottom, without page length selector dom: "<'row'<'col-sm-7'f><'col-sm-5 text-right'B>>" + // Filter left, buttons right "<'row'<'col-sm-12'tr>>" + - "<'row'<'col-sm-5'i><'col-sm-3 text-center'l><'col-sm-4 text-end'p>>", + "<'row align-items-center'<'col-5 text-start'i><'col-7 d-flex justify-content-end align-items-center'<'me-2'l>p>>", lengthMenu: [[10, 20, 50, 100], [10, 20, 50, 100]], buttons: [ { diff --git a/app/Views/outstanding_report_list.php b/app/Views/outstanding_report_list.php index 2540df0c..ac91143f 100644 --- a/app/Views/outstanding_report_list.php +++ b/app/Views/outstanding_report_list.php @@ -33,6 +33,7 @@ padding-right: 15px !important; padding-left: 15px !important; } + .dataTables_length label {height: 21px !important;}
@@ -183,7 +184,7 @@ // "<'row'<'col-sm-5'i><'col-sm-7'p>>", // Pagination at the bottom, without page length selector dom: "<'row'<'col-sm-6'f><'col-sm-6 text-right'B>>" + // Filter left, buttons right "<'row'<'col-sm-12'tr>>" + - "<'row'<'col-sm-5'i><'col-sm-3 text-center'l><'col-sm-4 text-end'p>>", + "<'row align-items-center'<'col-5 text-start'i><'col-7 d-flex justify-content-end align-items-center'<'me-2'l>p>>", lengthMenu: [[10, 20, 50, 100], [10, 20, 50, 100]], buttons: [{ extend: 'collection', diff --git a/app/Views/payout_list.php b/app/Views/payout_list.php index a60b63e5..e81a2897 100644 --- a/app/Views/payout_list.php +++ b/app/Views/payout_list.php @@ -176,6 +176,7 @@ min-height: 40px; vertical-align: middle; } + .dataTables_length label {height: 21px !important;} @@ -306,7 +307,7 @@ // "<'row'<'col-sm-5'i><'col-sm-7'p>>", // Pagination at the bottom, without page length selector dom: "<'row'<'col-sm-6'f><'col-sm-6 text-right'B>>" + // Filter left, buttons right "<'row'<'col-sm-12'tr>>" + - "<'row'<'col-sm-5'i><'col-sm-3 text-center'l><'col-sm-4 text-end'p>>", + "<'row align-items-center'<'col-5 text-start'i><'col-7 d-flex justify-content-end align-items-center'<'me-2'l>p>>", lengthMenu: [[10, 20, 50, 100], [10, 20, 50, 100]], buttons: [ { diff --git a/app/Views/policy_transaction_endorsement_list.php b/app/Views/policy_transaction_endorsement_list.php index 35bc182c..5d739144 100644 --- a/app/Views/policy_transaction_endorsement_list.php +++ b/app/Views/policy_transaction_endorsement_list.php @@ -164,6 +164,7 @@ table.dataTable thead th { .slider.round:before { border-radius: 50%; } + .dataTables_length label {height: 21px !important;}
@@ -495,7 +496,7 @@ table.dataTable thead th { // "<'row'<'col-sm-5'i><'col-sm-7'p>>", // Pagination at the bottom, without page length selector dom: "<'row'<'col-12 d-flex justify-content-between'<'datatable-search dataTables_filter'f><'datatable-buttons dt-buttons'B>>>" + "<'row'<'col-sm-12'tr>>" + - "<'row'<'col-sm-5'i><'col-sm-3 text-center'l><'col-sm-4 text-end'p>>", + "<'row align-items-center'<'col-5 text-start'i><'col-7 d-flex justify-content-end align-items-center'<'me-2'l>p>>", lengthMenu: [[10, 20, 50, 100], [10, 20, 50, 100]], buttons: [ { diff --git a/app/Views/policy_transaction_inception_list.php b/app/Views/policy_transaction_inception_list.php index 762a656d..4a0b6e29 100644 --- a/app/Views/policy_transaction_inception_list.php +++ b/app/Views/policy_transaction_inception_list.php @@ -142,6 +142,7 @@ table.dataTable tbody td { #inception_list{ margin-left:20px !important; } + .dataTables_length label {height: 21px !important;} @@ -567,7 +568,7 @@ $(document).ready(function() { // "<'row'<'col-sm-5'i><'col-sm-7'p>>", // Pagination at the bottom, without page length selector dom: "<'row'<'col-12 d-flex justify-content-between'<'datatable-search dataTables_filter'f><'datatable-buttons dt-buttons'B>>>" + "<'row'<'col-sm-12'tr>>" + - "<'row'<'col-sm-5'i><'col-sm-3 text-center'l><'col-sm-4 text-end'p>>", + "<'row align-items-center'<'col-5 text-start'i><'col-7 d-flex justify-content-end align-items-center'<'me-2'l>p>>", lengthMenu: [[10, 20, 50, 100], [10, 20, 50, 100]], buttons: [ { diff --git a/app/Views/policy_type_list.php b/app/Views/policy_type_list.php index 163a0a83..eeccbb28 100755 --- a/app/Views/policy_type_list.php +++ b/app/Views/policy_type_list.php @@ -65,6 +65,7 @@ z-index: -2; pointer-events: none; } + .dataTables_length label {height: 21px !important;}
@@ -232,7 +233,7 @@ // ], 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-5'i><'col-sm-3 text-center'l><'col-sm-4 text-end'p>>", + "<'row align-items-center'<'col-5 text-start'i><'col-7 d-flex justify-content-end align-items-center'<'me-2'l>p>>", lengthMenu: [[10, 20, 50, 100], [10, 20, 50, 100]], buttons: [ { diff --git a/app/Views/report_bds.php b/app/Views/report_bds.php index 1d0a298a..19e071c7 100644 --- a/app/Views/report_bds.php +++ b/app/Views/report_bds.php @@ -33,7 +33,7 @@ table.dataTable tbody td { flex-wrap: wrap; gap: 8px; } - +.dataTables_length label {height: 21px !important;} @@ -288,7 +288,7 @@ $(document).ready(function() { // ], dom: "<'row'<'col-sm-6'f><'col-sm-6 text-right'B>>" + // Filter left, buttons right "<'row'<'col-sm-12'tr>>" + - "<'row'<'col-sm-5'i><'col-sm-3 text-center'l><'col-sm-4 text-end'p>>", + "<'row align-items-center'<'col-5 text-start'i><'col-7 d-flex justify-content-end align-items-center'<'me-2'l>p>>", lengthMenu: [[10, 20, 50, 100], [10, 20, 50, 100]], buttons: [ { diff --git a/app/Views/report_bds_new.php b/app/Views/report_bds_new.php index e6ef2f89..1bb808aa 100644 --- a/app/Views/report_bds_new.php +++ b/app/Views/report_bds_new.php @@ -33,6 +33,7 @@ flex-wrap: wrap; gap: 8px; } + .dataTables_length label {height: 21px !important;} @@ -357,7 +358,7 @@ // ], dom: "<'row'<'col-sm-6'f><'col-sm-6 text-right'B>>" + // Filter left, buttons right "<'row'<'col-sm-12'tr>>" + - "<'row'<'col-sm-5'i><'col-sm-3 text-center'l><'col-sm-4 text-end'p>>", + "<'row align-items-center'<'col-5 text-start'i><'col-7 d-flex justify-content-end align-items-center'<'me-2'l>p>>", lengthMenu: [[10, 20, 50, 100], [10, 20, 50, 100]], buttons: [ { diff --git a/app/Views/report_bds_old.php b/app/Views/report_bds_old.php index cd5a3db1..52d16677 100644 --- a/app/Views/report_bds_old.php +++ b/app/Views/report_bds_old.php @@ -20,6 +20,7 @@ table.dataTable tbody td { .right-align-input { text-align: right; } +.dataTables_length label {height: 21px !important;}
@@ -154,7 +155,7 @@ $(document).ready(function() { // "<'row'<'col-sm-5'i><'col-sm-7'p>>", // Pagination at the bottom, without page length selector dom: "<'row'<'col-sm-6'f><'col-sm-6 text-right'B>>" + // Filter left, buttons right "<'row'<'col-sm-12'tr>>" + - "<'row'<'col-sm-5'i><'col-sm-3 text-center'l><'col-sm-4 text-end'p>>", + "<'row align-items-center'<'col-5 text-start'i><'col-7 d-flex justify-content-end align-items-center'<'me-2'l>p>>", lengthMenu: [[10, 20, 50, 100], [10, 20, 50, 100]], buttons: [ { diff --git a/app/Views/retail_endorsement_list.php b/app/Views/retail_endorsement_list.php index 046dbb37..d01de408 100755 --- a/app/Views/retail_endorsement_list.php +++ b/app/Views/retail_endorsement_list.php @@ -28,6 +28,7 @@ color: #00999E !important; transform: scale(1.5); } + .dataTables_length label {height: 21px !important;}
@@ -140,7 +141,7 @@ " . $ct . ""; endif; ?> <'datatable-buttons dt-buttons'B>>>" + "<'row'<'col-sm-12'tr>>" + - "<'row'<'col-sm-5'i><'col-sm-3 text-center'l><'col-sm-4 text-end'p>>", + "<'row align-items-center'<'col-5 text-start'i><'col-7 d-flex justify-content-end align-items-center'<'me-2'l>p>>", lengthMenu: [[10, 20, 50, 100], [10, 20, 50, 100]], buttons: [{ extend: 'collection', diff --git a/app/Views/rto_master_list.php b/app/Views/rto_master_list.php index 375f6dbf..f95d688b 100644 --- a/app/Views/rto_master_list.php +++ b/app/Views/rto_master_list.php @@ -1,7 +1,6 @@ @@ -122,7 +121,7 @@ // "<'row'<'col-sm-5'i><'col-sm-7'p>>", // Pagination at the bottom, without page length selector dom: "<'row'<'col-sm-7'f><'col-sm-5 text-right'B>>" + // Filter left, buttons right "<'row'<'col-sm-12'tr>>" + - "<'row'<'col-sm-5'i><'col-sm-3 text-center'l><'col-sm-4 text-end'p>>", + "<'row align-items-center'<'col-5 text-start'i><'col-7 d-flex justify-content-end align-items-center'<'me-2'l>p>>", lengthMenu: [[10, 20, 50, 100], [10, 20, 50, 100]], buttons: [ { diff --git a/app/Views/tat_report_band_wise_list.php b/app/Views/tat_report_band_wise_list.php index 3dc50a4a..d75b74d2 100644 --- a/app/Views/tat_report_band_wise_list.php +++ b/app/Views/tat_report_band_wise_list.php @@ -17,6 +17,7 @@ .right-align-input { text-align: right; } + .dataTables_length label {height: 21px !important;}
@@ -113,7 +114,7 @@ // ], dom: "<'row'<'col-sm-6'f><'col-sm-6 text-right'B>>" + // Filter left, buttons right "<'row'<'col-sm-12'tr>>" + - "<'row'<'col-sm-5'i><'col-sm-3 text-center'l><'col-sm-4 text-end'p>>", + "<'row align-items-center'<'col-5 text-start'i><'col-7 d-flex justify-content-end align-items-center'<'me-2'l>p>>", lengthMenu: [[10, 20, 50, 100], [10, 20, 50, 100]], buttons: [ { diff --git a/app/Views/test_members_list.php b/app/Views/test_members_list.php index d2e1c968..4f880091 100644 --- a/app/Views/test_members_list.php +++ b/app/Views/test_members_list.php @@ -120,7 +120,7 @@ th:first-child, td:first-child { background-color:#00999E ; margin-right:10px; } - +.dataTables_length label {height: 21px !important;} @@ -544,7 +544,7 @@ document.addEventListener("DOMContentLoaded", function () { // "<'row'<'col-sm-5'i><'col-sm-7'p>>", // Pagination at the bottom, without page length selector dom: "<'row'<'col-sm-6'f><'col-sm-6 text-right'B>>" + // Filter left, buttons right "<'row'<'col-sm-12'tr>>" + - "<'row'<'col-sm-5'i><'col-sm-3 text-center'l><'col-sm-4 text-end'p>>", + "<'row align-items-center'<'col-5 text-start'i><'col-7 d-flex justify-content-end align-items-center'<'me-2'l>p>>", lengthMenu: [[10, 20, 50, 100], [10, 20, 50, 100]], buttons: [{ text:'Map Employees', diff --git a/app/Views/thz_list.php b/app/Views/thz_list.php index d1af303b..dde7ad77 100644 --- a/app/Views/thz_list.php +++ b/app/Views/thz_list.php @@ -35,6 +35,20 @@ table.dataTable tbody td { color: #6c757d !important; } +/* don't erase it. keep it safe +beccause = dataTables_length and dataTables_paginate need in same line thats why i tried in css ... +.dataTables_info, +.dataTables_length, +.dataTables_paginate { + display: flex; + align-items: center; +} */ + +.dataTables_length label { + height: 21px !important; +} + +
@@ -86,7 +100,7 @@ table.dataTable tbody td { " . $ct . ""; endif; ?> @@ -94,7 +108,7 @@ table.dataTable tbody td { " . $ut . ""; endif; ?> @@ -325,7 +339,7 @@ table.dataTable tbody td { // "<'row'<'col-sm-5'i><'col-sm-7'p>>", // Pagination at the bottom, without page length selector dom: "<'row'<'col-sm-7'f><'col-sm-5 text-right'B>>" + // Filter left, buttons right "<'row'<'col-sm-12'tr>>" + - "<'row'<'col-sm-5'i><'col-sm-3 text-center'l><'col-sm-4 text-end'p>>", + "<'row align-items-center'<'col-5 text-start'i><'col-7 d-flex justify-content-end align-items-center'<'me-2'l>p>>", lengthMenu: [[10, 20, 50, 100], [10, 20, 50, 100]], buttons: [ { diff --git a/app/Views/thz_notes.php b/app/Views/thz_notes.php index b3d26b07..959a1633 100644 --- a/app/Views/thz_notes.php +++ b/app/Views/thz_notes.php @@ -274,7 +274,7 @@ hr{
- +
@@ -410,7 +410,7 @@ data-backdrop="static" diff --git a/app/Views/ticket_conversation.php b/app/Views/ticket_conversation.php index 6f4ddcdb..57d8370f 100644 --- a/app/Views/ticket_conversation.php +++ b/app/Views/ticket_conversation.php @@ -23,7 +23,7 @@
-
format('j F Y h:i a');?>
+
format('j F Y h:i A');?>

@@ -69,7 +69,7 @@
-
format('j F Y h:i a');?>
+
format('j F Y h:i A');?>

diff --git a/app/Views/ticket_feedback_list.php b/app/Views/ticket_feedback_list.php index 98949761..048c3663 100644 --- a/app/Views/ticket_feedback_list.php +++ b/app/Views/ticket_feedback_list.php @@ -34,7 +34,7 @@ table.dataTable tbody td { text-overflow: ellipsis !important; white-space: nowrap !important; } - +.dataTables_length label {height: 21px !important;} @@ -114,7 +114,7 @@ $(document).ready(function() { // ], dom: "<'row'<'col-sm-6'f><'col-sm-6 text-right'B>>" + // Filter left, buttons right "<'row'<'col-sm-12'tr>>" + - "<'row'<'col-sm-5'i><'col-sm-3 text-center'l><'col-sm-4 text-end'p>>", + "<'row align-items-center'<'col-5 text-start'i><'col-7 d-flex justify-content-end align-items-center'<'me-2'l>p>>", lengthMenu: [[10, 20, 50, 100], [10, 20, 50, 100]], buttons: [ { diff --git a/app/Views/ticket_form_gmc.php b/app/Views/ticket_form_gmc.php index f59eab7b..c6ddf052 100644 --- a/app/Views/ticket_form_gmc.php +++ b/app/Views/ticket_form_gmc.php @@ -372,7 +372,8 @@