order quries update
This commit is contained in:
@@ -28,8 +28,8 @@ class Origami::CustomersController < BaseOrigamiController
|
||||
# if @membership["status"] == true
|
||||
# @member_group = @membership["data"]
|
||||
# end
|
||||
puts "Errrrrrrrrrrrrrrrrr"
|
||||
puts @crm_customer.new_record?
|
||||
# puts "Errrrrrrrrrrrrrrrrr"
|
||||
# puts @crm_customer.valid?
|
||||
|
||||
|
||||
respond_to do |format|
|
||||
|
||||
@@ -24,8 +24,8 @@ class Origami::PaymentsController < BaseOrigamiController
|
||||
if spay.payment_method == "cash"
|
||||
@cash = spay.payment_amount
|
||||
end
|
||||
if spay.payment_method == "mpu"
|
||||
@other = spay.payment_amount
|
||||
if spay.payment_method == "mpu" || spay.payment_method == "paypar"
|
||||
@other += spay.payment_amount
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user