update customerbind in origami

This commit is contained in:
Aung Myo
2017-06-22 10:25:40 +06:30
parent 7785ac99ef
commit 54526230aa
3 changed files with 22 additions and 3 deletions

View File

@@ -112,7 +112,7 @@ Rails.application.routes.draw do
#resources :customers
get '/:sale_id/customers', to: "customers#add_customer"
get '/:customer_id/get_customer' => 'home#get_customer'
post '/:sale_id/update_sale' , to: "home#update_sale_by_customer"#update customer id in sale table
post '/:sale_id/update_sale' , to: "customers#update_sale_by_customer"#update customer id in sale table
end
#--------- Waiter/Ordering Station ------------#