ui update for packages display

This commit is contained in:
wvengen 2014-01-03 12:42:36 +01:00
parent 4c9e84ecc6
commit 9219d099c8
5 changed files with 29 additions and 16 deletions

View file

@ -3,10 +3,10 @@
%td= order_article.article.order_number
%td{title: units_history_line(order_article)}
= order_article.units
%i.package pkg
= pkg_helper order_article.article_price
- if s=order_article.ordered_quantities_different_from_group_orders?
%span{:style => "color:red;font-weight: bold"}= s
%td #{order_article.price.unit_quantity} × #{order_article.article.unit}
%td #{order_article.article.unit}
%td
= number_to_currency(order_article.price.price, :unit => "")
:plain