Co-authored-by: ISMAIL MASSERAN <topaz@Mac.dlinkrouter.local> Reviewed-on: #20
This commit was merged in pull request #20.
This commit is contained in:
@@ -52,6 +52,7 @@
|
||||
<th>No K/P</th>
|
||||
<th>Tarikh Pembiayaan</th>
|
||||
<th>No Rujukan</th>
|
||||
<th>Cara Terima</th>
|
||||
<th>Pembiayaan (RM)</th>
|
||||
<th>Keuntungan Lain-lain Caj (RM) </th>
|
||||
<th>Keuntungan 1% (RM)</th>
|
||||
@@ -61,7 +62,7 @@
|
||||
</tr>
|
||||
</thead>
|
||||
<tfoot class="thead-dark">
|
||||
<th colspan="5">TOTAL</th>
|
||||
<th colspan="6">TOTAL</th>
|
||||
<th id="pinjamantotal"></th>
|
||||
<th id="ujrahtotal"></th>
|
||||
<th id="onepercenttotal"></th>
|
||||
@@ -300,6 +301,10 @@
|
||||
|
||||
total_upah12 += upah12;
|
||||
|
||||
var caraTerima = String(gadai['cara_terima'] || 'TUNAI').toUpperCase() === 'ONLINE'
|
||||
? 'Online'
|
||||
: 'Tunai';
|
||||
|
||||
// Pastikan semua nilai ada sebelum add row
|
||||
tablegadai.row.add([
|
||||
counter,
|
||||
@@ -307,6 +312,7 @@
|
||||
gadai['nokp'] || '-',
|
||||
gadai['t_gadai'] || '-',
|
||||
gadai['norujukan'] || '-',
|
||||
caraTerima,
|
||||
formatter.format(pinjaman),
|
||||
formatter.format(ujrah * 12),
|
||||
formatter.format(onepercent * 12),
|
||||
|
||||
Reference in New Issue
Block a user