fix serahan

This commit is contained in:
hafifierahman
2021-02-17 09:16:16 +08:00
parent 957f6830d7
commit 4a74f053b5
3 changed files with 19 additions and 3 deletions
+1 -1
View File
@@ -223,7 +223,7 @@ class TunaiController extends Controller
$current = Carbon::now();
$current = new Carbon();
$requestteller=RequestTeller::on('mysql7')->where([['kodcaw','=',$kodcaw],['update','=',0]])->get();
$requestteller=RequestTeller::on('mysql7')->where([['kodcaw','=',$kodcaw],['update','=',0],['tarikh','=',$current->toDateString()]])->get();
return response()->json($requestteller);
}