From 4c8c33774d6678a4951fe845698406687db4780e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rapha=C3=ABl=20Odini?= Date: Tue, 3 Dec 2024 00:02:19 +0100 Subject: [PATCH] refactor(Price add): show receipt personal data in already added prices footer (#1076) --- .../PriceAlreadyUploadedListCard.vue | 20 ++++--------------- src/components/ProofFooterRow.vue | 6 +++--- src/components/ProofReceiptPriceCountChip.vue | 18 ++++++++++++++--- src/components/ProofReceiptPriceTotalChip.vue | 18 ++++++++++++++--- 4 files changed, 37 insertions(+), 25 deletions(-) diff --git a/src/components/PriceAlreadyUploadedListCard.vue b/src/components/PriceAlreadyUploadedListCard.vue index d6512d4457c..24ad127772e 100644 --- a/src/components/PriceAlreadyUploadedListCard.vue +++ b/src/components/PriceAlreadyUploadedListCard.vue @@ -26,12 +26,8 @@ - - {{ $t('Common.PriceCount', { count: proofPriceUploadedList.length }) }} - - - {{ getPriceValueDisplay(proofPriceUploadedListSum) }} - + + @@ -43,11 +39,12 @@ diff --git a/src/components/ProofFooterRow.vue b/src/components/ProofFooterRow.vue index 3abc40904f3..84f3a1c4397 100644 --- a/src/components/ProofFooterRow.vue +++ b/src/components/ProofFooterRow.vue @@ -2,9 +2,9 @@ - - - + + + diff --git a/src/components/ProofReceiptPriceCountChip.vue b/src/components/ProofReceiptPriceCountChip.vue index 4c27e68e2fc..6faf5311fa3 100644 --- a/src/components/ProofReceiptPriceCountChip.vue +++ b/src/components/ProofReceiptPriceCountChip.vue @@ -1,16 +1,28 @@ diff --git a/src/components/ProofReceiptPriceTotalChip.vue b/src/components/ProofReceiptPriceTotalChip.vue index eda2f45abf5..977fd797ea5 100644 --- a/src/components/ProofReceiptPriceTotalChip.vue +++ b/src/components/ProofReceiptPriceTotalChip.vue @@ -1,6 +1,14 @@ @@ -9,7 +17,11 @@ import utils from '../utils.js' export default { props: { - count: { + uploadedCount: { + type: Number, + default: null + }, + totalCount: { type: Number, default: null },