fix marking issue for personal business

This commit is contained in:
omair saleh
2021-06-10 13:52:21 +08:00
parent 28179ea6b4
commit 67048a14ca
@@ -47,7 +47,7 @@ class CreateCompanyProcessor
$company_object = new CompanyObject(
$companyType === CompanyType::COMPANY_BUSINESS ? $request->input('company_name') : $request->input('name'),
mt_rand(1000, 9999).(new GeneratesInitials())->name($request->input('company_name'))->length(3)->generate(),
mt_rand(1000, 9999).(new GeneratesInitials())->name(CompanyType::COMPANY_BUSINESS ? $request->input('company_name') : $request->input('name'))->length(3)->generate(),
$businessType, $companyType, $status);
$this->canCreateCompany->passes($company_object);