Changed logic in process order mail report page
Some checks failed
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Successful in 16s
Gemini PR Review / Gemini PR Review (pull_request) Failing after 19s
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (pull_request) Successful in 17s
Laravel Pint / pint (pull_request) Successful in 7m39s
Laravel Larastan / larastan (pull_request) Failing after 8m57s
Some checks failed
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Successful in 16s
Gemini PR Review / Gemini PR Review (pull_request) Failing after 19s
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (pull_request) Successful in 17s
Laravel Pint / pint (pull_request) Successful in 7m39s
Laravel Larastan / larastan (pull_request) Failing after 8m57s
This commit is contained in:
@@ -23,11 +23,17 @@ class ProcessOrderMail extends Mailable
|
||||
/**
|
||||
* Create a new message instance.
|
||||
*/
|
||||
public function __construct($scheduleType,$tableData = [], $NotOkData)
|
||||
// public function __construct($scheduleType,$tableData = [], $NotOkData)
|
||||
// {
|
||||
// $this->scheduleType = $scheduleType;
|
||||
// $this->tableData = $tableData ?? [];
|
||||
// $this->NotOkData = $NotOkData ?? [];
|
||||
// }
|
||||
|
||||
public function __construct($scheduleType,$tableData = [])
|
||||
{
|
||||
$this->scheduleType = $scheduleType;
|
||||
$this->tableData = $tableData ?? [];
|
||||
$this->NotOkData = $NotOkData ?? [];
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -62,7 +68,7 @@ class ProcessOrderMail extends Mailable
|
||||
'company' => "CRI Digital Manufacturing Solutions",
|
||||
'greeting' => $greeting,
|
||||
'tableData' => $this->tableData,
|
||||
'NotOkData' => $this->NotOkData,
|
||||
// 'NotOkData' => $this->NotOkData,
|
||||
'wishes' => "Thanks & Regards,<br>CRI Digital Manufacturing Solutions"
|
||||
],
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user