From dac0af3d74dca39e1ef9d996b3324153ac30818f Mon Sep 17 00:00:00 2001 From: Thekindbull Date: Sun, 9 Nov 2025 19:36:24 +0800 Subject: [PATCH] company sender pdated --- app/Modules/Bitrix/Models/SendCompany.php | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/app/Modules/Bitrix/Models/SendCompany.php b/app/Modules/Bitrix/Models/SendCompany.php index 0afaec6..0c54a20 100644 --- a/app/Modules/Bitrix/Models/SendCompany.php +++ b/app/Modules/Bitrix/Models/SendCompany.php @@ -12,11 +12,13 @@ class SendCompany extends BitrixSender public function __construct(Company $company) { $this->data = [ - 'name' => $company->name, - 'inn' => $company->inn, - 'email' => $company->email, - 'address' => $company->legal_address - //'phone' => $company->phone, + 'name' => $company->name, + 'inn' => $company->inn, + 'email' => $company->email, + 'address' => $company->legal_address, + 'callbackUrl' => route('api.company.confirm', [ + 'token' => $company->secret + ]) ]; //dd($company);