wip move automatic invoices to plugin

This commit is contained in:
viehlieb 2023-10-11 14:53:47 +02:00
parent 78bf494182
commit 4523d0b26e
35 changed files with 628 additions and 2045 deletions

View file

@ -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