From 8e23b69038ccad593fc586d804483c9d6a581370 Mon Sep 17 00:00:00 2001 From: Julien Calixte Date: Sat, 12 Oct 2019 13:56:43 +0200 Subject: [PATCH] :speech_balloon: (Money) Add withPadEnd parameter --- src/components/AccountCard.vue | 4 ++- src/components/AccountTransactionList.vue | 30 +++++++++++++++++++---- src/utils/filters.ts | 9 +++++-- 3 files changed, 35 insertions(+), 8 deletions(-) diff --git a/src/components/AccountCard.vue b/src/components/AccountCard.vue index 635bfae..ada4602 100644 --- a/src/components/AccountCard.vue +++ b/src/components/AccountCard.vue @@ -13,7 +13,9 @@
-
{{ totalCost | moneypad(account.mainCurrency) }}
+
+ {{ totalCost | moneypad(account.mainCurrency, false) }} +
{{ account.users && account.users.map((u) => u.alias).join(', ') }} diff --git a/src/components/AccountTransactionList.vue b/src/components/AccountTransactionList.vue index 7029956..8fed839 100644 --- a/src/components/AccountTransactionList.vue +++ b/src/components/AccountTransactionList.vue @@ -1,6 +1,9 @@