From 995e3cacfa424f29b52af2e161d1d39a3120e844 Mon Sep 17 00:00:00 2001 From: Stefan van Herwijnen Date: Wed, 17 Jul 2024 13:24:08 +0200 Subject: [PATCH] fix(InvoicePage): check for amountDue --- packages/app/src/pages/InvoicePage.vue | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/packages/app/src/pages/InvoicePage.vue b/packages/app/src/pages/InvoicePage.vue index 50c4d21..6756196 100644 --- a/packages/app/src/pages/InvoicePage.vue +++ b/packages/app/src/pages/InvoicePage.vue @@ -4,9 +4,7 @@ v-if=" invoice && [InvoiceStatus.OPEN, InvoiceStatus.BILL].includes(invoice.status) && - invoice.amountPaid - ? invoice.amountPaid < invoice.totalIncludingTax - : true + invoice.amountDue " icon="payment" :label="lang.payment.pay" @@ -54,7 +52,7 @@
-
+
{{ lang.payment.amountDue }}: