show header on fax PDF (closes bennibu#109)

This commit is contained in:
wvengen 2013-06-04 13:08:50 +02:00
parent c42c00b5f1
commit 043fc6391c

View file

@ -47,7 +47,7 @@ class OrderFax < OrderPdf
# Articles # Articles
data = [I18n.t('documents.order_fax.rows')] data = [I18n.t('documents.order_fax.rows')]
data = @order.order_articles.ordered.all(include: :article).collect do |a| data += @order.order_articles.ordered.all(include: :article).collect do |a|
[a.article.order_number, [a.article.order_number,
a.units_to_order, a.units_to_order,
a.article.name, a.article.name,