Change between to entry time for vehicle entry #867
@@ -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()) {
|
||||||
|
|||||||
Reference in New Issue
Block a user