changed subject name of the invoice data report

This commit is contained in:
dhanabalan
2025-11-13 09:37:50 +05:30
parent 5b26179ffb
commit 4046d68656
2 changed files with 2 additions and 2 deletions

View File

@@ -203,7 +203,7 @@ class SendInvoiceDataReport extends Command
}) })
->toArray(); ->toArray();
$mailSubject = "Invoice Data Report ({$plant->name})"; $mailSubject = "Despatch Pending Sale Invoice ({$plant->name})";
$mail = new InvoiceDataMail($scheduleType, $tableData, $mailSubject); $mail = new InvoiceDataMail($scheduleType, $tableData, $mailSubject);
$contentVars = $mail->content()->with; $contentVars = $mail->content()->with;

View File

@@ -27,7 +27,7 @@ class InvoiceDataMail extends Mailable
{ {
$this->scheduleType = $scheduleType; $this->scheduleType = $scheduleType;
$this->tableData = $tableData ?? []; $this->tableData = $tableData ?? [];
$this->mailSubject = $mailSubject ?? 'Invoice Data Report'; $this->mailSubject = $mailSubject ?? 'Despatch Pending Sale Invoice';
} }
/** /**