rescue member call and update oqs and js route bug
This commit is contained in:
@@ -39,6 +39,7 @@ class Origami::HomeController < BaseOrigamiController
|
||||
str.push(ord_detail)
|
||||
end
|
||||
end
|
||||
|
||||
if is_ajax == 1
|
||||
render :json => str.to_json
|
||||
else
|
||||
|
||||
@@ -48,7 +48,7 @@ class Origami::PaymentsController < BaseOrigamiController
|
||||
|
||||
@balance = 0.00
|
||||
@accountable_type = ''
|
||||
if response["data"]==true
|
||||
if response["status"]==true
|
||||
response["data"].each do |res|
|
||||
if res["accountable_type"] == "RebateAccount"
|
||||
@balance = res["balance"]
|
||||
|
||||
Reference in New Issue
Block a user