merged loyalty

This commit is contained in:
Yan
2017-06-08 15:28:09 +06:30
24 changed files with 521 additions and 30 deletions

View File

@@ -79,6 +79,7 @@ Rails.application.routes.draw do
#--------- Payment ------------#
get 'sale/:sale_id/payment' => 'payments#show'
post 'payment_process' => 'payments#create'
post 'paypar_payment_process' => 'paypar_payments#create'
get 'sale/:sale_id/payment/credit_payment' => "credit_payments#index"
get 'sale/:sale_id/payment/others_payment' => "others_payments#index"