diff --git a/app/Views/batch_list.php b/app/Views/batch_list.php
index 96d441b0..c7618915 100755
--- a/app/Views/batch_list.php
+++ b/app/Views/batch_list.php
@@ -1,4 +1,5 @@
diff --git a/app/Views/client_info.php b/app/Views/client_info.php
index aeb052cf..046b78f5 100755
--- a/app/Views/client_info.php
+++ b/app/Views/client_info.php
@@ -10,11 +10,20 @@
+
+
+
+
+
-
-
-
-
+
@@ -23,14 +32,19 @@
+
+
+ Client Basic Information
-
+
@@ -228,8 +242,9 @@
+
+
-
diff --git a/app/Views/client_list.php b/app/Views/client_list.php
index 1934afb8..88e26a8c 100755
--- a/app/Views/client_list.php
+++ b/app/Views/client_list.php
@@ -205,6 +205,10 @@ table.dataTable thead th {
Delete
+
+ Open Client Details
+
+
@@ -257,6 +261,7 @@ table.dataTable thead th {
diff --git a/app/Views/employee_data_list.php b/app/Views/employee_data_list.php
index f02db90b..15df09cf 100755
--- a/app/Views/employee_data_list.php
+++ b/app/Views/employee_data_list.php
@@ -91,9 +91,9 @@ if ($emp_show_branch) {
$emp_header_labels[] = 'Branch';
}
$emp_header_labels = array_merge($emp_header_labels, [
- 'Name', 'EMP Code', 'Relationship', 'Gender', 'Email', 'Mobile', 'Date of Birth',
- 'Policy name', 'Insurer name', 'TPA ID', 'Risk ID', 'Policy status',
- '(₹)Sum Insured', '(₹)Premium', '(₹)Pro Rata Premium', '(₹)GST', 'Action',
+ 'Name ', 'EMP Code ', 'Relationship ', 'Gender ', 'Email', 'Mobile', 'Date of Birth',
+ 'Policy name ', 'Insurer name ', 'TPA ID ', 'Risk ID ', 'Policy status ',
+ '(₹)Sum Insured ', '(₹)Premium ', '(₹)Pro Rata Premium ', '(₹)GST ', 'Action ',
]);
$emp_col_count = count($emp_header_labels);
$emp_col_max_len = array_fill(0, $emp_col_count, 0);
@@ -157,8 +157,20 @@ if (isset($employees)) {
$emp_col_max_len[$emp_col_count - 6] = max($emp_col_max_len[$emp_col_count - 6], mb_strlen('Total'));
$emp_col_min_px = array_fill(0, $emp_col_count, 80);
$emp_col_max_px = array_fill(0, $emp_col_count, 360);
-$emp_col_min_px[0] = 48;
-$emp_col_max_px[0] = 72;
+$emp_col_min_px[0] = 64;
+$emp_col_max_px[0] = 88;
+
+$emp_dynamic_idx = 1;
+if ($emp_show_client_branch || $emp_show_branch) {
+ $emp_col_min_px[$emp_dynamic_idx] = max($emp_col_min_px[$emp_dynamic_idx], 120);
+ $emp_col_max_px[$emp_dynamic_idx] = max($emp_col_max_px[$emp_dynamic_idx], 190);
+ $emp_dynamic_idx++;
+}
+$emp_col_min_px[$emp_dynamic_idx] = max($emp_col_min_px[$emp_dynamic_idx], 110); // Name
+$emp_dynamic_idx++;
+$emp_col_min_px[$emp_dynamic_idx] = max($emp_col_min_px[$emp_dynamic_idx], 100); // EMP Code
+$emp_col_max_px[$emp_dynamic_idx] = max($emp_col_max_px[$emp_dynamic_idx], 140);
+
$emp_col_min_px[$emp_col_count - 1] = 72;
$emp_col_max_px[$emp_col_count - 1] = 96;
$emp_col_width_px = nhance_dt_column_widths_px($emp_header_labels, $emp_col_max_len, $emp_col_min_px, $emp_col_max_px);
@@ -183,6 +195,11 @@ $gst_total = 0;
vertical-align: middle;
}
+ #employee-data-list-table,
+ #employee-data-list-table_wrapper .dataTables_scrollHead table,
+ #employee-data-list-table_wrapper .dataTables_scrollBody table {
+ table-layout: fixed !important;
+ }
#employee-data-list-table tbody td:not(:last-child) {
overflow: hidden;
text-overflow: ellipsis;
@@ -201,6 +218,15 @@ $gst_total = 0;
font-size: 13px;
line-height: 1.25;
}
+ #employee-data-list-table_wrapper table.dataTable thead .sorting:before,
+ #employee-data-list-table_wrapper table.dataTable thead .sorting:after,
+ #employee-data-list-table_wrapper table.dataTable thead .sorting_asc:before,
+ #employee-data-list-table_wrapper table.dataTable thead .sorting_asc:after,
+ #employee-data-list-table_wrapper table.dataTable thead .sorting_desc:before,
+ #employee-data-list-table_wrapper table.dataTable thead .sorting_desc:after {
+ right: 0.55rem !important;
+ opacity: 1 !important;
+ }
@@ -213,7 +239,7 @@ $gst_total = 0;