Skip to content

Commit

Permalink
Update unpaid.html.haml: invoice_profit formatting corrected
Browse files Browse the repository at this point in the history
  • Loading branch information
mjavurek authored Nov 21, 2024
1 parent cb00c9e commit ae7c497
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/views/finance/invoices/unpaid.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@
= ' ' + number_to_currency(invoice.amount)
= format_currency_difference(invoice_amount_diff)
- if invoice_profit > invoice_amount_diff
= ' / ' + format_currency_difference(invoice_profit)
= ' / '
= format_currency_difference(invoice_profit)
- if invoice.attachments.attached?
- for attachment in invoice.attachments
= link_to attachment.filename, url_for(attachment)
Expand Down

0 comments on commit ae7c497

Please sign in to comment.