company creator controller updated

This commit is contained in:
Thekindbull 2025-11-09 20:16:50 +08:00
parent 85f61119d5
commit c6d63e87f0

View File

@ -48,17 +48,6 @@ public function __invoke(Request $request)
return back()->withErrors(['msg' => 'Не удалось создать агентство. Попробуйте позже'])->withInput();
}
$data['callback_url'] = route('company.status.update', [
'company_id' => $company->id,
'secret' => $company->secret
]);
/*$companyConfirmByBitrix = new SendCompany($company->id, $data);
if (!$sender = $companyConfirmByBitrix->send())
{
$company->delete();
return back()->withErrors(['msg' => 'Error with bitrix sender'])->withInput();
}*/
return view('main::company.created');
}
}