update arcc last byar kb1

This commit is contained in:
BTMS2
2025-03-12 16:12:05 +08:00
parent e58927e1fc
commit 0033ed240a
+7 -2
View File
@@ -7,7 +7,7 @@
@include('modal.agh')
<div class="container">
<div class="container-fluid">
<div class="row justify-content-center">
<div class="col-md-12 col-lg-12">
@@ -155,7 +155,8 @@
<th>Margin</th>
<th>Tempoh</th>
<th>Keuntungan</th>
<th>Lelong</th>
<th>Lelong</th>
<th>Pembayaran Terakhir</th>
</tr>
</thead>
</table>
@@ -722,6 +723,7 @@
}
var taglel = '';
var lastbayar = '';
if(gadai_detail['taglel'] == 1){
if(tagarrahnbid == 1){
$.ajax({
@@ -731,6 +733,7 @@
success: function(data){
taglel = data.lelong.t_lelong;
lastbayar = data.lelong.lastbayar;
}
});
} else {
@@ -744,6 +747,7 @@
},
success: function(v){
taglel = v.t_lelong;
}
});
}
@@ -777,6 +781,7 @@
gadai_detail['tempoh'],
'RM '+ formatter.format(upahsemasa),
'<div style="white-space: nowrap; color:red; font-weight: bolder">' + taglel + '</div>',
'<div style="white-space: nowrap; color:red; font-weight: bolder">' + lastbayar + '</div>',
]).draw();
}
}else if(jenistebus == "sudah_tebus"){