Added msg in import transit mail
Some checks failed
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Successful in 15s
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (pull_request) Successful in 16s
Gemini PR Review / Gemini PR Review (pull_request) Failing after 19s
Laravel Pint / pint (pull_request) Successful in 1m55s
Laravel Larastan / larastan (pull_request) Failing after 3m21s

This commit is contained in:
dhanabalan
2026-07-01 09:51:52 +05:30
parent 075591459f
commit c338751a48
2 changed files with 24 additions and 7 deletions

View File

@@ -23,15 +23,21 @@ class ImportTransitMail extends Mailable
public $excelPath;
public $name;
public $mobileNo;
/**
* Create a new message instance.
*/
public function __construct($scheduleType, $tableData, $mailSubject, $excelPath)
public function __construct($scheduleType, $tableData, $mailSubject, $excelPath, $name, $mobileNo)
{
$this->scheduleType = $scheduleType;
$this->tableData = $tableData ?? [];
$this->mailSubject = $mailSubject ?? 'Import Transit';
$this->excelPath = $excelPath;
$this->name = $name;
$this->mobileNo = $mobileNo;
}
/**
@@ -81,7 +87,7 @@ class ImportTransitMail extends Mailable
'company' => 'CRI Digital Manufacturing Solutions',
'greeting' => $greeting,
'tableData' => $this->tableData,
'wishes' => 'Thanks & Regards,<br>CRI Digital Manufacturing Solutions',
'wishes' => "Thanks & Regards,<br>CRI Digital Manufacturing Solutions<br><b>Updated By</b> - $this->name<br>For any queries, please contact the number below<br>+91 $this->mobileNo",
],
);
}