From dcb17e04b5b3f11577c8f89a428bdfeaa7b7599f Mon Sep 17 00:00:00 2001 From: wvengen Date: Thu, 9 Jan 2014 13:24:40 +0100 Subject: [PATCH] do not show article hint in order view after all, since "old price" is actually the price of the current article, which will probably be different in the future --- app/views/orders/_articles.html.haml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/app/views/orders/_articles.html.haml b/app/views/orders/_articles.html.haml index df0e9a4b..8304486f 100644 --- a/app/views/orders/_articles.html.haml +++ b/app/views/orders/_articles.html.haml @@ -28,9 +28,7 @@ %tr{:class => cycle('even', 'odd', :name => 'articles') + ' ' + cssclass} %td=h order_article.article.name %td= order_article.article.unit - %td - = "#{number_to_currency(net_price)} / #{number_to_currency(gross_price)}" - = article_price_change_hint(order_article, gross: true) + %td= "#{number_to_currency(net_price)} / #{number_to_currency(gross_price)}" - if order.stockit? %td= units - else