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

View file

@ -14,6 +14,11 @@
= format_date invoice.date = format_date invoice.date
= ' ' + invoice.number = ' ' + invoice.number
= ' ' + number_to_currency(invoice.amount) = ' ' + 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/ %br/
%p %p
- if supplier.iban.present? - if supplier.iban.present?