From 8b76cfa6783089d9a72fecd6188c280e18abd86f Mon Sep 17 00:00:00 2001 From: Omair Saleh Date: Tue, 8 Oct 2019 10:07:16 +0800 Subject: [PATCH] large commit --- .../Modules/ControllersLogic/Companies/CreateCompanyLogic.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Classes/Modules/ControllersLogic/Companies/CreateCompanyLogic.php b/app/Classes/Modules/ControllersLogic/Companies/CreateCompanyLogic.php index 525be3b..25af082 100644 --- a/app/Classes/Modules/ControllersLogic/Companies/CreateCompanyLogic.php +++ b/app/Classes/Modules/ControllersLogic/Companies/CreateCompanyLogic.php @@ -59,7 +59,7 @@ class CreateCompanyLogic $company = $this->createsCompany->execute($object); - $address = new AddressBookObject(null, $company->id, $request->input('name'), $request->input('contact'), + $address = new AddressBookObject(1, $company->id, $request->input('name'), $request->input('contact'), $request->input('street_one'), $request->input('street_two'), $request->input('city'), $request->input('state'), $request->input('post_code'), $request->input('country'), false, true);