|
@@ -17,16 +17,16 @@ class CompanyAction extends Mailable
|
|
|
{
|
|
|
use Queueable, SerializesModels;
|
|
|
|
|
|
- private $company;
|
|
|
- private $user;
|
|
|
+// private $company;
|
|
|
+// private $user;
|
|
|
|
|
|
/**
|
|
|
* Create a new message instance.
|
|
|
*/
|
|
|
- public function __construct(Company $company,User $user)
|
|
|
+ public function __construct(public Company $company,public User $user,public string $rejectReason)
|
|
|
{
|
|
|
- $this->company = $company;
|
|
|
- $this->user = $user;
|
|
|
+// $this->company = $company;
|
|
|
+// $this->user = $user;
|
|
|
}
|
|
|
|
|
|
/**
|
|
@@ -47,10 +47,10 @@ class CompanyAction extends Mailable
|
|
|
return new Content(
|
|
|
//view: 'view.name',
|
|
|
markdown: 'emails.actions.company',
|
|
|
- with: [
|
|
|
- 'company' =>$this->company,
|
|
|
- 'user' =>$this->user
|
|
|
- ]
|
|
|
+// with: [
|
|
|
+// 'company' =>$this->company,
|
|
|
+// 'user' =>$this->user,
|
|
|
+// ]
|
|
|
);
|
|
|
}
|
|
|
|