From c275e16505c1873cb2a913b4f8f6ef15fffc6288 Mon Sep 17 00:00:00 2001 From: Nex Sabre Date: Fri, 12 Aug 2022 21:02:01 +0200 Subject: [PATCH] Add 'In percent' per category in the summary --- client/components/list-summary.vue | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/client/components/list-summary.vue b/client/components/list-summary.vue index 9eae00d..a219681 100755 --- a/client/components/list-summary.vue +++ b/client/components/list-summary.vue @@ -26,6 +26,9 @@ Weight + + In percents +
  • @@ -40,6 +43,9 @@ {{ category.subtotalWeight | displayWeight(library.totalUnit) }} {{ library.totalUnit }} + + {{ category.subtotalWeight / list.totalPackWeight * 100 }} % +