diff --git a/app/Views/tat_report_band_wise_list.php b/app/Views/tat_report_band_wise_list.php index 204b4542..0666ece7 100644 --- a/app/Views/tat_report_band_wise_list.php +++ b/app/Views/tat_report_band_wise_list.php @@ -1,25 +1,25 @@
@@ -35,20 +35,51 @@ table.dataTable tbody td { - - + + + + + - - - - - + + $value): + // Convert numeric values to integer (ignore 'tat_category') + $numValue = is_numeric($value) ? (int) $value : 0; + + if ($key != 'TAT_Category') { + $columnTotals[$key] += $numValue; // Add to column total + $rowTotal += $numValue; // Add to row total + } + ?> + + + + + + + $total): ?> + + + + + + +
TOTAL
+
@@ -61,41 +92,41 @@ table.dataTable tbody td { \ No newline at end of file