fix fax documents for stock orders (closes foodcoops#79)
This commit is contained in:
parent
da2b5b54d0
commit
a699f95903
2 changed files with 3 additions and 2 deletions
|
|
@ -20,7 +20,7 @@ class OrderCsv < RenderCSV
|
|||
oa.article.order_number,
|
||||
oa.article.name,
|
||||
oa.article.unit + (oa.price.unit_quantity > 1 ? " × #{oa.price.unit_quantity}" : ''),
|
||||
number_to_currency(oa.article_price.price * oa.article_price.unit_quantity),
|
||||
number_to_currency(oa.article.price * oa.article.unit_quantity),
|
||||
number_to_currency(oa.total_price)
|
||||
]
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue