Rewrite OrderPdfs to support multiple orders at once
This commit is contained in:
parent
80899afcb0
commit
3e156bbbf3
11 changed files with 457 additions and 408 deletions
|
|
@ -3,8 +3,6 @@ class OrderFax < OrderPdf
|
|||
|
||||
BATCH_SIZE = 250
|
||||
|
||||
attr_reader :order
|
||||
|
||||
def filename
|
||||
I18n.t('documents.order_fax.filename', :name => order.name, :date => order.ends.to_date) + '.pdf'
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue