FIX_The premium has been calculated as the total premium, but it should display only the premium without GST.
This commit is contained in:
parent
cdabe7673e
commit
340541ef45
@ -554,7 +554,7 @@ $(document).ready(function() {
|
|||||||
};
|
};
|
||||||
|
|
||||||
// Compute totals by column index
|
// Compute totals by column index
|
||||||
var totalPremium = getTotal(21);
|
var totalPremium = getTotal(20);
|
||||||
var totalRewards = getTotal(24);
|
var totalRewards = getTotal(24);
|
||||||
var totalIrda = getTotal(25);
|
var totalIrda = getTotal(25);
|
||||||
var totalBilled = getTotal(26);
|
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);
|
||||||
|
});
|
||||||
|
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
Loading…
Reference in New Issue
Block a user