From 2cb8f9f4075357a25383abff79c2853a2f79edc2 Mon Sep 17 00:00:00 2001 From: omair saleh Date: Tue, 26 Oct 2021 10:51:06 +0800 Subject: [PATCH] show change ratio for profit model calculator --- .../ProfitModelReportSectionComponent.vue | 35 +++++++------------ 1 file changed, 13 insertions(+), 22 deletions(-) diff --git a/resources/assets/vue/components/reports/sections/ProfitModelReportSectionComponent.vue b/resources/assets/vue/components/reports/sections/ProfitModelReportSectionComponent.vue index fa680d86..f7405ba3 100644 --- a/resources/assets/vue/components/reports/sections/ProfitModelReportSectionComponent.vue +++ b/resources/assets/vue/components/reports/sections/ProfitModelReportSectionComponent.vue @@ -96,31 +96,22 @@
-
-
-
-
-
-
- Projected CBM -
-
+
+
+
+
+ Projected CBM
-
-
-
-

{{(Math.ceil(report.projected_cbm * 1000) / 1000).toFixed(3)}}

- {{((report.projected_cbm / 800) * 100).toFixed(2)}}% - Goal: 800 CBM -
-
+
+

{{(Math.ceil(report.projected_cbm * 1000) / 1000).toFixed(3)}}

+ + {{(((report.projected_cbm - report.total_cbm) / report.total_cbm) * 100).toFixed(2)}}% +
-
-
-
-
-
+
+
+