fix wcy dan kb2

This commit is contained in:
MUHD HAFIFIE
2021-05-07 16:52:04 +08:00
parent c9fe61ebbb
commit 0ab4c4966a
4 changed files with 44 additions and 23 deletions
+1 -1
View File
@@ -85,7 +85,7 @@ class TunaiController extends Controller
$current = new Carbon();
$cawangan = Cawangan::on('mysql7')->where('kodcaw','=',$kodcaw)->first();
$updatetunai=Tunai::on($cawangan['mysql'])->where( [['tarikh','=', $current->toDateString()],['kodlaluan','=', $request->kodlaluan] ])->
$updatetunai = Tunai::on($cawangan['mysql'])->where( [['tarikh','=', $current->toDateString()],['kodlaluan','=', $request->kodlaluan] ])->
update(array(
'keluar'=>$request->keluar,
'masuk'=>$request->masuk,