Merge pull request 'Chnaged module name in process order report' (#1450) from ranjith-dev into master
All checks were successful
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Successful in 17s

Reviewed-on: #1450
This commit was merged in pull request #1450.
This commit is contained in:
2026-11-17 10:06:08 +00:00

View File

@@ -35,7 +35,7 @@ class SendProcessOrderReport extends Command
$scheduleType = $this->argument('schedule_type');
$plantId = (int) $this->argument('plant');
$mailRules = AlertMailRule::where('module', 'ProcessOrder')
$mailRules = AlertMailRule::where('module', 'ProcessOrderReport')
->where('rule_name', 'ProcessOrderMail')
->where('schedule_type', $scheduleType)
->where('plant', $plantId)