Change between to entry time for vehicle entry #867

Merged
jothi merged 1 commits from ranjith-dev into master 2026-07-28 10:52:32 +00:00
Showing only changes of commit fe7e5301c0 - Show all commits

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()) {