From 340541ef45d247161727bc6f6341912f5a86de02 Mon Sep 17 00:00:00 2001 From: "venkatesh.r" Date: Fri, 28 Nov 2025 15:55:57 +0530 Subject: [PATCH] FIX_The premium has been calculated as the total premium, but it should display only the premium without GST. --- app/Views/report_bds.php | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/app/Views/report_bds.php b/app/Views/report_bds.php index f1016e6f..3f876825 100644 --- a/app/Views/report_bds.php +++ b/app/Views/report_bds.php @@ -554,7 +554,7 @@ $(document).ready(function() { }; // Compute totals by column index - var totalPremium = getTotal(21); + var totalPremium = getTotal(20); var totalRewards = getTotal(24); var totalIrda = getTotal(25); var totalBilled = getTotal(26); @@ -635,5 +635,10 @@ function appendTableData(data) { }); } +$('table tbody').on('click', 'td', function () { + var index = $(this).index(); + console.log('Clicked TD index:', index); +}); + \ No newline at end of file