wip move automatic invoices to plugin
This commit is contained in:
parent
78bf494182
commit
4523d0b26e
35 changed files with 628 additions and 2045 deletions
|
|
@ -7,5 +7,9 @@ if FoodsoftAutomaticInvoices.enabled?
|
|||
def total_deposit_price
|
||||
units * price.unit_quantity * price.deposit
|
||||
end
|
||||
|
||||
def total_price_without_deposit
|
||||
units * price.unit_quantity * price.fc_price_without_deposit
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue