Skip to content

Commit

Permalink
fix(InvoicePage): only show pay button when amountDue > 0
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanvanherwijnen committed Dec 11, 2024
1 parent 39f2c29 commit fd6b78c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/app/src/pages/InvoicePage.vue
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
v-if="
invoice &&
[InvoiceStatus.OPEN, InvoiceStatus.BILL].includes(invoice.status) &&
invoice.amountDue
invoice.amountDue &&
invoice.amountDue > 0
"
icon="payment"
:label="lang.payment.pay"
Expand Down

0 comments on commit fd6b78c

Please sign in to comment.