From 8d889f08a70e21752694d0eed8b93291dd780e4c Mon Sep 17 00:00:00 2001 From: Daniela Soares Feitosa Date: Fri, 30 Dec 2011 20:02:20 -0200 Subject: [PATCH] Listing production costs on catalog --- app/views/catalog/index.rhtml | 6 ++++++ 1 file changed, 6 insertions(+), 0 deletions(-) diff --git a/app/views/catalog/index.rhtml b/app/views/catalog/index.rhtml index 416bbe1..dab1312 100644 --- a/app/views/catalog/index.rhtml +++ b/app/views/catalog/index.rhtml @@ -62,6 +62,12 @@ <%= price_span i.cost, :class => 'search-product-input-price' %> <% end %> + <% product.price_details.each do |i| %> +
+
<%= i.production_cost.name %>
+ <%= price_span i.price, :class => 'search-product-input-price' %> +
+ <% end %> -- libgit2 0.21.2