Added logic for all plants in production report
This commit is contained in:
@@ -19,6 +19,9 @@ Artisan::command('inspire', function () {
|
||||
|
||||
$productionRules = AlertMailRule::where('module', 'ProductionQuantities')
|
||||
->where('rule_name', 'ProductionMail')
|
||||
//->select('plant', 'schedule_type')
|
||||
->select('plant', 'schedule_type')
|
||||
->distinct()
|
||||
->get();
|
||||
|
||||
foreach ($productionRules as $rule) {
|
||||
|
||||
Reference in New Issue
Block a user