Module: OrderArticlesHelper

Defined in:
app/helpers/order_articles_helper.rb

Instance Method Summary collapse

Instance Method Details

#article_label_with_unit(article) ⇒ Object



2
3
4
5
# File 'app/helpers/order_articles_helper.rb', line 2

def (article)
  pkg_info = pkg_helper(article, plain: true)
  "#{article.name} (#{[article.unit, pkg_info].compact_blank.join(' ')})"
end