Update changes from server

This commit is contained in:
Amir
2023-06-19 10:40:52 +08:00
parent 464a7c14d0
commit 7875c51a73
3 changed files with 5 additions and 4 deletions
+2 -1
View File
@@ -3709,6 +3709,7 @@ class LelongController extends Controller
$total_untung_rebet = $data_transaksi->sum('keuntungan_rebet');
$total_untung_asal = $data_transaksi->sum('bayaran_keuntungan');
$beza_keuntungan = $total_untung_asal - $total_untung_rebet;
$beza_keuntungan = bcdiv($beza_keuntungan, 1, 2);
// dd($beza_keuntungan);
// dd(true);
$jbg = $datagadai->tempoh - $datagadai->tempohbayar;
@@ -3740,7 +3741,7 @@ class LelongController extends Controller
$totalbaki = $lelongbid_true->hargaasas - $lelongbid_true->pinjaman - $lelongbid_true->bakiupah - $cajlelongnew;
$customer['gadai'][$index2]['bakilelong'] = $totalbaki;
$customer['gadai'][$index2]['ktlhbyr'] = $ktlhbyr;
$customer['gadai'][$index2]['keuntungan'] = $keuntungan;
$customer['gadai'][$index2]['keuntungan'] = bcdiv($keuntungan,1,1);
}
}
// dd($customer);