This commit is contained in:
Nweni
2017-06-06 15:32:24 +06:30
parent b847cde62c
commit 3c756949d1
5 changed files with 75 additions and 35 deletions

View File

@@ -72,8 +72,10 @@ Rails.application.routes.draw do
resources :discounts, only: [:index,:new, :create ] #add discount type
resources :customers, only: [:index,:new, :create ] #add customer type
end
resources :request_bills, only: [:show]
# resources :request_bills, only: [:show]
get 'sale/:sale_id/payment' => 'request_bills#show'
get 'sale/:sale_id/payment/credit_payment' => "credit_payments#index"
get 'sale/:sale_id/payment/card_payment' => "card_payments#index"
end
#--------- Waiter/Ordering Station ------------#