diff --git a/app/Classes/Modules/Accounts/ControllersLogic/LogoutUserLogic.php b/app/Classes/Modules/Accounts/ControllersLogic/LogoutUserLogic.php
index aea1f932..fed6e182 100644
--- a/app/Classes/Modules/Accounts/ControllersLogic/LogoutUserLogic.php
+++ b/app/Classes/Modules/Accounts/ControllersLogic/LogoutUserLogic.php
@@ -27,7 +27,6 @@ class LogoutUserLogic extends AbstractControllerLogic
*/
public function __construct(InvalidatesAuthenticationToken $invalidatesAuthenticationToken)
{
- logger("logout user logic");
$this->invalidatesAuthenticationToken = $invalidatesAuthenticationToken;
}
diff --git a/app/Classes/Modules/Orders/ControllersLogic/CreateShippingPackingListLogic.php b/app/Classes/Modules/Orders/ControllersLogic/CreateShippingPackingListLogic.php
index 574200fe..4ac8d3c4 100644
--- a/app/Classes/Modules/Orders/ControllersLogic/CreateShippingPackingListLogic.php
+++ b/app/Classes/Modules/Orders/ControllersLogic/CreateShippingPackingListLogic.php
@@ -19,6 +19,7 @@ use App\Classes\ValueObjects\Constants\PackingListType;
use App\Classes\ValueObjects\Constants\TransportType;
use App\Http\Resources\PackingListResource;
+use App\Models\PackingList;
use Illuminate\Http\JsonResponse;
use Illuminate\Http\Request;
use Carbon\Carbon;
@@ -80,6 +81,9 @@ class CreateShippingPackingListLogic extends AbstractControllerLogic
/**
* @param Request $request
* @return JsonResponse
+ * @throws \App\Classes\Exceptions\AccessForbiddenException
+ * @throws \App\Classes\Exceptions\MalformedRequestException
+ * @throws \App\Classes\Exceptions\RequestValidationException
*/
public function logic(Request $request) : JsonResponse
{
@@ -93,6 +97,8 @@ class CreateShippingPackingListLogic extends AbstractControllerLogic
PackingListType::SHIPPING_PACKING_LIST,
ApprovalStatus::PENDING_SUBMISSION
);
+
+ /** @var PackingList $packingList */
$packingList = $this->createPackingListProcessor->execute($packingListObject, $order);
$packages = $request->input('packages');
diff --git a/app/Classes/Modules/PackingLists/Processors/FetchDeliveryListFromVTPortalProcessor.php b/app/Classes/Modules/PackingLists/Processors/FetchDeliveryListFromVTPortalProcessor.php
index 3a9ebdea..520e64ec 100644
--- a/app/Classes/Modules/PackingLists/Processors/FetchDeliveryListFromVTPortalProcessor.php
+++ b/app/Classes/Modules/PackingLists/Processors/FetchDeliveryListFromVTPortalProcessor.php
@@ -66,6 +66,10 @@ class FetchDeliveryListFromVTPortalProcessor
$shippingPackingLists = $this->fetchesDataFRomVTPortal->getResponseBody($shippingPackingListsRequest);
+ if(!array_key_exists(0, $shippingPackingLists->Rows)){
+ continue;
+ }
+
$shippingPackingList = $shippingPackingLists->Rows[0];
if(!$shippingPackingList[9] && !$shippingPackingList[10]) {
@@ -87,6 +91,7 @@ class FetchDeliveryListFromVTPortalProcessor
$deliveryStep->update(['status' => ApprovalStatus::COMPLETED]);
} catch (GuzzleException $exception) {
+ dd($exception);
continue;
}
diff --git a/app/Classes/Modules/PackingLists/Services/CreatesPackingList.php b/app/Classes/Modules/PackingLists/Services/CreatesPackingList.php
index 0654557f..1f2f6321 100644
--- a/app/Classes/Modules/PackingLists/Services/CreatesPackingList.php
+++ b/app/Classes/Modules/PackingLists/Services/CreatesPackingList.php
@@ -23,6 +23,7 @@ class CreatesPackingList extends AbstractUpdateRelationshipRecord
$model->claimant_id = $object->getClaimantId();
$model->type = $object->getType();
$model->status = $object->getStatus();
+ $model->reference_contract = $object->getContractReference();
return $this->handler($packable->packingLists(), $model);
}
diff --git a/app/Classes/Modules/Unity/Services/UpdatesContractObligation.php b/app/Classes/Modules/Unity/Services/UpdatesContractObligation.php
index 70246a66..25a5c0f5 100644
--- a/app/Classes/Modules/Unity/Services/UpdatesContractObligation.php
+++ b/app/Classes/Modules/Unity/Services/UpdatesContractObligation.php
@@ -22,7 +22,7 @@ class UpdatesContractObligation
$accessToken=$this->getAccessToken->execute();
- $this->updateContractStatusEndpoint = str_replace('{hash}',$obligation_hash_id,$this->updateContractStatusEndpoint);
+ $this->updateContractStatusEndpoint = str_replace('{hash}', $obligation_hash_id, $this->updateContractStatusEndpoint);
$response = Http::withToken($accessToken)->put($this->updateContractStatusEndpoint,['entity_signature_id'=>$contract_entity_signature])->object();
diff --git a/app/Http/Controllers/Accounts/UserAuthenticationLogoutController.php b/app/Http/Controllers/Accounts/UserAuthenticationLogoutController.php
index 46013fa4..9d574a21 100644
--- a/app/Http/Controllers/Accounts/UserAuthenticationLogoutController.php
+++ b/app/Http/Controllers/Accounts/UserAuthenticationLogoutController.php
@@ -15,7 +15,6 @@ class UserAuthenticationLogoutController
* @return JsonResponse
*/
public function logout(Request $request, LogoutUserLogic $logic): JsonResponse {
- logger("logout controller");
return $logic->execute($request);
}
diff --git a/resources/assets/vue/components/companies/sections/CustomerProfileSectionComponent.vue b/resources/assets/vue/components/companies/sections/CustomerProfileSectionComponent.vue
index 749e7ef8..055097ed 100644
--- a/resources/assets/vue/components/companies/sections/CustomerProfileSectionComponent.vue
+++ b/resources/assets/vue/components/companies/sections/CustomerProfileSectionComponent.vue
@@ -11,6 +11,30 @@
!!!! 海运费涨价通知 NOTICE OF PRICE INCREMENT !!!
+由于近期海运费非常不稳定,运费每个星期都会调整,请发货入仓之前按以下按键确认最新运费价格。
+Due to the recent unstable shipping rates, shipping costs are adjusted weekly, please confirm the latest shipping prices before shipping into the warehouse by following the button below.
+尊敬的顾客,
+Dear Valued Customers,
+为确保您的货物在华人农历新年前收到, 务必提前通知您的供应商安排在以下日期前把货物送到仓库:
+To ensure your goods received before the Chinese New Year Holidays, we advised the customer to inform their suppliers to arrange their goods earlier beforehand to the schedule below:
+| 仓库 WAREHOUSE | +入仓日期 RECEIVED DATE | +|
|---|---|---|
| 广州 GUANGHZOU |
+ 西马 WEST MALAYSIA |
+ 25/12/2021 | +
| 东马 EAST MALAYSIA |
+ 11/12/2021 | +|
| 义乌 YIWU |
+ 西马 WEST MALAYSIA |
+ 18/12/2021 | +
| 东马 EAST MALAYSIA |
+ 04/12/2021 | +|
我们建议客户尽早安排送货到中国仓库,以确保货物在恶劣天气、运输延误、海关检查等情况下准时到达目的地。
+Customers are advised to arrange delivery to China warehouse as soon as possible to ensure goods reach their destination on time due to the events of Bad weather, Shipping delay, Custom inspection and etc.
+| 仓库 WAREHOUSE |
+ 仓库截止收货日期 LAST DAY RECEIVE GOODS |
+ 仓库復工日期 RESUME OPERATION DATE |
+
|---|---|---|
| 义乌 YIWU |
+ 18/01/2022 | +16/02/2022 | +
| 广州 GUANGHZOU |
+ 18/01/2022 | +12/02/2022 | +
!!!! 海运费涨价通知 NOTICE OF PRICE INCREMENT !!!
-由于最近船公司正缩减仓位, 导致持续推高海运费。
-所以从 10/11/2021 开始入仓广州仓库的货物会有所调整。
-广州 - 西马运费+RM50/立方
-有造成不便之处,敬请见谅!谢谢合作
-Shortage of container is getting terrible in the whole worldwide due to Shipping liner company consolidating their ship
-Therefore, the shipping fee from Guangzhou to West Malaysia will be adjusted start from good entering warehouse by 10/11/2021
-Guangzhou - West Malaysia +RM50/CBM
-We apologize that any inconvenience caused! Thanks for your cooperation.
-