update process payment for current user

This commit is contained in:
Aung Myo
2018-08-07 16:27:32 +06:30
parent 76e626a0d9
commit 0e7db08bfc
16 changed files with 27 additions and 27 deletions

View File

@@ -79,7 +79,7 @@ class Origami::MasterController < BaseOrigamiController
payment_for = true
end
sale_payment = SalePayment.new
@status, @sale = sale_payment.process_payment(saleObj, current_user.name, cash, "master",ref_no,payment_for)
@status, @sale = sale_payment.process_payment(saleObj, current_user, cash, "master",ref_no,payment_for)
end
end