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

This commit is contained in:
Yan
2017-08-15 16:42:32 +06:30
50 changed files with 738 additions and 55 deletions

View File

@@ -130,6 +130,7 @@ Rails.application.routes.draw do
get 'sale/:sale_id/first_bill' => 'payments#first_bill', :defaults => { :format => 'json' }
get 'sale/:sale_id/payment' => 'payments#show'
post 'payment/foc' => 'payments#foc', :defaults => { :format => 'json' }
post 'payment/cash' => 'payments#create'
post 'payment/mpu' => "mpu#create"
post 'payment/jcb' => "jcb#create"
@@ -216,6 +217,10 @@ Rails.application.routes.draw do
resources :menu_categories, only: [:new, :create, :edit,:delete]
end
resources :item_sets
resources :menu_item_sets
#accounts
resources :accounts