update sale audit all process in origami

This commit is contained in:
Aung Myo
2018-07-12 13:10:11 +06:30
parent b1a4f19b1c
commit 7945da99ed
18 changed files with 63 additions and 27 deletions

View File

@@ -43,7 +43,7 @@ class Origami::CreditPaymentsController < BaseOrigamiController
saleObj = Sale.find(sale_id)
sale_payment = SalePayment.new
@status, @sale = sale_payment.process_payment(saleObj, @user, cash, "creditnote")
@status, @sale = sale_payment.process_payment(saleObj, current_user.name, cash, "creditnote")
end
end