Guest invoice view

Make it clearer to guests when an invoice has been cancelled
This commit is contained in:
wrongecho 2024-12-04 16:26:27 +00:00
parent a31387720c
commit ab19d37f5f
1 changed files with 7 additions and 0 deletions

View File

@ -179,6 +179,13 @@ if ($balance > 0) {
</div>
</div>
<?php } ?>
<?php if ($invoice_status == "Cancelled") { ?>
<div class="ribbon-wrapper">
<div class="ribbon bg-danger">
<?php echo $invoice_status; ?>
</div>
</div>
<?php } ?>
<h3 class="text-right mt-5"><strong>Invoice</strong><br><small class="text-secondary"><?php echo "$invoice_prefix$invoice_number"; ?></small></h3>
</div>
</div>