added denominasi

This commit is contained in:
hafifierahman
2024-11-04 01:19:10 +08:00
parent 3a7259a64c
commit 9443075afd
3 changed files with 12 additions and 3 deletions
+3 -3
View File
@@ -328,8 +328,8 @@ class TellerServices
'tarikh' => $current->toDateString(),
'kodcaw'=> $this->cawangan,
'kodlaluan'=>$request->teller,
'tambah'=>$request->amt,
'kurang'=> 0,
'tambah'=>0,
'kurang'=> $request->amt,
'nota'=>$request->nota,
'created_at'=>$current
]);
@@ -347,7 +347,7 @@ class TellerServices
}
$total_teller_deposit = $tunai['kurang'] + $request->amt;
$remaining_teller_cashflow = $tunai['baki'] + $request->amt;
$remaining_teller_cashflow = $tunai['baki'] - $request->amt;
Tunai::on($cawangan['mysql'])->where( [['tarikh','=', $current->toDateString()],['kodlaluan','=', $request->teller] ])->
update(array(