fix dashboard and penebusan laporan
This commit is contained in:
@@ -99,6 +99,10 @@
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
const formatter = new Intl.NumberFormat('en-US', {
|
||||
minimumFractionDigits: 2
|
||||
});
|
||||
|
||||
function gadaitable(data){
|
||||
var counter = 1;
|
||||
@@ -120,7 +124,7 @@
|
||||
gadai['berat']
|
||||
]).draw();
|
||||
$('#bilangan_surat').text(counter);
|
||||
$('#jumlah_pinjaman').text('RM '+total_pinjaman);
|
||||
$('#jumlah_pinjaman').text('RM '+ formatter.format(total_pinjaman.toFixed(2)));
|
||||
counter = counter + 1;
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user