mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/shipping-portal.git
synced 2026-08-19 04:24:12 +00:00
Update: Vue 2 to Vue 3 with Typescript, node 14 to node 22, Jenkinsfile, Dockerfile, vapor.yml (Post PROD Deployment)
- Fix an error reported by KS on settings > Warehouses > Extra Charges
This commit is contained in:
@@ -136,6 +136,7 @@ class CreateInvoiceTransactionProcessor
|
||||
$warehouseId = $order->orderRoles()->where('role_id', OrderRoleTypes::ORIGIN_WAREHOUSE)->first()->company_module_id;
|
||||
$selected_warehouse_rate = $this->getConstantByKey($warehouse_rate_constant, $warehouseId);
|
||||
|
||||
$warehouse_rate = 0;
|
||||
if (is_object($selected_warehouse_rate)) {
|
||||
$warehouse_rate = $selected_warehouse_rate->amount;
|
||||
} elseif (is_array($selected_warehouse_rate)) {
|
||||
|
||||
Reference in New Issue
Block a user