other payments
This commit is contained in:
@@ -244,23 +244,25 @@ scope "(:locale)", locale: /en|mm/ do
|
||||
post 'payment/dinga' => 'dinga#create'
|
||||
post 'payment/gift_voucher' => 'gift_voucher#create'
|
||||
post 'payment/credit_payment' => 'credit_payments#create_credit_payment'
|
||||
post 'payment/:method' => 'others_payments#create', :as => 'payment'
|
||||
|
||||
post 'payment/:type/change_tax' => 'payments#change_tax', :defaults => {:format => 'json'}
|
||||
|
||||
get 'sale/:sale_id/:type/payment/credit_payment' => "credit_payments#index"
|
||||
get 'sale/:sale_id/:type/payment/others_payment' => "others_payments#index"
|
||||
get 'sale/:sale_id/:type/payment/others_payment/MPU' => "mpu#index"
|
||||
get 'sale/:sale_id/:type/payment/others_payment/VISA' => "visa#index"
|
||||
get 'sale/:sale_id/:type/payment/others_payment/Master' => "master#index"
|
||||
get 'sale/:sale_id/:type/payment/others_payment/JCB' => "jcb#index"
|
||||
get 'sale/:sale_id/:type/payment/others_payment/PAYMAL' => "paymal#index"
|
||||
get 'sale/:sale_id/:type/payment/others_payment/UNIONPAY' => "unionpay#index"
|
||||
get 'sale/:sale_id/:type/payment/others_payment/Redeem' => "redeem_payments#index"
|
||||
get 'sale/:sale_id/:type/payment/others_payment/Voucher' => "voucher#index"
|
||||
get 'sale/:sale_id/:type/payment/others_payment/JunctionPay' => "junction_pay#index"
|
||||
get 'sale/:sale_id/:type/payment/others_payment/Alipay' => "alipay#index"
|
||||
get 'sale/:sale_id/:type/payment/others_payment/DINGA' => "dinga#index"
|
||||
get 'sale/:sale_id/:type/payment/others_payment/GiftVoucher' => "gift_voucher#index"
|
||||
get 'sale/:sale_id/:type/payment/others_payment/mpu' => "mpu#index"
|
||||
get 'sale/:sale_id/:type/payment/others_payment/visa' => "visa#index"
|
||||
get 'sale/:sale_id/:type/payment/others_payment/master' => "master#index"
|
||||
get 'sale/:sale_id/:type/payment/others_payment/jcb' => "jcb#index"
|
||||
get 'sale/:sale_id/:type/payment/others_payment/paymal' => "paymal#index"
|
||||
get 'sale/:sale_id/:type/payment/others_payment/unionpay' => "unionpay#index"
|
||||
get 'sale/:sale_id/:type/payment/others_payment/redeem' => "redeem_payments#index"
|
||||
get 'sale/:sale_id/:type/payment/others_payment/voucher' => "voucher#index"
|
||||
get 'sale/:sale_id/:type/payment/others_payment/junctionpay' => "junction_pay#index"
|
||||
get 'sale/:sale_id/:type/payment/others_payment/alipay' => "alipay#index"
|
||||
get 'sale/:sale_id/:type/payment/others_payment/dinga' => "dinga#index"
|
||||
get 'sale/:sale_id/:type/payment/others_payment/giftvoucher' => "gift_voucher#index"
|
||||
get 'sale/:sale_id/:type/payment/others_payment/:method' => 'others_payments#new'
|
||||
|
||||
#---------Void --------------#
|
||||
post 'sale/:sale_id/:type/void' => 'void#overall_void'
|
||||
@@ -351,20 +353,22 @@ scope "(:locale)", locale: /en|mm/ do
|
||||
# post 'credit_payment/junctionpay' => 'junction_pay#create'
|
||||
# post 'credit_payment/dinga' => 'dinga#create'
|
||||
# post 'credit_payment/gift_voucher' => 'gift_voucher#create'
|
||||
post 'credit_payment/:method' => 'others_payments#create', :as => 'credit_payment'
|
||||
|
||||
get 'sale/:sale_id/:type/credit_payment/others_payment' => "others_payments#index"
|
||||
get 'sale/:sale_id/:type/credit_payment/others_payment/MPU' => "mpu#index"
|
||||
get 'sale/:sale_id/:type/credit_payment/others_payment/VISA' => "visa#index"
|
||||
get 'sale/:sale_id/:type/credit_payment/others_payment/Master' => "master#index"
|
||||
get 'sale/:sale_id/:type/credit_payment/others_payment/JCB' => "jcb#index"
|
||||
# get 'sale/:sale_id/:type/credit_payment/others_payment/PAYMAL' => "paymal#index"
|
||||
get 'sale/:sale_id/:type/credit_payment/others_payment/UNIONPAY' => "unionpay#index"
|
||||
# get 'sale/:sale_id/:type/credit_payment/others_payment/Redeem' => "redeem_payments#index"
|
||||
# get 'sale/:sale_id/:type/credit_payment/others_payment/Voucher' => "voucher#index"
|
||||
# get 'sale/:sale_id/:type/credit_payment/others_payment/JunctionPay' => "junction_pay#index"
|
||||
get 'sale/:sale_id/:type/credit_payment/others_payment/Alipay' => "alipay#index"
|
||||
# get 'sale/:sale_id/:type/credit_payment/others_payment/DINGA' => "dinga#index"
|
||||
# get 'sale/:sale_id/:type/credit_payment/others_payment/GiftVoucher' => "gift_voucher#index"
|
||||
get 'sale/:sale_id/:type/credit_payment/others_payment/mpu' => "mpu#index"
|
||||
get 'sale/:sale_id/:type/credit_payment/others_payment/visa' => "visa#index"
|
||||
get 'sale/:sale_id/:type/credit_payment/others_payment/master' => "master#index"
|
||||
get 'sale/:sale_id/:type/credit_payment/others_payment/jcb' => "jcb#index"
|
||||
# get 'sale/:sale_id/:type/credit_payment/others_payment/paymal' => "paymal#index"
|
||||
get 'sale/:sale_id/:type/credit_payment/others_payment/unionpay' => "unionpay#index"
|
||||
# get 'sale/:sale_id/:type/credit_payment/others_payment/redeem' => "redeem_payments#index"
|
||||
# get 'sale/:sale_id/:type/credit_payment/others_payment/voucher' => "voucher#index"
|
||||
# get 'sale/:sale_id/:type/credit_payment/others_payment/junctionpay' => "junction_pay#index"
|
||||
get 'sale/:sale_id/:type/credit_payment/others_payment/alipay' => "alipay#index"
|
||||
# get 'sale/:sale_id/:type/credit_payment/others_payment/dinga' => "dinga#index"
|
||||
# get 'sale/:sale_id/:type/credit_payment/others_payment/giftvoucher' => "gift_voucher#index"
|
||||
get 'sale/:sale_id/:type/credit_payment/others_payment/:method' => 'others_payments#new'
|
||||
|
||||
#------------- Start Reservation -------------------#
|
||||
resources :reservation
|
||||
|
||||
Reference in New Issue
Block a user