update vodi and pay foc waste and spoil for other paymtnt amount in receipt pdf

This commit is contained in:
Aung Myo
2018-07-10 16:10:04 +06:30
parent 158760abdb
commit 9924aaef8a
3 changed files with 3 additions and 3 deletions

View File

@@ -546,7 +546,7 @@ class Origami::PaymentsController < BaseOrigamiController
item_price_by_accounts = SaleItem.calculate_price_by_accounts(saleObj.sale_items)
discount_price_by_accounts = SaleItem.get_discount_price_by_accounts(saleObj.sale_items)
other_amount = SaleItem.calculate_other_charges(sale_items)
other_amount = SaleItem.calculate_other_charges(saleObj.sale_items)
printer = Printer::ReceiptPrinter.new(print_settings)