Merge branch 'master' of bitbucket.org:code2lab/sxrestaurant

This commit is contained in:
Yan
2018-04-11 17:20:29 +06:30
14 changed files with 761 additions and 263 deletions

View File

@@ -222,6 +222,7 @@ scope "(:locale)", locale: /en|mm/ do
post '/:sale_id/:type/customers/update_sale', to: "customers#update_sale_by_customer" # update customer id in sale table
post '/:sale_id/get_customer' => "customers#get_customer"
post '/:sale_id/send_account' => "customers#send_account"
get '/:id/:type/surveys', to: "surveys#new"
match '/:id/create_survey', to: "surveys#create", as: "create_surveys", via: [:post, :patch, :put]