Adding Redeem at payment
This commit is contained in:
@@ -72,10 +72,13 @@ Rails.application.routes.draw do
|
||||
resources :customers, only: [:index,:new, :create ] #add customer type
|
||||
end
|
||||
|
||||
|
||||
get "/request_bills/:id" => "request_bills#print"
|
||||
|
||||
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"
|
||||
|
||||
Reference in New Issue
Block a user