From 9ce63504c0ebef0082429af158d3c3d90b5b97ce Mon Sep 17 00:00:00 2001 From: "venkatesh.r" Date: Tue, 4 Feb 2025 16:14:54 +0530 Subject: [PATCH] FIX_TOTAL_TAT : RV --- app/Views/tat_report_band_wise_list.php | 143 ++++++++++++++---------- 1 file changed, 87 insertions(+), 56 deletions(-) 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