supplier improvements

This commit is contained in:
2013-03-09 14:18:21 +01:00
parent 730f910881
commit cc13797f5a
53 changed files with 819 additions and 156 deletions
-1
View File
@@ -66,7 +66,6 @@ en:
successfull: '%{model} is successfully destroyed'
table:
is_occupied: This table is occupied
has_no_section: "Not placed"
general:
boolean:
boolean_yes: "Yes"
+9
View File
@@ -26,6 +26,7 @@ en:
full_day: Whole day
start_from: From
end_on: Till
visible_on: Active on
product:
name: Name
code: Code
@@ -37,14 +38,22 @@ en:
needs_help: Needs attention
needs_payment: Wants to pay
closed_at: Closed at
section:
title: Title
width: Width
height: Length
created_at: Created
supplier:
name: Name
email: 'Email'
password: 'Password'
password_confirmation: 'Confirmation'
location: Location
time_zone: Time zone
iens_profile: Iens profile id
table:
number: Number
from_number: From number
to_number: To number
created_at: Created
+4
View File
@@ -26,6 +26,7 @@ nl:
full_day: De hele dag
start_from: Van
end_on: Tot
visible_on: Actief op
product:
name: Naam
code: Code
@@ -42,11 +43,14 @@ nl:
title: Titel
width: Breedte
height: Lengte
created_at: Aangemaakt
supplier:
name: Naam
email: 'E-mail'
password: 'Wachtwoord'
password_confirmation: 'Bevestiging'
location: 'Locatie'
time_zone: Tijdzone
iens_profile: Iens profiel id
table:
number: Nummer
-1
View File
@@ -65,7 +65,6 @@ nl:
successfull: '%{model} is succesvol verwijderd'
table:
is_occupied: Deze tafel is bezet
has_no_section: "Niet geplaatst"
general:
boolean:
boolean_yes: "Ja"
+9 -1
View File
@@ -19,8 +19,11 @@ en:
table_number: Table
tables:
qr_codes:
link: Qr codes sheet
link: Print Qr codes sheet
has_no_section: "Not placed"
lists:
index:
show_all: Show all ${models.plural.list}
show:
title: Show %{list}
section:
@@ -69,3 +72,8 @@ en:
thursday: T
friday: F
saturday: S
product:
new: 'New ${model.product|downcase}'
preview:
header: 'Select moment to preview products'
description: 'Products visible to customers at chosen moment:'
+9 -1
View File
@@ -19,8 +19,11 @@ nl:
table_number: Tafel
tables:
qr_codes:
link: Qr codes
link: Print Qr codes
has_no_section: "Niet geplaatst"
lists:
index:
show_all: Toon alle ${models.plural.list}
show:
title: "%{list} tonen"
section:
@@ -69,3 +72,8 @@ nl:
thursday: D
friday: V
saturday: Z
product:
new: 'Nieuw ${model.product|downcase}'
preview:
header: 'Selecteer tijdstip voor voorbeeld'
description: 'Producten op gekozen tijdstip:'
+5 -1
View File
@@ -87,7 +87,11 @@ Qwaiter::Application.routes.draw do
get :qr_codes
end
end
resources :products
resources :products do
collection do
get :preview_products
end
end
resources :lists
resources :product_categories do
collection do