diff --git a/src/components/ProofFooterRow.vue b/src/components/ProofFooterRow.vue index 55d86f4a443..3abc40904f3 100644 --- a/src/components/ProofFooterRow.vue +++ b/src/components/ProofFooterRow.vue @@ -2,12 +2,8 @@ - - {{ $t('Common.PriceCount', { count: proof.receipt_price_count }) }} - - - {{ getPriceValueDisplay(proof.receipt_price_total) }} - + + @@ -25,11 +21,12 @@ import { defineAsyncComponent } from 'vue' import { mapStores } from 'pinia' import { useAppStore } from '../store' import constants from '../constants' -import utils from '../utils.js' export default { components: { ProofTypeChip: defineAsyncComponent(() => import('../components/ProofTypeChip.vue')), + ProofReceiptPriceCountChip: defineAsyncComponent(() => import('../components/ProofReceiptPriceCountChip.vue')), + ProofReceiptPriceTotalChip: defineAsyncComponent(() => import('../components/ProofReceiptPriceTotalChip.vue')), PriceCountChip: defineAsyncComponent(() => import('../components/PriceCountChip.vue')), LocationChip: defineAsyncComponent(() => import('../components/LocationChip.vue')), DateChip: defineAsyncComponent(() => import('../components/DateChip.vue')), @@ -75,13 +72,6 @@ export default { }, }, methods: { - getPriceValue(priceValue, priceCurrency) { - return utils.prettyPrice(priceValue, priceCurrency) - }, - getPriceValueDisplay(price) { - price = parseFloat(price) - return this.getPriceValue(price, this.proof.currency) - }, goToProof() { if (this.readonly || !this.userIsProofOwner) { return