updated untuk push 28-9-2022

This commit is contained in:
hafifierahman
2022-09-28 02:43:40 +08:00
parent 9f81fcdac6
commit 6045853f52
6 changed files with 162 additions and 15 deletions
+18
View File
@@ -621,6 +621,24 @@ class TunaiController extends Controller
}
}
}
public function CheckProsesReqTeller(Request $request){
$current = new Carbon();
$current = Carbon::now();
$cawangan = Cawangan::on('mysql7')->where('kodcaw','=',$request->kodcaw)->first();
$requestteller=RequestTeller::on('mysql7')
->where([
['kodcaw','=',$request->kodcaw],
['kodlaluan','=',$request->kodlaluan],
['update','=',0],
['tarikh','=',$current->toDateString()]
])
->get();
return response()->json($requestteller);
}
}