fix deposit is agnostic to percentage on pdf
This commit is contained in:
parent
3dc806317e
commit
91df920119
6 changed files with 260 additions and 69 deletions
|
|
@ -33,6 +33,7 @@ class GroupOrderInvoice < ApplicationRecord
|
|||
def load_data_for_invoice
|
||||
invoice_data = {}
|
||||
order = group_order.order
|
||||
invoice_data[:pickup] = order.pickup
|
||||
invoice_data[:supplier] = order.supplier.name
|
||||
invoice_data[:ordergroup] = group_order.ordergroup
|
||||
invoice_data[:group_order] = group_order
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue