From 5651ed7010b43816bfd48769acdc1330ac2eef0e Mon Sep 17 00:00:00 2001 From: omair saleh Date: Mon, 18 Apr 2022 15:47:25 +0800 Subject: [PATCH] fix LMD to HWT --- .../Delivery/ControllersLogic/CreateDeliveryCustomerLogic.php | 2 +- database/seeders/LastMileDeliveryTableSeeder.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Classes/Modules/Delivery/ControllersLogic/CreateDeliveryCustomerLogic.php b/app/Classes/Modules/Delivery/ControllersLogic/CreateDeliveryCustomerLogic.php index a820a981..ed4576a1 100644 --- a/app/Classes/Modules/Delivery/ControllersLogic/CreateDeliveryCustomerLogic.php +++ b/app/Classes/Modules/Delivery/ControllersLogic/CreateDeliveryCustomerLogic.php @@ -135,7 +135,7 @@ class CreateDeliveryCustomerLogic extends AbstractControllerLogic $inviter = $this->fetchesCompanyModule->execute(['reference'=>'HWT']); - $connectionObject = new CompanyConnectionObject($companyModule, $inviter, mt_rand(1000, 9999).(new GeneratesInitials())->name($company->name)->length(3)->generate(), 'LMD'); + $connectionObject = new CompanyConnectionObject($companyModule, $inviter, mt_rand(1000, 9999).(new GeneratesInitials())->name($company->name)->length(3)->generate(), 'HWT'); $connection = $this->createsCompanyConnection->execute($connectionObject); diff --git a/database/seeders/LastMileDeliveryTableSeeder.php b/database/seeders/LastMileDeliveryTableSeeder.php index 0b279b4f..6b8fa6aa 100644 --- a/database/seeders/LastMileDeliveryTableSeeder.php +++ b/database/seeders/LastMileDeliveryTableSeeder.php @@ -114,7 +114,7 @@ class LastMileDeliveryTableSeeder extends Seeder { $companies = [ - new CompanyObject('Last Mile Delivery', 'LMD', CompanyType::COMPANY_BUSINESS, ApprovalStatus::APPROVED), + new CompanyObject('Last Mile Delivery', 'HWT', CompanyType::COMPANY_BUSINESS, ApprovalStatus::APPROVED), ];