foodsoft/app/views/shared/articles_by/_article_single.html.haml

14 lines
563 B
Text
Raw Permalink Normal View History

%tbody{id: "oa_#{order_article.id}"}
- if not defined?(heading) or heading
%tr.list-heading
2015-11-18 22:42:31 +01:00
%th{:colspan => "4"}>
%h4.name.pull-left
= order_article.article.name
%small
= "(#{order_article.article.unit}, #{number_to_currency order_article.price.fc_price}"
- pkg_info = pkg_helper(order_article.price)
= ", #{pkg_info}".html_safe unless pkg_info.blank?
)
- for goa in order_article.group_order_articles.ordered
= render 'shared/articles_by/article_single_goa', goa: goa