Hide QR code in InvoicePlane_Web when paid?

I did add the QR code in InvoicePlane_web code, but I would like to make it disappear when the amount is zero.

I was thinking about a php function to not display that part of the code when the amount is smaller than zero?

1 Like

From one of the PR’s:

<?php if (get_setting('qr_code') && $invoice->invoice_balance > 0) : ?>
1 Like

Thanks, that’s excellent!

1 Like