update add order

This commit is contained in:
Aung Myo
2017-07-07 09:56:18 +06:30
parent 4d3de51e72
commit 2d55ea0dab
11 changed files with 196 additions and 2 deletions

View File

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