Make invoice date clickable #391

This commit is contained in:
Patrick Gansterer 2016-02-17 16:11:20 +01:00 committed by wvengen
parent 3d6f908102
commit a42dd07d5c
1 changed files with 1 additions and 1 deletions

View File

@ -20,7 +20,7 @@
%tr
%td= link_to h(invoice.number), finance_invoice_path(invoice)
%td= invoice.supplier.name
%td= format_date invoice.date
%td= link_to h(format_date invoice.date), finance_invoice_path(invoice)
%td= format_date invoice.paid_on
%td= number_to_currency invoice.amount
%td= link_to Delivery.model_name.human, [invoice.supplier,invoice.delivery] if invoice.delivery