fix non-closed order display
This commit is contained in:
parent
ebe2966895
commit
438de97464
1 changed files with 1 additions and 1 deletions
|
@ -37,7 +37,7 @@ module OrdersHelper
|
||||||
end
|
end
|
||||||
|
|
||||||
def article_price_change_hint(order_article, gross=false)
|
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 = "#{t('.old_price')}: #{number_to_currency order_article.article.price}"
|
||||||
title += " / #{number_to_currency order_article.article.gross_price}" if gross
|
title += " / #{number_to_currency order_article.article.gross_price}" if gross
|
||||||
"<i class='icon-asterisk' title='#{j title}'></i>".html_safe
|
"<i class='icon-asterisk' title='#{j title}'></i>".html_safe
|
||||||
|
|
Loading…
Reference in a new issue