From 463d342441c5d7cd33a70d6fa0a2010cf41ab33e Mon Sep 17 00:00:00 2001 From: omair saleh Date: Fri, 1 Oct 2021 18:33:19 +0800 Subject: [PATCH] container monthly report --- .../elements/ContainerProfileSectionComponent.vue | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/resources/assets/vue/components/containers/elements/ContainerProfileSectionComponent.vue b/resources/assets/vue/components/containers/elements/ContainerProfileSectionComponent.vue index b63f317c..a7245d1f 100644 --- a/resources/assets/vue/components/containers/elements/ContainerProfileSectionComponent.vue +++ b/resources/assets/vue/components/containers/elements/ContainerProfileSectionComponent.vue @@ -16,6 +16,18 @@

Container Type: {{container.container_type}}

+ +
+
+
+
total cbm
+
+
+
+
+
{{ (Math.ceil((container.packing_lists.reduce((total, obj) => total + obj.packages.reduce((total, obj) => obj.cbm + total, 0), 0)) * 1000) / 1000).toFixed(3) }}
+
+