2013-12-31 11:41:14 +01:00
|
|
|
module OrderArticlesHelper
|
2014-02-24 11:37:06 +01:00
|
|
|
def article_label_with_unit(article)
|
|
|
|
pkg_info = pkg_helper(article, plain: true)
|
2023-05-12 13:01:12 +02:00
|
|
|
"#{article.name} (#{[article.unit, pkg_info].compact_blank.join(' ')})"
|
2012-07-27 18:03:46 +02:00
|
|
|
end
|
2012-06-21 17:19:00 +02:00
|
|
|
end
|