From 0e8c74bec230cb54b7cef2e467aed82aa462bd9f Mon Sep 17 00:00:00 2001 From: omair saleh Date: Tue, 20 Sep 2022 09:05:08 +0800 Subject: [PATCH] billing fix up --- .../ControllersLogic/CreateShippingInvoiceTransactionLogic.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Classes/Modules/Transactions/ControllersLogic/CreateShippingInvoiceTransactionLogic.php b/app/Classes/Modules/Transactions/ControllersLogic/CreateShippingInvoiceTransactionLogic.php index 67175c6b..27838f73 100644 --- a/app/Classes/Modules/Transactions/ControllersLogic/CreateShippingInvoiceTransactionLogic.php +++ b/app/Classes/Modules/Transactions/ControllersLogic/CreateShippingInvoiceTransactionLogic.php @@ -133,7 +133,7 @@ class CreateShippingInvoiceTransactionLogic extends AbstractControllerLogic $segment_price = $segment_price ? $segment_price : 0; $packing_list_drop_date = Carbon::parse(PackingList::where('reference', $packing_list->reference)->where('type', 1)->first()->transports->first()->drop_date)->format('d/m/Y'); - dd($packing_list_drop_date->format('Y-m-d')); + dd($packing_list_drop_date); $base_price = $this->getConstantByKey($base_price_constant, Carbon::parse($packing_list_drop_date)->format('Y-m-d')); $warehouseId = $order->orderRoles()->where('role_id', OrderRoleTypes::ORIGIN_WAREHOUSE)->first()->company_module_id;