25 lines
No EOL
1,022 B
Text
25 lines
No EOL
1,022 B
Text
%td.closed
|
|
= link_to order_article.article.name, '#', 'data-toggle-this' => "#group_order_articles_#{order_article.id}"
|
|
%td= order_article.article.order_number
|
|
%td
|
|
= order_article.units_to_order
|
|
- unless order_article.ordered_quantities_equal_to_group_orders?
|
|
%span{:style => "color:red;font-weight: bold"} !
|
|
%td= order_article.price.unit_quantity.to_s + ' * ' + order_article.article.unit.to_s
|
|
%td
|
|
= number_to_currency(order_article.price.price, :unit => "")
|
|
:plain
|
|
/
|
|
= number_to_currency(order_article.total_price, :unit => "")
|
|
%td
|
|
= number_to_currency(order_article.price.gross_price, :unit => "")
|
|
:plain
|
|
/
|
|
= number_to_currency(order_article.total_gross_price, :unit => "")
|
|
%td= order_article.price.tax
|
|
%td= order_article.price.deposit
|
|
%td
|
|
= link_to icon(:edit), edit_finance_order_order_article_path(@order, order_article), remote: true
|
|
%td
|
|
= link_to icon(:delete), finance_order_order_article_path(@order, order_article), method: :delete,
|
|
remote: true, confirm: 'Bist du sicher?' |