2009-01-29 21:28:22 +01:00
|
|
|
%td.closed
|
2012-06-21 17:19:00 +02:00
|
|
|
= link_to order_article.article.name, '#', 'data-toggle-this' => "#group_order_articles_#{order_article.id}"
|
2009-01-29 21:28:22 +01:00
|
|
|
%td= order_article.article.order_number
|
2013-12-18 22:08:02 +01:00
|
|
|
%td{title: units_history_line(order_article)}
|
|
|
|
= order_article.units
|
|
|
|
%i.package pkg
|
2013-12-23 12:32:26 +01:00
|
|
|
- if s=order_article.ordered_quantities_different_from_group_orders?
|
|
|
|
%span{:style => "color:red;font-weight: bold"}= s
|
2013-12-12 00:13:19 +01:00
|
|
|
%td #{order_article.price.unit_quantity} × #{order_article.article.unit}
|
2009-03-22 11:58:01 +01:00
|
|
|
%td
|
2009-08-06 16:14:36 +02:00
|
|
|
= number_to_currency(order_article.price.price, :unit => "")
|
|
|
|
:plain
|
|
|
|
/
|
|
|
|
= number_to_currency(order_article.total_price, :unit => "")
|
2009-03-22 11:58:01 +01:00
|
|
|
%td
|
2009-08-06 16:14:36 +02:00
|
|
|
= number_to_currency(order_article.price.gross_price, :unit => "")
|
|
|
|
:plain
|
|
|
|
/
|
|
|
|
= number_to_currency(order_article.total_gross_price, :unit => "")
|
2013-12-12 00:13:19 +01:00
|
|
|
%td #{order_article.price.tax}%
|
2009-01-29 21:28:22 +01:00
|
|
|
%td= order_article.price.deposit
|
|
|
|
%td
|
2013-04-04 02:49:52 +02:00
|
|
|
= link_to t('ui.edit'), edit_finance_order_order_article_path(order_article.order, order_article), remote: true,
|
2012-11-10 16:44:05 +01:00
|
|
|
class: 'btn btn-mini'
|
2009-01-29 21:28:22 +01:00
|
|
|
%td
|
2013-04-04 02:49:52 +02:00
|
|
|
= link_to t('ui.delete'), finance_order_order_article_path(order_article.order, order_article), method: :delete,
|
|
|
|
remote: true, confirm: t('.confirm'), class: 'btn btn-danger btn-mini'
|