update edit qty and price and cash and credit div in payment details

This commit is contained in:
Aung Myo
2017-07-06 12:54:04 +06:30
parent f6e52fd619
commit 040d60402b
5 changed files with 67 additions and 58 deletions

View File

@@ -262,8 +262,7 @@ class SalePayment < ApplicationRecord
self.sale.sale_status = "completed"
response = rebat(sObj)
puts "hhhhhhh"
puts response.to_json
if response["status"] == true
self.sale.rebate_status = 'true'
end