update addorder modefined

This commit is contained in:
Aung Myo
2017-09-13 12:27:37 +06:30
parent bbcce13a2e
commit abde6745a4
6 changed files with 233 additions and 65 deletions

View File

@@ -178,8 +178,9 @@ Rails.application.routes.draw do
post '/:sale_id/get_customer' => "customers#get_customer"
get '/:addorders/:id' => "addorders#detail"
post '/:addorders/create' => "addorders#create", :defaults => { :format => 'json' }
get '/:addorders/:id' => "addorders#detail"
post '/:addorders/create' => "addorders#create", :defaults => { :format => 'json' }
get '/addorders/get_menu_category/:id' => "addorders#get_menu_category",:as => "get_menu_category", :defaults => { :format => 'json' }
resources :commissions
resources :commissioners