cash payment complete

This commit is contained in:
Nweni
2017-06-09 11:25:30 +06:30
parent 35553217f5
commit 6171b00dc7
5 changed files with 19 additions and 18 deletions

View File

@@ -10,7 +10,7 @@ class Origami::PaymentsController < BaseOrigamiController
if(Sale.exists?(sale_id))
saleObj = Sale.find(sale_id)
sale_payment = SalePayment.new
sale_payment.process_payment(saleObj, @user, cash)
sale_payment.process_payment(saleObj, @user, cash, "cash")
end
end