Update changes from server

This commit is contained in:
Amir
2023-05-25 12:05:19 +08:00
parent 44b861e67d
commit 996a3f6009
5 changed files with 13 additions and 19 deletions
@@ -1382,6 +1382,7 @@ class ReportController extends Controller
$total_keuntungan_asal = $transaksi_keuntungan->sum('bayaran_keuntungan');
$beza_keuntungan = $total_keuntungan_asal - $total_rebet;
$jbg_belum_bayar = 0;
if ($gadai_true->tempohbayar == $gadai_true->tempoh) {
$keuntungan_belum_bayar = 0.00;
} else if ($gadai_true->tempohbayar >= 12) {
@@ -1407,6 +1408,7 @@ class ReportController extends Controller
foreach ($gadai_all as $index90 => $gadai) {
if (!$transaksi_keuntungan_all->contains('norujukan', $gadai->norujukan)) {
$jbg_belum_bayar = 0;
if ($gadai->tempohbayar == $gadai->tempoh) {
$keuntungan_belum_bayar = 0.00;
} else if ($gadai->tempohbayar >= 12) {