From 33635fd9af4ea5fdd62b0ca504a581644f8fa668 Mon Sep 17 00:00:00 2001 From: dhanabalan Date: Fri, 22 May 2026 17:21:37 +0530 Subject: [PATCH] Added boom opened in vehicle entry mail --- app/Console/Commands/SendVehicleReport.php | 2 ++ resources/views/mail/vehicle_entry_report.blade.php | 2 ++ 2 files changed, 4 insertions(+) diff --git a/app/Console/Commands/SendVehicleReport.php b/app/Console/Commands/SendVehicleReport.php index 3b73e16..e3dc635 100644 --- a/app/Console/Commands/SendVehicleReport.php +++ b/app/Console/Commands/SendVehicleReport.php @@ -61,6 +61,7 @@ class SendVehicleReport extends Command $vehicleEntries = VehicleEntry::select([ 'vehicle_number', + 'boom_opened', 'entry_time', 'exit_time', 'duration', @@ -87,6 +88,7 @@ class SendVehicleReport extends Command 'exitTime' => $vehicleEntry->exit_time, 'duration' => $vehicleEntry->duration, 'type' => $vehicleEntry->type, + 'boom' => $vehicleEntry->boom_opened, ]; } diff --git a/resources/views/mail/vehicle_entry_report.blade.php b/resources/views/mail/vehicle_entry_report.blade.php index 75a9d11..3f0d51e 100644 --- a/resources/views/mail/vehicle_entry_report.blade.php +++ b/resources/views/mail/vehicle_entry_report.blade.php @@ -65,6 +65,7 @@ No Plant Name Vehicle Number + Boom Opened Entry Time Exit Time Duration @@ -77,6 +78,7 @@ {{ $loop->iteration }} {{ $row['plant'] }} {{ $row['vehicleNumber'] }} + {{ $row['boom'] }} {{ $row['entryTime'] }} {{ $row['exitTime'] }} {{ $row['duration'] }}