company sender pdated

This commit is contained in:
Thekindbull 2025-11-09 19:36:24 +08:00
parent 18fdf8250e
commit dac0af3d74

View File

@ -12,11 +12,13 @@ class SendCompany extends BitrixSender
public function __construct(Company $company) public function __construct(Company $company)
{ {
$this->data = [ $this->data = [
'name' => $company->name, 'name' => $company->name,
'inn' => $company->inn, 'inn' => $company->inn,
'email' => $company->email, 'email' => $company->email,
'address' => $company->legal_address 'address' => $company->legal_address,
//'phone' => $company->phone, 'callbackUrl' => route('api.company.confirm', [
'token' => $company->secret
])
]; ];
//dd($company); //dd($company);