diff --git a/resources/views/gadaian/v2/index.blade.php b/resources/views/gadaian/v2/index.blade.php index 4ba7a3f6..5929cb3c 100644 --- a/resources/views/gadaian/v2/index.blade.php +++ b/resources/views/gadaian/v2/index.blade.php @@ -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)));