From fe7e5301c02259758a4b6bbe08b20e6faa076389 Mon Sep 17 00:00:00 2001 From: dhanabalan Date: Tue, 28 Jul 2026 16:22:11 +0530 Subject: [PATCH] Change between to entry time for vehicle entry --- app/Console/Commands/SendVehicleReport.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Console/Commands/SendVehicleReport.php b/app/Console/Commands/SendVehicleReport.php index e3dc635..04a169e 100644 --- a/app/Console/Commands/SendVehicleReport.php +++ b/app/Console/Commands/SendVehicleReport.php @@ -68,7 +68,7 @@ class SendVehicleReport extends Command 'type', ]) ->where('plant_id', $plant->id) - ->whereBetween('created_at', [$startDate, $endDate]) + ->whereBetween('entry_time', [$startDate, $endDate]) ->get(); if ($vehicleEntries->isEmpty()) {