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

@@ -161,7 +161,7 @@ class OrderReservation < ApplicationRecord
#end rounding adjustment
sale_payment = SalePayment.new
sale_payment.process_payment(saleObj, current_user.name, saleObj.grand_total, "cash")
sale_payment.process_payment(saleObj, current_user, saleObj.grand_total, "cash")
#order status send to doemal
callback_response = send_status_to_ordering(order.callback_url,order.transaction_ref,DELIVERED)