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

@@ -44,7 +44,7 @@ class Origami::CreditPaymentsController < BaseOrigamiController
saleObj = Sale.find(sale_id)
remark = "credit payment for Receipt No #{saleObj.receipt_no}"
sale_payment = SalePayment.new
@status, @sale = sale_payment.process_payment(saleObj, current_user.name, cash, "creditnote",remark)
@status, @sale = sale_payment.process_payment(saleObj, current_user, cash, "creditnote",remark)
end
end