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

@@ -59,7 +59,7 @@ class Origami::GiftVoucherController < BaseOrigamiController
# saleObj = Sale.find(sale_id)
sale_payment = SalePayment.new
@status, @sale = sale_payment.process_payment(saleObj, current_user.name, cash, "GiftVoucher",ref_no)
@status, @sale = sale_payment.process_payment(saleObj, current_user, cash, "GiftVoucher",ref_no)
end
end