Update invoice email subject to include STO invoice reference

This commit is contained in:
dhanabalan
2025-11-13 17:35:27 +05:30
parent fa05a667b1
commit f39ac5ee2f
2 changed files with 5 additions and 2 deletions

View File

@@ -34,6 +34,9 @@ class SendInvoiceDataReport extends Command
*/
public function handle()
{
// ini_set('max_execution_time', 0); // disable limit
// set_time_limit(0);
$scheduleType = $this->argument('schedule_type');
$plantId = (int) $this->argument('plant');
@@ -203,7 +206,7 @@ class SendInvoiceDataReport extends Command
})
->toArray();
$mailSubject = "Despatch Pending Sale Invoice ({$plant->name})";
$mailSubject = "Despatch Pending Sale Invoice & STO Invoice as on Date ({$plant->name})";
$mail = new InvoiceDataMail($scheduleType, $tableData, $mailSubject);
$contentVars = $mail->content()->with;