diff --git a/app/Console/Commands/SendProductionReport.php b/app/Console/Commands/SendProductionReport.php index eee54af6c..610088f26 100644 --- a/app/Console/Commands/SendProductionReport.php +++ b/app/Console/Commands/SendProductionReport.php @@ -195,6 +195,8 @@ class SendProductionReport extends Command // } //.. + //. + foreach ($plants as $plant) { $lines = Line::where('plant_id', $plant->id)->get();