Merge pull request 'Change between to entry time for vehicle entry' (#867) from ranjith-dev into master
All checks were successful
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Successful in 21s

Reviewed-on: #867
This commit was merged in pull request #867.
This commit is contained in:
2026-07-28 10:52:32 +00:00

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