changed subject name of the invoice data report
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
@@ -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';
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user