Skip to content

Commit

Permalink
fix: resolved discount_amount not showing (#506)
Browse files Browse the repository at this point in the history
Signed-off-by: Trey <[email protected]>
  • Loading branch information
TreyWW committed Oct 1, 2024
1 parent 2a2fa51 commit 70c03eb
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions frontend/templates/pages/invoices/single/view/invoice_page.html
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,18 @@ <h2 class="text-lg font-semibold mb-2">Bill To</h2>
</th>
</tr>
{% endif %}
{% if invoice.discount_amount %}
<tr>
<th class="py-3 px-4"></th>
<th class="py-3 px-4"></th>
<th class="py-3 font-semibold px-4 text-right">
Discount ({{ invoice.get_currency_symbol }}{{ invoice.discount_amount }}):
</th>
<th class="py-3 font-semibold px-4 text-right">
-{{ invoice.get_currency_symbol }}{{ invoice.discount_amount }}
</th>
</tr>
{% endif %}
<tr>
<th class="py-3 px-4"></th>
<th class="py-3 px-4"></th>
Expand Down

0 comments on commit 70c03eb

Please sign in to comment.