show response errors,sync and update member

This commit is contained in:
Myat Zin Wai Maw
2019-05-08 17:59:57 +06:30
parent 8f81eb8e4a
commit b2532ce5f3
5 changed files with 203 additions and 45 deletions

View File

@@ -358,6 +358,8 @@ scope "(:locale)", locale: /en|mm/ do
namespace :crm do
root "home#index"
resources :customers
get "/customers/:id/sync" => "customers#sync", as:"customer_sync"
get "/customers/:id/customer_update_phone_email" => "customers#customer_update_phone_email", as:"customer_update_phone_email"
resources :dining_queues
post "update_booking", to: "bookings#update_booking", as: "update_booking" #assign and cancel
get '/print/:id', to: "home#print_order" #print order for crm