added denominasi
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user