Fix data fasilitas 6
This commit is contained in:
@ -446,9 +446,7 @@ class KonfirmasiBankController extends Controller
|
||||
}
|
||||
|
||||
$DataDepo = [];
|
||||
try {
|
||||
$Deposito = $Account->getDepo($request['cusNo'], $arrAccount, $dateCoreDepo)->get();
|
||||
if ($Deposito->isNotEmpty()) {
|
||||
foreach ($Deposito as $keyDep => $depo) {
|
||||
$DataDepo[$keyDep]['ACCOUNT_NUMBER'] = $depo->NO_REK;
|
||||
$DataDepo[$keyDep]['BATCH_DATE'] = $depo->PERIOD;
|
||||
@ -460,10 +458,6 @@ class KonfirmasiBankController extends Controller
|
||||
$DataDepo[$keyDep]['FIXED_RATE'] = number_format($depo->SUKU_BUNGA, 2, ',', '.') ?? '';
|
||||
$DataDepo[$keyDep]['TERM'] = substr($depo->KODE_SUB_PRODUK, 0, -1);
|
||||
}
|
||||
}
|
||||
} catch (\Throwable $th) {
|
||||
return redirect()->route('konfirmasibank.timeout');
|
||||
}
|
||||
|
||||
|
||||
$Arrangement = $Account->getPinjaman($request['cusNo'], $dateCoreAccount)->get();
|
||||
@ -517,8 +511,6 @@ class KonfirmasiBankController extends Controller
|
||||
}
|
||||
}
|
||||
|
||||
dd( $fasilitas);
|
||||
|
||||
//Get DatA Anjak
|
||||
$ListAnjak = $Account->getAccountAnjak($rekEscrow, $dateCoreAccount)->get();
|
||||
$totalOutstanding = $ListAnjak->sum('OUTSTANDING') != null ? number_format(abs($ListAnjak->sum('OUTSTANDING')), 2, ',', '.') : 'NIHIL';
|
||||
|
Reference in New Issue
Block a user