show quantity/tolerance in order screen when unit_quantity=1
This commit is contained in:
parent
66e0bbc348
commit
f57038ff56
1 changed files with 4 additions and 1 deletions
|
@ -29,7 +29,10 @@
|
||||||
- if order.stockit?
|
- if order.stockit?
|
||||||
%td= units
|
%td= units
|
||||||
- else
|
- else
|
||||||
%td= "#{order_article.quantity} + #{order_article.tolerance}" if unit_quantity > 1
|
- if unit_quantity > 1 or order_article.tolerance > 0
|
||||||
|
%td= "#{order_article.quantity} + #{order_article.tolerance}"
|
||||||
|
- else
|
||||||
|
%td= "#{order_article.quantity}"
|
||||||
%td= units
|
%td= units
|
||||||
%p
|
%p
|
||||||
= t '.prices_sum'
|
= t '.prices_sum'
|
||||||
|
|
Loading…
Reference in a new issue