office_clerk 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +73 -0
- data/.rubocop.yml +6 -0
- data/.travis.yml +9 -0
- data/Gemfile +63 -0
- data/Gemfile.lock +367 -0
- data/Guardfile +28 -0
- data/README.md +44 -0
- data/Rakefile +6 -0
- data/app/assets/images/admin/baskets-2.jpg +0 -0
- data/app/assets/images/admin/baskets.jpg +0 -0
- data/app/assets/images/admin/categories-2.jpg +0 -0
- data/app/assets/images/admin/categories.jpg +0 -0
- data/app/assets/images/admin/clerks-2.jpg +0 -0
- data/app/assets/images/admin/clerks.jpg +0 -0
- data/app/assets/images/admin/orders-2.jpg +0 -0
- data/app/assets/images/admin/orders.jpg +0 -0
- data/app/assets/images/admin/products-2.jpg +0 -0
- data/app/assets/images/admin/products.jpg +0 -0
- data/app/assets/images/admin/purchases-2.jpg +0 -0
- data/app/assets/images/admin/purchases.jpg +0 -0
- data/app/assets/images/admin/suppliers-2.jpg +0 -0
- data/app/assets/images/admin/suppliers.jpg +0 -0
- data/app/assets/images/alpha.png +0 -0
- data/app/assets/images/down-icon.png +0 -0
- data/app/assets/images/header.gif +0 -0
- data/app/assets/images/hihih.jpg +0 -0
- data/app/assets/images/hue.png +0 -0
- data/app/assets/images/koe.jpg +0 -0
- data/app/assets/images/missing.png +0 -0
- data/app/assets/images/saturation.png +0 -0
- data/app/assets/images/shop/basket.jpg +0 -0
- data/app/assets/images/shop/farfalla-logo.jpg +0 -0
- data/app/assets/images/shop/header.gif +0 -0
- data/app/assets/images/shop/header.jpg +0 -0
- data/app/assets/images/shop/header.png +0 -0
- data/app/assets/images/shop/kansi.jpg +0 -0
- data/app/assets/images/shop/kansi.png +0 -0
- data/app/assets/images/shop/logo.png +0 -0
- data/app/assets/images/shop/menu-gourmet.jpg +0 -0
- data/app/assets/images/shop/menu-hius.jpg +0 -0
- data/app/assets/images/shop/menu-huonetuoksu.jpg +0 -0
- data/app/assets/images/shop/menu-info.jpg +0 -0
- data/app/assets/images/shop/menu-kasvo.jpg +0 -0
- data/app/assets/images/shop/menu-laukut.jpg +0 -0
- data/app/assets/images/shop/menu-luomu.jpg +0 -0
- data/app/assets/images/shop/menu-men.jpg +0 -0
- data/app/assets/images/shop/menu-oljy.jpg +0 -0
- data/app/assets/images/shop/menu-tuoksu1.jpg +0 -0
- data/app/assets/images/shop/menu-vaatteet.jpg +0 -0
- data/app/assets/images/shop/menu-valaisin.jpg +0 -0
- data/app/assets/images/shop/menu-vartalo.jpg +0 -0
- data/app/assets/images/shop/spacer.gif +0 -0
- data/app/assets/images/shop/tausta.jpg +0 -0
- data/app/assets/images/shop/tervetuloa.gif +0 -0
- data/app/assets/images/shop/valk.png +0 -0
- data/app/assets/images/shop/valk3.png +0 -0
- data/app/assets/images/shop/violetti-lev.jpg +0 -0
- data/app/assets/images/shop/violetti.jpg +0 -0
- data/app/assets/images/ui-anim_basic_16x16.gif +0 -0
- data/app/assets/images/up-icon.png +0 -0
- data/app/assets/javascripts/admin.js +29 -0
- data/app/assets/javascripts/shop.js +30 -0
- data/app/assets/stylesheets/admin.css.scss +129 -0
- data/app/assets/stylesheets/shop-receipt.css.scss +80 -0
- data/app/assets/stylesheets/shop.css.scss +403 -0
- data/app/controllers/admin_controller.rb +23 -0
- data/app/controllers/application_controller.rb +41 -0
- data/app/controllers/baskets_controller.rb +176 -0
- data/app/controllers/categories_controller.rb +69 -0
- data/app/controllers/clerks_controller.rb +64 -0
- data/app/controllers/orders_controller.rb +57 -0
- data/app/controllers/products_controller.rb +126 -0
- data/app/controllers/purchases_controller.rb +72 -0
- data/app/controllers/sessions_controller.rb +46 -0
- data/app/controllers/shop_controller.rb +90 -0
- data/app/controllers/suppliers_controller.rb +63 -0
- data/app/helpers/admin_helper.rb +28 -0
- data/app/helpers/application_helper.rb +25 -0
- data/app/helpers/baskets_helper.rb +4 -0
- data/app/helpers/categories_helper.rb +4 -0
- data/app/helpers/orders_helper.rb +4 -0
- data/app/helpers/products_helper.rb +4 -0
- data/app/helpers/purchases_helper.rb +4 -0
- data/app/helpers/shop_helper.rb +17 -0
- data/app/helpers/suppliers_helper.rb +4 -0
- data/app/mailers/.keep +0 -0
- data/app/models/basket.rb +114 -0
- data/app/models/category.rb +27 -0
- data/app/models/clerk.rb +46 -0
- data/app/models/item.rb +26 -0
- data/app/models/order.rb +72 -0
- data/app/models/product.rb +100 -0
- data/app/models/purchase.rb +26 -0
- data/app/models/supplier.rb +15 -0
- data/app/views/addresses/_form_fields.html.haml +4 -0
- data/app/views/addresses/show.html.haml +23 -0
- data/app/views/baskets/_small.html.haml +25 -0
- data/app/views/baskets/edit.html.haml +74 -0
- data/app/views/baskets/index.html.haml +55 -0
- data/app/views/baskets/show.html.haml +18 -0
- data/app/views/categories/_treeview.html.haml +8 -0
- data/app/views/categories/_triple.html.haml +12 -0
- data/app/views/categories/edit.html.haml +36 -0
- data/app/views/categories/index.html.haml +49 -0
- data/app/views/categories/show.html.haml +30 -0
- data/app/views/clerks/edit.html.haml +20 -0
- data/app/views/clerks/index.html.haml +37 -0
- data/app/views/clerks/show.html.haml +19 -0
- data/app/views/layouts/_admin_menu.html.haml +14 -0
- data/app/views/layouts/_google.haml +8 -0
- data/app/views/layouts/_messages.html.haml +5 -0
- data/app/views/layouts/admin.html.haml +42 -0
- data/app/views/layouts/shop.html.haml +96 -0
- data/app/views/orders/edit.html.haml +25 -0
- data/app/views/orders/index.html.haml +93 -0
- data/app/views/orders/show.html.haml +37 -0
- data/app/views/products/_line.html.haml +25 -0
- data/app/views/products/_name.html.haml +4 -0
- data/app/views/products/_online.html.haml +2 -0
- data/app/views/products/_triple.html.haml +12 -0
- data/app/views/products/edit.html.haml +42 -0
- data/app/views/products/index.html.haml +86 -0
- data/app/views/products/show.html.haml +94 -0
- data/app/views/purchases/edit.html.haml +9 -0
- data/app/views/purchases/index.html.haml +52 -0
- data/app/views/purchases/show.html.haml +32 -0
- data/app/views/sessions/new.html.haml +10 -0
- data/app/views/sessions/new_clerk.html.haml +22 -0
- data/app/views/shop/_groups.html.haml +8 -0
- data/app/views/shop/_menu.html.haml +5 -0
- data/app/views/shop/_sub.html.haml +0 -0
- data/app/views/shop/checkout.haml +142 -0
- data/app/views/shop/group.html.haml +9 -0
- data/app/views/shop/main_group.html.haml +9 -0
- data/app/views/shop/order.haml +104 -0
- data/app/views/shop/product.html.haml +67 -0
- data/app/views/shop/product_list.html.haml +50 -0
- data/app/views/shop/saved_search.html +6 -0
- data/app/views/shop/sub_group.html.haml +19 -0
- data/app/views/shop/tuotteista.html.haml +40 -0
- data/app/views/shop/welcome.html.haml +103 -0
- data/app/views/suppliers/edit.html.haml +10 -0
- data/app/views/suppliers/index.html.haml +40 -0
- data/app/views/suppliers/show.html.haml +27 -0
- data/bin/bundle +3 -0
- data/bin/rails +8 -0
- data/bin/rake +8 -0
- data/bin/rspec +7 -0
- data/bin/spring +18 -0
- data/config.ru +7 -0
- data/config/application.example.yml +13 -0
- data/config/application.rb +59 -0
- data/config/application.yml +13 -0
- data/config/boot.rb +7 -0
- data/config/database.yml +25 -0
- data/config/environment.rb +6 -0
- data/config/environments/development.rb +31 -0
- data/config/environments/production.rb +80 -0
- data/config/environments/test.rb +36 -0
- data/config/i18n-tasks.yml +11 -0
- data/config/initializers/attack.rb +32 -0
- data/config/initializers/backtrace_silencers.rb +7 -0
- data/config/initializers/filter_parameter_logging.rb +4 -0
- data/config/initializers/inflections.rb +16 -0
- data/config/initializers/migrate.rb +6 -0
- data/config/initializers/mime_types.rb +6 -0
- data/config/initializers/secret_token.rb +12 -0
- data/config/initializers/session_store.rb +3 -0
- data/config/initializers/simple_form.rb +149 -0
- data/config/initializers/simple_form_bootstrap.rb +48 -0
- data/config/initializers/wrap_parameters.rb +14 -0
- data/config/locales/config.yml +23 -0
- data/config/locales/en.yml +183 -0
- data/config/locales/fi.yml +211 -0
- data/config/routes.rb +108 -0
- data/db/migrate/20131224171442_clerks.rb +15 -0
- data/db/migrate/20131226110406_suppliers.rb +9 -0
- data/db/migrate/20131226143612_categories.rb +18 -0
- data/db/migrate/20131226143747_items.rb +14 -0
- data/db/migrate/20131226144134_orders.rb +21 -0
- data/db/migrate/20131226144316_baskets.rb +12 -0
- data/db/migrate/20131226151151_purchases.rb +11 -0
- data/db/migrate/20131226151332_products.rb +27 -0
- data/db/schema.rb +138 -0
- data/db/seeds.rb +4 -0
- data/lib/assets/.keep +0 -0
- data/lib/office_clerk.rb +20 -0
- data/lib/office_clerk/shipping_method.rb +35 -0
- data/lib/tasks/.keep +0 -0
- data/lib/tasks/import.rake +33 -0
- data/lib/templates/haml/scaffold/_form.html.haml +8 -0
- data/office_clerk.gemspec +46 -0
- data/public/404.html +58 -0
- data/public/422.html +58 -0
- data/public/500.html +57 -0
- data/public/favicon.ico +0 -0
- data/public/humans.txt +20 -0
- data/public/robots.txt +5 -0
- data/spec/controllers/baskets_controller_spec.rb +112 -0
- data/spec/controllers/categories_controller_spec.rb +133 -0
- data/spec/controllers/clerks_controller_spec.rb +70 -0
- data/spec/controllers/orders_controller_spec.rb +105 -0
- data/spec/controllers/products_controller_spec.rb +138 -0
- data/spec/controllers/purchases_controller_spec.rb +123 -0
- data/spec/controllers/sessions_controller_spec.rb +18 -0
- data/spec/controllers/suppliers_controller_spec.rb +137 -0
- data/spec/factories/addresses.rb +11 -0
- data/spec/factories/baskets.rb +15 -0
- data/spec/factories/categories.rb +8 -0
- data/spec/factories/clerks.rb +15 -0
- data/spec/factories/items.rb +19 -0
- data/spec/factories/orders.rb +9 -0
- data/spec/factories/products.rb +10 -0
- data/spec/factories/purchases.rb +10 -0
- data/spec/factories/suppliers.rb +7 -0
- data/spec/features/baskets/buttons_spec.rb +35 -0
- data/spec/features/baskets/edit_spec.rb +50 -0
- data/spec/features/baskets/index_spec.rb +12 -0
- data/spec/features/baskets/search_spec.rb +33 -0
- data/spec/features/baskets/show_spec.rb +21 -0
- data/spec/features/categories_spec.rb +21 -0
- data/spec/features/clerks_spec.rb +21 -0
- data/spec/features/orders_spec.rb +14 -0
- data/spec/features/products/index_spec.rb +30 -0
- data/spec/features/products/new_spec.rb +20 -0
- data/spec/features/purchases_spec.rb +14 -0
- data/spec/features/shops_spec.rb +18 -0
- data/spec/features/suppliers_spec.rb +18 -0
- data/spec/models/baskets/inventory_spec.rb +34 -0
- data/spec/models/baskets/items_spec.rb +37 -0
- data/spec/models/baskets/products_spec.rb +31 -0
- data/spec/models/category_spec.rb +18 -0
- data/spec/models/clerk/email_spec.rb +69 -0
- data/spec/models/clerk/password_spec.rb +83 -0
- data/spec/models/item_spec.rb +33 -0
- data/spec/models/locale_spec.rb +17 -0
- data/spec/models/order_spec.rb +19 -0
- data/spec/models/product_spec.rb +29 -0
- data/spec/models/purchase_spec.rb +8 -0
- data/spec/models/supplier_spec.rb +8 -0
- data/spec/routing/baskets_routing_spec.rb +35 -0
- data/spec/routing/categories_routing_spec.rb +35 -0
- data/spec/routing/orders_routing_spec.rb +35 -0
- data/spec/routing/products_routing_spec.rb +35 -0
- data/spec/routing/purchases_routing_spec.rb +35 -0
- data/spec/routing/suppliers_routing_spec.rb +35 -0
- data/spec/spec_helper.rb +74 -0
- data/spec/support/request_helper.rb +31 -0
- data/test/fixtures/baskets.yml +41993 -0
- data/test/fixtures/categories.yml +638 -0
- data/test/fixtures/clerks.yml +694 -0
- data/test/fixtures/items.yml +83651 -0
- data/test/fixtures/orders.yml +58918 -0
- data/test/fixtures/products.yml +110904 -0
- data/test/fixtures/purchases.yml +1755 -0
- data/test/fixtures/suppliers.yml +341 -0
- data/todo +8 -0
- metadata +607 -0
@@ -0,0 +1,48 @@
|
|
1
|
+
# Use this setup block to configure all options available in SimpleForm.
|
2
|
+
SimpleForm.setup do |config|
|
3
|
+
config.error_notification_class = 'alert alert-error'
|
4
|
+
config.label_class = 'control-label'
|
5
|
+
|
6
|
+
config.wrappers :bootstrap, tag: 'div', class: 'form-group', error_class: 'has-error' do |b|
|
7
|
+
b.use :html5
|
8
|
+
b.use :placeholder
|
9
|
+
b.use :label
|
10
|
+
b.wrapper tag: 'div', class: 'col-md-8' do |ba|
|
11
|
+
ba.use :input
|
12
|
+
ba.use :error, wrap_with: { tag: 'span', class: 'help-inline' }
|
13
|
+
ba.use :hint, wrap_with: { tag: 'p', class: 'help-block' }
|
14
|
+
end
|
15
|
+
end
|
16
|
+
|
17
|
+
config.wrappers :prepend, tag: 'div', class: "form-group", error_class: 'has-error' do |b|
|
18
|
+
b.use :html5
|
19
|
+
b.use :placeholder
|
20
|
+
b.use :label
|
21
|
+
b.wrapper tag: 'div', class: 'col-md-8' do |input|
|
22
|
+
input.wrapper tag: 'div', class: 'input-prepend' do |prepend|
|
23
|
+
prepend.use :input
|
24
|
+
end
|
25
|
+
input.use :hint, wrap_with: { tag: 'span', class: 'help-block' }
|
26
|
+
input.use :error, wrap_with: { tag: 'span', class: 'help-inline' }
|
27
|
+
end
|
28
|
+
end
|
29
|
+
|
30
|
+
config.wrappers :append, tag: 'div', class: "form-group", error_class: 'has-error' do |b|
|
31
|
+
b.use :html5
|
32
|
+
b.use :placeholder
|
33
|
+
b.use :label
|
34
|
+
b.wrapper tag: 'div', class: 'col-md-8' do |input|
|
35
|
+
input.wrapper tag: 'div', class: 'input-append' do |append|
|
36
|
+
append.use :input
|
37
|
+
end
|
38
|
+
input.use :hint, wrap_with: { tag: 'span', class: 'help-block' }
|
39
|
+
input.use :error, wrap_with: { tag: 'span', class: 'help-inline' }
|
40
|
+
end
|
41
|
+
end
|
42
|
+
|
43
|
+
# Wrappers for forms and inputs using the Bootstrap toolkit.
|
44
|
+
# Check the Bootstrap docs (http://getbootstrap.com/2.3.2/)
|
45
|
+
# to learn about the different styles for forms and inputs,
|
46
|
+
# buttons and other elements.
|
47
|
+
config.default_wrapper = :bootstrap
|
48
|
+
end
|
@@ -0,0 +1,14 @@
|
|
1
|
+
# Be sure to restart your server when you modify this file.
|
2
|
+
|
3
|
+
# This file contains settings for ActionController::ParamsWrapper which
|
4
|
+
# is enabled by default.
|
5
|
+
|
6
|
+
# Enable parameter wrapping for JSON. You can disable this by setting :format to an empty array.
|
7
|
+
ActiveSupport.on_load(:action_controller) do
|
8
|
+
wrap_parameters format: [:json] if respond_to?(:wrap_parameters)
|
9
|
+
end
|
10
|
+
|
11
|
+
# To enable root element in JSON for ActiveRecord objects.
|
12
|
+
# ActiveSupport.on_load(:active_record) do
|
13
|
+
# self.include_root_in_json = true
|
14
|
+
# end
|
@@ -0,0 +1,23 @@
|
|
1
|
+
config:
|
2
|
+
shipping:
|
3
|
+
kotiinkuljetus:
|
4
|
+
weight_table: '2 5 15 30'
|
5
|
+
price_table: '8.13 9.75 11.38 13.82'
|
6
|
+
name: Postin kotiinkuljetus
|
7
|
+
class: "OfficeClerk::Post"
|
8
|
+
post:
|
9
|
+
weight_table: '2 5 15 30'
|
10
|
+
price_table: '5.7 7.3 8.95 10.55'
|
11
|
+
name: Nouto lähimmästä postikonttorista
|
12
|
+
class: "OfficeClerk::Post"
|
13
|
+
pakettiautomaati:
|
14
|
+
weight_table: '1 2 5 10 20'
|
15
|
+
price_table: '2 5 10 15 18'
|
16
|
+
name: Nouto lähimmästä pakettiautomaatista
|
17
|
+
class: "OfficeClerk::Post"
|
18
|
+
pickup:
|
19
|
+
class: "OfficeClerk::Pickup"
|
20
|
+
name: Nouto myymälästämme
|
21
|
+
defaults:
|
22
|
+
tax: 24.0
|
23
|
+
free_shipping: 100
|
@@ -0,0 +1,183 @@
|
|
1
|
+
---
|
2
|
+
en:
|
3
|
+
empty: Empty
|
4
|
+
online_eq: Online?
|
5
|
+
actions: Actions
|
6
|
+
activerecord:
|
7
|
+
attributes:
|
8
|
+
basket:
|
9
|
+
created_at: Created
|
10
|
+
total_price: Price
|
11
|
+
clerk:
|
12
|
+
city: City
|
13
|
+
email: Email
|
14
|
+
name: Name
|
15
|
+
password: Passord
|
16
|
+
password_confirmation: Password confirmation
|
17
|
+
phone: Phone
|
18
|
+
street: Street
|
19
|
+
order:
|
20
|
+
email: Email
|
21
|
+
ordered_on: Ordered on
|
22
|
+
product:
|
23
|
+
description: Description
|
24
|
+
ean: Ean
|
25
|
+
inventory: Inventory
|
26
|
+
name: Name
|
27
|
+
online: online
|
28
|
+
price: Price
|
29
|
+
scode: Supplier code
|
30
|
+
tax: Tax rate
|
31
|
+
weight: Weight
|
32
|
+
purchase:
|
33
|
+
name: Name
|
34
|
+
ordered_on: Ordered on
|
35
|
+
received_on: Received on
|
36
|
+
supplier:
|
37
|
+
city: City
|
38
|
+
name: Name
|
39
|
+
phone: Phone
|
40
|
+
street: Street
|
41
|
+
supplier_name: Supplier
|
42
|
+
models:
|
43
|
+
basket: Cart
|
44
|
+
category: Product group
|
45
|
+
clerk: User
|
46
|
+
order: Order
|
47
|
+
product: Product
|
48
|
+
purchase: Purchase
|
49
|
+
supplier: Supplier
|
50
|
+
add: Add
|
51
|
+
add_inventory: Add Inventory
|
52
|
+
add_to_basket: Add to basket
|
53
|
+
address: Adress
|
54
|
+
addresses: Adresses
|
55
|
+
admin: Admin
|
56
|
+
are_you_sure: Are you sure?
|
57
|
+
as_inventory: As Inventory
|
58
|
+
back: Back
|
59
|
+
barcode: Barcode
|
60
|
+
basket: Basket
|
61
|
+
basket_empty: Basket is empty
|
62
|
+
basket_locked: Basket is locked, unlock to change
|
63
|
+
baskets: Baskets
|
64
|
+
between: ' between'
|
65
|
+
cancel: Cancel
|
66
|
+
canceled_on: Canceled on
|
67
|
+
categories: Product Categories
|
68
|
+
category: Product Category
|
69
|
+
choose_product_for_basket: Choose product for basket
|
70
|
+
city: City
|
71
|
+
clerk: User
|
72
|
+
clerks: Users
|
73
|
+
contact: Contact
|
74
|
+
cost: Cost
|
75
|
+
count: Count
|
76
|
+
country: Country
|
77
|
+
create: Create
|
78
|
+
create_success: Successfully created
|
79
|
+
created_at: Created
|
80
|
+
delete: Delete
|
81
|
+
deleted: Deleted
|
82
|
+
description: Description
|
83
|
+
destroy: Destroy
|
84
|
+
discount: Discount
|
85
|
+
ean: Ean
|
86
|
+
edit: Edit
|
87
|
+
editing: Editing
|
88
|
+
email: Email
|
89
|
+
error: Error
|
90
|
+
extra_picture: Extra picture
|
91
|
+
filter: Filter
|
92
|
+
first_name: First Name
|
93
|
+
info: Info
|
94
|
+
inventorized: Inventorized
|
95
|
+
inventory: Inventory
|
96
|
+
item: Item
|
97
|
+
item_removed: Item removed
|
98
|
+
items: Items
|
99
|
+
last_name: Last Name
|
100
|
+
link: Link
|
101
|
+
made_offline: taken offline
|
102
|
+
made_online: made online
|
103
|
+
main_picture: Main Picture
|
104
|
+
make_order: Make Order
|
105
|
+
make_purchase: Make Purchase
|
106
|
+
may_be_blank: May be blank
|
107
|
+
name: Name
|
108
|
+
name_contains: Name contains
|
109
|
+
new: New
|
110
|
+
new_item: New item
|
111
|
+
next: Next
|
112
|
+
not_online: not online
|
113
|
+
online: Online
|
114
|
+
order: Order
|
115
|
+
order_number: Number
|
116
|
+
order_total: Order total
|
117
|
+
ordered: Ordered
|
118
|
+
ordered_on: Ordered On
|
119
|
+
orders: Orders
|
120
|
+
paid_on: Paid on
|
121
|
+
parent: Parent
|
122
|
+
phone: Phone
|
123
|
+
picture: Picture
|
124
|
+
picture2: Picture 2
|
125
|
+
position: Position
|
126
|
+
prev: Previous
|
127
|
+
price: Price
|
128
|
+
price_between: Price between
|
129
|
+
print: Print
|
130
|
+
print_order: Print Order
|
131
|
+
product: Product
|
132
|
+
product_added: Product added
|
133
|
+
product_line: Product Line
|
134
|
+
product_line_has_inventory: Product Line has inventori
|
135
|
+
product_line_has_ean: Product Line has ean
|
136
|
+
product_item_has_link: Product item has link
|
137
|
+
product_line_has_scode: Product Line has supplier code
|
138
|
+
products: Products
|
139
|
+
purchase: Purchase
|
140
|
+
purchases: Purchases
|
141
|
+
quantity: Quantity
|
142
|
+
receipt: Receit
|
143
|
+
receive: Receive
|
144
|
+
received: Received
|
145
|
+
received_on: Received On
|
146
|
+
scode: Supplier code
|
147
|
+
search: Search
|
148
|
+
shipment_price: Shipment price
|
149
|
+
shipment_type: Shipment type
|
150
|
+
shipped_on: Shipped on
|
151
|
+
shop: Shop
|
152
|
+
show: Show
|
153
|
+
sign_in: Log in
|
154
|
+
sign_in_invalid: Invalid email or password
|
155
|
+
sign_out: Log out
|
156
|
+
sign_up: Sign up
|
157
|
+
signed_in: Logged in
|
158
|
+
signed_out: Logged out
|
159
|
+
state: State
|
160
|
+
street: Street
|
161
|
+
street1: Street1
|
162
|
+
street2: Street2
|
163
|
+
supplier: Supplier
|
164
|
+
suppliers: Suppliers
|
165
|
+
tax: Vat
|
166
|
+
tax_percent: Tax percent
|
167
|
+
tax_rate: Vat rate
|
168
|
+
to_order: To order
|
169
|
+
to_purchase: To purchase
|
170
|
+
to_product: To product
|
171
|
+
total: Total
|
172
|
+
total_price: Total Price
|
173
|
+
total_tax: Taxes
|
174
|
+
treeview: Treeview
|
175
|
+
type: Type
|
176
|
+
update_success: Successfully updated
|
177
|
+
updated: Updated
|
178
|
+
vat: Vat
|
179
|
+
weight: Weight
|
180
|
+
will_paginate:
|
181
|
+
next_label: Next →
|
182
|
+
page_gap: '…'
|
183
|
+
previous_label: '← Previous'
|
@@ -0,0 +1,211 @@
|
|
1
|
+
---
|
2
|
+
fi:
|
3
|
+
actions: Toimenpiteet
|
4
|
+
activerecord:
|
5
|
+
attributes:
|
6
|
+
basket:
|
7
|
+
created_at: Luotu
|
8
|
+
total_price: Hinta
|
9
|
+
clerk:
|
10
|
+
city: Kaupunki
|
11
|
+
email: S-posti
|
12
|
+
name: Nimi
|
13
|
+
password: Salasana
|
14
|
+
password_confirmation: Vahvista salasana
|
15
|
+
phone: Puhelin
|
16
|
+
street: Osoite
|
17
|
+
category:
|
18
|
+
name: Nimi
|
19
|
+
online: Netissä
|
20
|
+
category: Pääryhmä
|
21
|
+
link: Linkki
|
22
|
+
position: Järjetysnummero
|
23
|
+
description: Kuvaus
|
24
|
+
order:
|
25
|
+
email: S-posti
|
26
|
+
ordered_on: Tilattu
|
27
|
+
product:
|
28
|
+
description: Kuvaus
|
29
|
+
ean: Ean
|
30
|
+
inventory: Inventaario
|
31
|
+
name: Nimi
|
32
|
+
online: Netissä
|
33
|
+
price: Hinta
|
34
|
+
cost: Kustannus
|
35
|
+
scode: Tuottajatunnus
|
36
|
+
tax: Veroprosentti
|
37
|
+
weight: Paino
|
38
|
+
supplier: Tuottaja
|
39
|
+
category: Tuoteryhmä
|
40
|
+
purchase:
|
41
|
+
name: Nimi
|
42
|
+
ordered_on: Tilattu
|
43
|
+
received_on: Vastaanotettu
|
44
|
+
supplier:
|
45
|
+
city: Kaupunki
|
46
|
+
name: Nimi
|
47
|
+
phone: Puhelin
|
48
|
+
street: Osoite
|
49
|
+
supplier_name: Tuottaja
|
50
|
+
models:
|
51
|
+
basket: Ostoskori
|
52
|
+
category: Tuoteryhmä
|
53
|
+
clerk: Käyttäjä
|
54
|
+
order: Tilaus
|
55
|
+
product: Tuote
|
56
|
+
purchase: Sisäänosto
|
57
|
+
supplier: Tuottaja
|
58
|
+
add: Lisää
|
59
|
+
add_inventory: Lisää inventaarioon
|
60
|
+
add_to_basket: Lisää ostoskoriin
|
61
|
+
address: Osoite
|
62
|
+
addresses: Osoiteet
|
63
|
+
admin: Admin
|
64
|
+
are_you_sure: Oletko varma
|
65
|
+
as_inventory: Inventaarioon
|
66
|
+
back: Listalle
|
67
|
+
barcode: Viivakoodi
|
68
|
+
basket: Ostoskori
|
69
|
+
basket_empty: Ostoskori on tyhjä
|
70
|
+
basket_locked: Ostoskoria ei voi muuttaa
|
71
|
+
baskets: Ostoskorit
|
72
|
+
between: haarukka
|
73
|
+
cancel: Peruuta
|
74
|
+
canceled_on: Peruutettu
|
75
|
+
categories: Tuoteryhmät
|
76
|
+
category: Tuoteryhmä
|
77
|
+
checkout: Checkout
|
78
|
+
choose_product_for_basket: Valitse tuote ostoskoriin
|
79
|
+
city: Kaupunki
|
80
|
+
clerk: Käyttäjä
|
81
|
+
clerks: Käyttäjät
|
82
|
+
contact: Kontaktihenkilö
|
83
|
+
cost: Kustannus
|
84
|
+
count: Määrä
|
85
|
+
country: Maa
|
86
|
+
create: Luo
|
87
|
+
create_success: Luotu onnistuneesti
|
88
|
+
created_at: Luotu
|
89
|
+
delete: Poista
|
90
|
+
deleted: Poisettu
|
91
|
+
description: Kuvaus
|
92
|
+
destroy: Poista
|
93
|
+
discount: Alennus
|
94
|
+
ean: Ean
|
95
|
+
edit: Muokkaa
|
96
|
+
editing: Muokkaamassa
|
97
|
+
email: S-posti
|
98
|
+
empty: tyhjä
|
99
|
+
error: Virhe
|
100
|
+
extra_picture: Toinen kuva
|
101
|
+
filter: Hae
|
102
|
+
first_name: Etunimi
|
103
|
+
home: Kotiin
|
104
|
+
info: Info
|
105
|
+
inventorized: Inventoitu
|
106
|
+
inventory: Inventaario
|
107
|
+
item: Tuote
|
108
|
+
item_removed: Tuote poistettu
|
109
|
+
items: Tuotteet
|
110
|
+
last_name: Sukunimi
|
111
|
+
link: linkki
|
112
|
+
login: Kirjaudu sisään
|
113
|
+
logout: Kirjaudu ulos
|
114
|
+
made_offline: poistettu netistä
|
115
|
+
made_online: laitettu nettiin
|
116
|
+
main_picture: Kuva
|
117
|
+
make_order: Luo Tilaus
|
118
|
+
make_purchase: Luo Sisäänosto
|
119
|
+
may_be_blank: Voi jättää tyhjäksi
|
120
|
+
name: Nimi
|
121
|
+
name_contains: Nimi sisältää
|
122
|
+
new: Uusi
|
123
|
+
new_item: Uusi tuote
|
124
|
+
next: seuraava
|
125
|
+
notice: Huom
|
126
|
+
not_online: ei netissä
|
127
|
+
online: Netissä
|
128
|
+
online_eq: Online?
|
129
|
+
order: Tilaus
|
130
|
+
order_number: Tilauksen numero
|
131
|
+
order_total: Loppusumma
|
132
|
+
order_more_for_free_shipping: "%{more} € tilauksiin toimitus rahtivapaasti"
|
133
|
+
ordered: Tilattu
|
134
|
+
ordered_on: Tilattu
|
135
|
+
orders: Tilaukset
|
136
|
+
paid_on: Maksettu
|
137
|
+
parent: Tuoteryhmä
|
138
|
+
password: Salasana
|
139
|
+
phone: Puhelin
|
140
|
+
picture: Kuva
|
141
|
+
picture2: Toinen kuva
|
142
|
+
position: Paikka
|
143
|
+
prev: edellinen
|
144
|
+
price: Hinta
|
145
|
+
price_between: Hinta haarukka
|
146
|
+
print: Tulosta
|
147
|
+
print_order: Tulosta
|
148
|
+
product: Tuote
|
149
|
+
product_added: Tuote lisätty ostoskoriin
|
150
|
+
product_line: Tuotelinja
|
151
|
+
product_line_has_inventory: Tuotelinjassa on inventaario
|
152
|
+
product_line_has_ean: Tuotelinjassa on ean
|
153
|
+
product_item_has_link: Tuoteessa on linki
|
154
|
+
product_line_has_scode: Tuotelinjassa on tuottajatunnus
|
155
|
+
products: Tuotteet
|
156
|
+
purchase: Sisäänosto
|
157
|
+
purchases: Sisäänostot
|
158
|
+
quantity: Määrä
|
159
|
+
receipt: Kuitti
|
160
|
+
receive: Ota vastaan
|
161
|
+
received: Vastaanotettu
|
162
|
+
received_on: Vastaanotettu
|
163
|
+
scode: Tuottajatunnus
|
164
|
+
search: Hae
|
165
|
+
select: Valitse
|
166
|
+
shipment_price: Lähetyksen hinta
|
167
|
+
shipment_type: Lähetyksen tapa
|
168
|
+
shipped_on: Lähetetty
|
169
|
+
shop: Kauppa
|
170
|
+
show: Näytä
|
171
|
+
sign_in: Kirjaudu sisään
|
172
|
+
sign_in_invalid: Sposti tai salasana virheellinen
|
173
|
+
sign_out: Kirjaudu ulos
|
174
|
+
sign_up: Luo tili
|
175
|
+
signed_in: Sisäänkirjautunut
|
176
|
+
signed_out: Uloskirjautunut
|
177
|
+
simple_form:
|
178
|
+
error_notification:
|
179
|
+
default_message: 'Tarkista uudelleen:'
|
180
|
+
'false': Ei
|
181
|
+
"no": Ei
|
182
|
+
required:
|
183
|
+
mark: '*'
|
184
|
+
text: required
|
185
|
+
'true': Kyllä
|
186
|
+
"yes": Kyllä
|
187
|
+
state: Tila
|
188
|
+
street: Osoite
|
189
|
+
street1: Osoite1
|
190
|
+
street2: Osoite2
|
191
|
+
supplier: Tuottaja
|
192
|
+
suppliers: Tuottajat
|
193
|
+
tax: Alv
|
194
|
+
tax_percent: Veroprosentti
|
195
|
+
tax_rate: Veroprosentti
|
196
|
+
to_order: Tilaukselle
|
197
|
+
to_product: Tuotelle
|
198
|
+
to_purchase: Sisänostoksille
|
199
|
+
total: yhteensä
|
200
|
+
total_price: Yhteensä
|
201
|
+
total_tax: Verot
|
202
|
+
treeview: Treeview
|
203
|
+
type: Laji
|
204
|
+
update_success: Päivitetty onnistuneesti
|
205
|
+
updated: Päivitetty
|
206
|
+
vat: Alv
|
207
|
+
weight: Paino
|
208
|
+
will_paginate:
|
209
|
+
next_label: seuraava
|
210
|
+
page_gap: '…'
|
211
|
+
previous_label: edellinen
|