Edit in report
This commit is contained in:
@@ -12,11 +12,7 @@ class CardSaleTran < ApplicationRecord
|
||||
if payment_type.blank?
|
||||
payment = ''
|
||||
else
|
||||
if payment_type == 'unionpay'
|
||||
payment = " app LIKE 'cup'"
|
||||
else
|
||||
payment = " app LIKE '#{payment_type}'"
|
||||
end
|
||||
payment = " app LIKE '#{payment_type}'"
|
||||
end
|
||||
|
||||
if status_type.blank?
|
||||
@@ -45,11 +41,7 @@ class CardSaleTran < ApplicationRecord
|
||||
if payment_type.blank?
|
||||
payment = ''
|
||||
else
|
||||
if payment_type == 'unionpay'
|
||||
payment = " app LIKE 'cup'"
|
||||
else
|
||||
payment = " app LIKE '#{payment_type}'"
|
||||
end
|
||||
payment = " app LIKE '#{payment_type}'"
|
||||
end
|
||||
|
||||
if from.present? && to.present?
|
||||
|
||||
Reference in New Issue
Block a user