fix rounded diskaun rebate

This commit is contained in:
nurafrinaalimi16
2025-05-27 12:23:23 +08:00
parent 1d4c5d47f3
commit e95e7671ed
@@ -676,6 +676,8 @@
kadar_rebate = 20;
}
rebate = getRoundedMethod(rebate); // ✅ Round rebate before displaying
// **Display values**
$('.span-pinjaman').text(formatter.format(percent_pinjaman.toFixed(2)) + ' %');
$('#keuntungan_sebulan').val(formatter.format(keuntungan_sebulan.toFixed(2)));