2015-11-18 22:42:31 +01:00
|
|
|
%table.table.table-condensed.table-hover.list#articles_by_articles
|
2014-01-23 16:17:16 +01:00
|
|
|
%thead.list-heading
|
|
|
|
%tr
|
|
|
|
%th{:style => 'width:70%'}= Ordergroup.model_name.human
|
|
|
|
%th.center
|
|
|
|
%acronym{:title => t('shared.articles.ordered_desc')}= t 'shared.articles.ordered'
|
|
|
|
%th.center
|
|
|
|
%acronym{:title => t('shared.articles.received_desc')}= t 'shared.articles.received'
|
|
|
|
%th= t 'shared.articles_by.price'
|
|
|
|
|
2014-02-20 15:04:53 +01:00
|
|
|
- for order_article in order.order_articles.ordered.includes([:article, :article_price])
|
2014-01-23 16:17:16 +01:00
|
|
|
= render 'shared/articles_by/article_single', order_article: order_article, edit: (edit rescue nil)
|
|
|
|
%tr
|
|
|
|
%td{colspan: 4}
|