office_clerk 0.4 → 0.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +11 -36
- data/LICENSE +22 -0
- data/app/assets/javascripts/office_clerk.js +0 -7
- data/app/assets/stylesheets/{office_clerk.scss → office_clerk.css.scss} +0 -0
- data/app/controllers/orders_controller.rb +10 -1
- data/app/controllers/products_controller.rb +2 -32
- data/app/controllers/shop_controller.rb +1 -0
- data/app/helpers/orders_helper.rb +6 -5
- data/app/helpers/shop_helper.rb +8 -7
- data/app/mailers/order_mailer.rb +19 -0
- data/app/views/addresses/_form_fields.html.haml +4 -4
- data/app/views/baskets/edit.html.haml +1 -1
- data/app/views/categories/edit.html.haml +22 -18
- data/app/views/clerks/edit.html.haml +6 -9
- data/app/views/layouts/office_clerk.haml +1 -0
- data/app/views/layouts/sales_clerk.haml +10 -0
- data/app/views/order_mailer/cancel.html.haml +6 -0
- data/app/views/order_mailer/confirm.html.haml +7 -0
- data/app/views/order_mailer/paid.html.haml +6 -0
- data/app/views/order_mailer/shipped.html.haml +6 -0
- data/app/views/orders/edit.html.haml +1 -1
- data/app/views/orders/show.html.haml +48 -44
- data/app/views/products/_head.haml +4 -2
- data/app/views/products/edit.html.haml +35 -24
- data/app/views/products/show.html.haml +32 -41
- data/app/views/purchases/edit.html.haml +4 -4
- data/app/views/sessions/sign_up.haml +1 -1
- data/app/views/shop/_product_box.haml +13 -0
- data/app/views/suppliers/edit.html.haml +2 -2
- data/bin/rails +3 -15
- data/config/environments/production.rb +2 -77
- data/config/locales/config.yml +1 -1
- data/config/locales/en.yml +75 -45
- data/config/locales/fi.yml +60 -67
- data/config/routes.rb +1 -1
- data/db/migrate/20131226143612_categories.rb +2 -1
- data/db/migrate/20131226151332_products.rb +2 -1
- data/lib/office_clerk.rb +2 -7
- data/lib/office_clerk/version.rb +1 -1
- data/lib/templates/haml/scaffold/_form.html.haml +1 -1
- data/office_clerk.gemspec +6 -12
- data/spec/features/products/edit_spec.rb +0 -4
- data/spec/mailers/order_mailer_spec.rb +24 -0
- data/spec/models/baskets/items_spec.rb +3 -3
- data/spec/models/locale_spec.rb +4 -0
- data/test_app/db/migrate/20141114205527_categories.office.rb +2 -2
- data/test_app/db/migrate/20141114205532_products.office.rb +2 -2
- data/test_app/db/schema.rb +4 -2
- data/todo +0 -4
- metadata +68 -111
- data/config/initializers/migrate.rb +0 -6
- data/config/initializers/simple_form.rb +0 -149
- data/config/initializers/simple_form_bootstrap.rb +0 -48
- data/db/seeds.rb +0 -4
- data/test/fixtures/baskets.yml +0 -41993
- data/test/fixtures/categories.yml +0 -638
- data/test/fixtures/clerks.yml +0 -694
- data/test/fixtures/items.yml +0 -83651
- data/test/fixtures/orders.yml +0 -58918
- data/test/fixtures/products.yml +0 -110904
- data/test/fixtures/purchases.yml +0 -1755
- data/test/fixtures/suppliers.yml +0 -341
There are too many changes on this page to be displayed.
The amount of changes on this page would crash your brower.
You can still verify the content by downloading the gem file manually.