1
0
forked from poc/pds

Change between to entry time for vehicle entry

This commit is contained in:
dhanabalan
2026-07-28 16:22:11 +05:30
parent fee05e2388
commit fe7e5301c0

View File

@@ -68,7 +68,7 @@ class SendVehicleReport extends Command
'type', 'type',
]) ])
->where('plant_id', $plant->id) ->where('plant_id', $plant->id)
->whereBetween('created_at', [$startDate, $endDate]) ->whereBetween('entry_time', [$startDate, $endDate])
->get(); ->get();
if ($vehicleEntries->isEmpty()) { if ($vehicleEntries->isEmpty()) {