From a42dd07d5cf6f3ab8e96d77c363da9ec212e70a9 Mon Sep 17 00:00:00 2001 From: Patrick Gansterer Date: Wed, 17 Feb 2016 16:11:20 +0100 Subject: [PATCH] Make invoice date clickable #391 --- app/views/finance/invoices/_invoices.html.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/finance/invoices/_invoices.html.haml b/app/views/finance/invoices/_invoices.html.haml index 1aa6d4d4..c701bdab 100644 --- a/app/views/finance/invoices/_invoices.html.haml +++ b/app/views/finance/invoices/_invoices.html.haml @@ -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