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 @@