layout changes and section handling
This commit is contained in:
@@ -65,9 +65,13 @@ en:
|
||||
active_lists: Active %{lists}
|
||||
active_lists:
|
||||
title: Active %{lists}
|
||||
price: Price
|
||||
active_orders:
|
||||
price: Price
|
||||
close: Close the shop
|
||||
you_are_currently_closed_alert: 'You are currently closed and not able to take orders'
|
||||
mark_as_open_button: 'Open up the place!'
|
||||
table_number: Table
|
||||
user:
|
||||
active_list:
|
||||
title: Active %{list}
|
||||
@@ -85,3 +89,5 @@ en:
|
||||
show_active_list_products: Go to the menu
|
||||
section:
|
||||
first_section_title: Room
|
||||
manage_tables:
|
||||
title: "Manage tables for %{section}: %{title}"
|
||||
|
||||
+9
-2
@@ -55,12 +55,19 @@ Qrammer::Application.routes.draw do
|
||||
post '/user/check_table_join_status' => 'user#check_table_join_status'
|
||||
|
||||
|
||||
match '/show_products' => 'dashboard#show_products', as: :user_products
|
||||
#match '/show_products' => 'dashboard#show_products', as: :user_products
|
||||
|
||||
# DEVELOPMENT ONLY
|
||||
match '/qr' => 'dashboard#qr'
|
||||
match '/demo_both' => 'dashboard#demo_both'
|
||||
|
||||
namespace :suppliers, path: '/supplier' do
|
||||
resources :sections
|
||||
resources :sections do
|
||||
member do
|
||||
get :manage_tables
|
||||
get :tables_view
|
||||
end
|
||||
end
|
||||
resources :tables
|
||||
resources :products
|
||||
resources :product_categories
|
||||
|
||||
Reference in New Issue
Block a user