From df2916594b6f19b2a548d8d350ee86d21db4829d Mon Sep 17 00:00:00 2001 From: Omair Saleh Date: Thu, 18 Apr 2024 01:14:39 +0800 Subject: [PATCH] remove invoice date adjuster --- .../Modules/Transactions/Services/CreatesTransaction.php | 5 ----- 1 file changed, 5 deletions(-) diff --git a/app/Classes/Modules/Transactions/Services/CreatesTransaction.php b/app/Classes/Modules/Transactions/Services/CreatesTransaction.php index 27074e27..dbe3fd5f 100644 --- a/app/Classes/Modules/Transactions/Services/CreatesTransaction.php +++ b/app/Classes/Modules/Transactions/Services/CreatesTransaction.php @@ -35,11 +35,6 @@ class CreatesTransaction extends AbstractUpdateRelationshipRecord $model->expires_on = $object->getExpiresOn(); $model->status = $object->getStatus(); - if((int)$object->getTransactionType() === TransactionType::SHIPPING_INVOICE){ - $model->created_at = Carbon::now()->subDays(17); - $model->updated_at = Carbon::now()->subDays(17); - } - return $this->handler($packing_list->transactions(), $model); } }