Edit filter
This commit is contained in:
@@ -8,11 +8,9 @@ class Reports::CardSaleTranController < BaseReportController
|
||||
["Master Payment","master"], ["JCB Payment","jcb"],["UnionPay Payment","unionpay"],
|
||||
["Alipay Payment","alipay"]]
|
||||
@sales = Sale.all
|
||||
# byebug
|
||||
|
||||
payment_type = params[:payment_type]
|
||||
|
||||
# from = params[:from]
|
||||
# to = params[:to]
|
||||
from, to = get_date_range_from_params
|
||||
status = 'Approved'
|
||||
@shift_sale_range = ''
|
||||
|
||||
Reference in New Issue
Block a user