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
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:
@@ -35,7 +35,7 @@ class SendProcessOrderReport extends Command
|
|||||||
$scheduleType = $this->argument('schedule_type');
|
$scheduleType = $this->argument('schedule_type');
|
||||||
$plantId = (int) $this->argument('plant');
|
$plantId = (int) $this->argument('plant');
|
||||||
|
|
||||||
$mailRules = AlertMailRule::where('module', 'ProcessOrder')
|
$mailRules = AlertMailRule::where('module', 'ProcessOrderReport')
|
||||||
->where('rule_name', 'ProcessOrderMail')
|
->where('rule_name', 'ProcessOrderMail')
|
||||||
->where('schedule_type', $scheduleType)
|
->where('schedule_type', $scheduleType)
|
||||||
->where('plant', $plantId)
|
->where('plant', $plantId)
|
||||||
|
|||||||
Reference in New Issue
Block a user