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