Update
This commit is contained in:
@@ -37,7 +37,7 @@ class Origami::PaymentsController < BaseOrigamiController
|
||||
'Accept' => 'application/json'
|
||||
}
|
||||
)
|
||||
|
||||
|
||||
@balance = 0.00
|
||||
@accountable_type = ''
|
||||
if response["data"]==true
|
||||
@@ -45,10 +45,10 @@ class Origami::PaymentsController < BaseOrigamiController
|
||||
if res["accountable_type"] == "RebateAccount"
|
||||
@balance = res["balance"]
|
||||
@accountable_type = res["accountable_type"]
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
#end customer amount
|
||||
|
||||
@sale_data.sale_payments.each do |spay|
|
||||
|
||||
Reference in New Issue
Block a user