fix non-closed order display

This commit is contained in:
wvengen 2014-01-03 13:00:14 +01:00
parent ebe2966895
commit 438de97464

View file

@ -37,7 +37,7 @@ module OrdersHelper
end
def article_price_change_hint(order_article, gross=false)
return nil if order_article.article.price == order_article.article_price.price
return nil if order_article.article.price == order_article.price.price
title = "#{t('.old_price')}: #{number_to_currency order_article.article.price}"
title += " / #{number_to_currency order_article.article.gross_price}" if gross
"<i class='icon-asterisk' title='#{j title}'></i>".html_safe