From e59ce8c3134135bf823cf0801402c6a5a6770110 Mon Sep 17 00:00:00 2001 From: Benjamin Meichsner Date: Sun, 17 May 2009 16:18:14 +0200 Subject: [PATCH] Added deliveries counter to suppliers overview. --- app/views/suppliers/index.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/suppliers/index.haml b/app/views/suppliers/index.haml index 369dd445..cb3c5cf1 100644 --- a/app/views/suppliers/index.haml +++ b/app/views/suppliers/index.haml @@ -28,7 +28,7 @@ %td=h supplier.customer_number %td= link_to "Artikel (#{supplier.articles.without_deleted.count})", supplier_articles_path(supplier) %td= link_to "im Lager (#{supplier.stock_articles.without_deleted.count})", stock_articles_path - %td= link_to "Lieferungen", supplier_deliveries_path(supplier) + %td= link_to "Lieferungen (#{supplier.deliveries.count})", supplier_deliveries_path(supplier) .right_column{:style => "width:37%"} .box_title