fixed conflict route and request bill

This commit is contained in:
Aung Myo
2017-06-07 22:21:42 +06:30
50 changed files with 731 additions and 379 deletions

View File

@@ -72,8 +72,8 @@ Rails.application.routes.draw do
resources :customers, only: [:index,:new, :create ] #add customer type
end
resources :request_bills, only: [:show]
get 'sale/:sale_id/payment' => 'request_bills#show'
get "/request_bills/:id" => "request_bills#print"
get 'sale/:sale_id/payment' => 'payments#show'
post 'payment_process' => 'payments#create'