Show attachment and note in the unpaid invoices overview

This commit is contained in:
Patrick Gansterer 2019-10-30 12:43:23 +01:00
parent c559a31a9e
commit d89254c42b
1 changed files with 5 additions and 0 deletions

View File

@ -14,6 +14,11 @@
= format_date invoice.date
= ' ' + invoice.number
= ' ' + number_to_currency(invoice.amount)
- if invoice.attachment_data?
= link_to finance_invoice_attachment_path(invoice) do
= glyph :download
- if invoice.note?
= '(' + invoice.note + ')'
%br/
%p
- if supplier.iban.present?