Edit in report

This commit is contained in:
San Wai Lwin
2018-08-06 14:44:26 +06:30
parent 10d93a658c
commit 7b74de9b3a
12 changed files with 66 additions and 139 deletions

View File

@@ -4,8 +4,8 @@ class Reports::CardSettleTranController < BaseReportController
# GET /transactions/sales
# GET /transactions/sales.json
def index
@payment_method = [["All Payments",''],["MPU Payment","mpu"], ["Visa Payment","visa"],
["Master Payment","master"], ["JCB Payment","jcb"],["UnionPay Payment","unionpay"],
@payment_method = [["All Payments",''],["MPU Payment","mpu"], ["Visa & Master Payment","vmj"],
["JCB Payment","jcb"],["UnionPay Payment","cup"],
["Alipay Payment","alipay"]]
@sales = Sale.all
payment_type = params[:payment_type]