1
0
forked from poc/pds

Update invoice data report references in command and scheduling logic

This commit is contained in:
dhanabalan
2025-11-02 16:51:40 +05:30
parent 1cb54f5101
commit 92bcbc0e8d
4 changed files with 4 additions and 4 deletions

View File

@@ -37,7 +37,7 @@ class SendInvoiceDataReport extends Command
// Fetch mail rules based on schedule type
$mailRules = \App\Models\AlertMailRule::where('module', 'InvoiceValidation')
$mailRules = \App\Models\AlertMailRule::where('module', 'InvoiceDataReport')
->where('rule_name', 'InvoiceDataMail')
->where('schedule_type', $scheduleType)
->where('plant', $plantId)