1
0
forked from poc/pds

Added logic for all plants in production report

This commit is contained in:
dhanabalan
2025-07-11 09:16:32 +05:30
parent 215e1302cc
commit e9d967e2c2
2 changed files with 84 additions and 74 deletions

View File

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