office_clerk 0.9 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +2 -0
- data/Gemfile.lock +11 -11
- data/README.md +26 -8
- data/Rakefile +2 -2
- data/app/controllers/admin_controller.rb +2 -6
- data/app/controllers/baskets_controller.rb +2 -2
- data/app/controllers/office_controller.rb +1 -0
- data/app/controllers/orders_controller.rb +1 -1
- data/app/controllers/sessions_controller.rb +5 -5
- data/app/helpers/office_helper.rb +0 -19
- data/app/views/addresses/show.html.haml +2 -2
- data/app/views/baskets/_small.html.haml +1 -1
- data/app/views/baskets/edit.html.haml +18 -17
- data/app/views/baskets/index.html.haml +19 -17
- data/app/views/baskets/show.html.haml +3 -3
- data/app/views/categories/_treeview.html.haml +1 -1
- data/app/views/categories/edit.html.haml +5 -5
- data/app/views/categories/index.html.haml +8 -7
- data/app/views/categories/show.html.haml +5 -4
- data/app/views/clerks/edit.html.haml +4 -4
- data/app/views/clerks/index.html.haml +7 -6
- data/app/views/clerks/show.html.haml +4 -3
- data/app/views/layouts/_admin_menu.html.haml +8 -8
- data/app/views/layouts/office_clerk.haml +3 -3
- data/app/views/manage/all.haml +2 -2
- data/app/views/orders/_payment.html.haml +11 -0
- data/app/views/orders/_shipment.html.haml +10 -0
- data/app/views/orders/index.html.haml +9 -8
- data/app/views/orders/shipment.haml +3 -1
- data/app/views/orders/show.html.haml +29 -47
- data/app/views/products/_head.haml +1 -1
- data/app/views/products/_line.html.haml +1 -1
- data/app/views/products/_triple.html.haml +1 -1
- data/app/views/products/edit.html.haml +6 -4
- data/app/views/products/index.html.haml +24 -22
- data/app/views/products/show.html.haml +15 -13
- data/app/views/purchases/index.html.haml +7 -6
- data/app/views/purchases/show.html.haml +8 -7
- data/app/views/suppliers/edit.html.haml +4 -3
- data/app/views/suppliers/index.html.haml +7 -6
- data/app/views/suppliers/show.html.haml +4 -3
- data/bin/rails +11 -3
- data/config/locales/en.yml +1 -1
- data/config/locales/fi.yml +1 -1
- data/db/migrate/20131226144316_baskets.rb +2 -2
- data/db/schema.rb +2 -2
- data/lib/office_clerk/engine.rb +3 -3
- data/lib/office_clerk/version.rb +1 -1
- data/test_app/app/controllers/application_controller.rb +1 -1
- data/test_app/config/application.rb +3 -0
- data/test_app/config/initializers/assets.rb +3 -1
- metadata +4 -9
- data/config/initializers/backtrace_silencers.rb +0 -7
- data/config/initializers/filter_parameter_logging.rb +0 -4
- data/config/initializers/inflections.rb +0 -16
- data/config/initializers/migrate.rb +0 -18
- data/config/initializers/mime_types.rb +0 -6
- data/config/initializers/session_store.rb +0 -3
- data/config/initializers/wrap_parameters.rb +0 -14
@@ -8,5 +8,5 @@
|
|
8
8
|
-next unless product
|
9
9
|
%td= image_tag product.main_picture.url(:thumb)
|
10
10
|
%td
|
11
|
-
= link_to
|
11
|
+
= link_to product_path(product), :title => t(:show) , :class => product.online && "online" do
|
12
12
|
= product.full_name
|
@@ -1,6 +1,7 @@
|
|
1
|
+
.product_edit_start
|
1
2
|
= render "head"
|
2
|
-
- url = @product.persisted? ?
|
3
|
-
= bootstrap_form_for(@product, :html => { :multipart => true , :role=>"form"}
|
3
|
+
- url = @product.persisted? ? product_path(@product) : products_path
|
4
|
+
= bootstrap_form_for(@product, :html => { :multipart => true , :role=>"form"} ) do |f|
|
4
5
|
= f.hidden_field( :product_id) if @product.product_id
|
5
6
|
.row
|
6
7
|
.col-md-8
|
@@ -42,6 +43,7 @@
|
|
42
43
|
.col-md-8
|
43
44
|
= f.submit :class => "btn btn-success"
|
44
45
|
-if @product.product_id
|
45
|
-
= link_to t(:cancel),
|
46
|
+
= link_to t(:cancel), product_path(@product.product), :class => "btn btn-warning"
|
46
47
|
-else
|
47
|
-
= link_to t(:cancel),
|
48
|
+
= link_to t(:cancel), products_path, :class => "btn btn-warning"
|
49
|
+
.product_edit_end
|
@@ -1,4 +1,4 @@
|
|
1
|
-
.row
|
1
|
+
.row.product_index_start
|
2
2
|
.col-md-9.products
|
3
3
|
.row
|
4
4
|
.col-md-10
|
@@ -12,7 +12,7 @@
|
|
12
12
|
= t(:products)
|
13
13
|
= paginate @products
|
14
14
|
.col-md-2
|
15
|
-
= link_to t(:new) + ' ' + t(:product) ,
|
15
|
+
= link_to t(:new) + ' ' + t(:product) , new_product_path , :class => "btn btn-primary"
|
16
16
|
.col-md-3
|
17
17
|
= image_tag "office_clerk/products.jpg" , :class => "img-responsive"
|
18
18
|
|
@@ -37,27 +37,28 @@
|
|
37
37
|
= @product_scope.length.to_s + " " + t(:products)
|
38
38
|
%tbody
|
39
39
|
- @products.each do |product|
|
40
|
-
|
41
|
-
|
42
|
-
%
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
=product.
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
40
|
+
-next if params[:basket] and product.line?
|
41
|
+
- cache(product.cache_key + ":" + params[:basket].to_s) do
|
42
|
+
%tr{:class => "line-#{cycle("1","2")}"}
|
43
|
+
%td.image= image_tag product.main_picture.url(:thumb)
|
44
|
+
%td.ean= product.line? ? "#{product.products.length} #{t(:items)}" : product.ean
|
45
|
+
%td.name
|
46
|
+
= link_to product_path(product), :title => t(:show) , :class => product.online && "online" do
|
47
|
+
=product.full_name
|
48
|
+
%td.price.text-right=euros(product.price)
|
49
|
+
%td.price.text-right=euros(product.cost)
|
50
|
+
%td.supplier
|
51
|
+
=product.supplier.supplier_name if product.supplier
|
52
|
+
%br
|
53
|
+
=product.category.name if product.category
|
54
|
+
%td.inventory=product.inventory
|
55
|
+
-if params[:basket]
|
56
|
+
%td= link_to t(:add_to_basket) , edit_basket_path(:id => params[:basket] , :add => product.id)
|
57
|
+
-else
|
58
|
+
%td= link_to t(:edit) ,edit_product_path(product), :title => t(:edit)
|
58
59
|
= paginate @products
|
59
60
|
.col-md-3
|
60
|
-
= search_form_for @q, :
|
61
|
+
= search_form_for @q, :html => { :class => "form-horizontal" }, :method => :get do |f|
|
61
62
|
.form-group
|
62
63
|
.input-group
|
63
64
|
- if params[:basket]
|
@@ -115,4 +116,5 @@
|
|
115
116
|
.col-md-8
|
116
117
|
= f.collection_select :category_id_eq, Category.all, :id, :name, {:include_blank => true}, :class=>"form-control"
|
117
118
|
= f.submit t(:filter), :class => "btn btn-success" , :id => :filter
|
118
|
-
= link_to t(:cancel),
|
119
|
+
= link_to t(:cancel), products_path, :class => "btn btn-warning"
|
120
|
+
.product_index_end
|
@@ -1,3 +1,4 @@
|
|
1
|
+
.product_show_start
|
1
2
|
= render "head"
|
2
3
|
|
3
4
|
-if @product.line?
|
@@ -21,55 +22,56 @@
|
|
21
22
|
.col-md-6
|
22
23
|
%p
|
23
24
|
%b= t(:price) + " : "
|
24
|
-
= in_place @product , :price , :display_with => :best_euros
|
25
|
+
= in_place @product , :price , :display_with => :best_euros
|
25
26
|
%p
|
26
27
|
%b= t(:cost) + " : "
|
27
|
-
= in_place @product , :cost , :display_with => :best_euros
|
28
|
+
= in_place @product , :cost , :display_with => :best_euros
|
28
29
|
%p
|
29
30
|
%b= t(:category) + " : "
|
30
|
-
= link_to @product.category.name ,
|
31
|
+
= link_to @product.category.name , category_path(@product.category) if @product.category
|
31
32
|
%p
|
32
33
|
%b= t(:link) + " : "
|
33
34
|
= @product.link
|
34
35
|
%p
|
35
36
|
%b= t(:ean) + " : "
|
36
|
-
= in_place @product , :ean
|
37
|
+
= in_place @product , :ean
|
37
38
|
.col-md-6
|
38
39
|
%p
|
39
40
|
%b= t(:weight) + " : "
|
40
|
-
= in_place @product , :weight
|
41
|
+
= in_place @product , :weight
|
41
42
|
%p
|
42
43
|
%b= t(:inventory) + " : "
|
43
44
|
= @product.inventory
|
44
45
|
%p
|
45
46
|
%b= t(:stock_level) + " : "
|
46
|
-
= in_place @product , :stock_level
|
47
|
+
= in_place @product , :stock_level
|
47
48
|
%p
|
48
49
|
%b= t(:supplier) + " : "
|
49
50
|
= link_to @product.supplier.supplier_name ,supplier_path(@product.supplier) if @product.supplier
|
50
51
|
%p
|
51
52
|
%b= t(:scode) + " : "
|
52
|
-
= in_place @product , :scode
|
53
|
+
= in_place @product , :scode
|
53
54
|
%p
|
54
55
|
%b= t(:tax_percent) + " : "
|
55
|
-
= in_place @product , :tax
|
56
|
+
= in_place @product , :tax
|
56
57
|
.col-md-4
|
57
58
|
%p
|
58
59
|
%b= t(:summary) + " : "
|
59
|
-
= in_place @product , :summary
|
60
|
+
= in_place @product , :summary
|
60
61
|
%p
|
61
62
|
%b= t(:description) + " : "
|
62
|
-
= in_place @product , :description , :as => :textarea
|
63
|
+
= in_place @product , :description , :as => :textarea
|
63
64
|
.col-md-4
|
64
65
|
=render :partial => "products/preview_box" , :locals => {:product => @product}
|
65
66
|
= markdown @product.description
|
66
67
|
%br
|
67
68
|
.row.product_show_row_buttons
|
68
69
|
.col-md-2
|
69
|
-
= link_to t(:edit),
|
70
|
+
= link_to t(:edit), edit_product_path(@product), :class => "btn btn-success"
|
70
71
|
.col-md-2
|
71
|
-
= link_to t(:delete) ,
|
72
|
+
= link_to t(:delete) , product_path(@product), :method => :delete , :class => "btn btn-danger", :data => { :confirm => t(:are_you_sure )}
|
72
73
|
-unless @product.product_item?
|
73
74
|
.col-md-2
|
74
|
-
= link_to t(:new_item) ,
|
75
|
+
= link_to t(:new_item) , new_product_path( :parent_id => @product.id), :class => "btn btn-primary"
|
75
76
|
.col-md-6.product_show_row_end
|
77
|
+
.product_show_end
|
@@ -1,11 +1,11 @@
|
|
1
|
-
.row
|
1
|
+
.row.purchase_index_start
|
2
2
|
.col-md-9.purchases
|
3
3
|
.row
|
4
4
|
.col-md-10
|
5
5
|
%h2= t(:purchases)
|
6
6
|
= paginate @purchases
|
7
7
|
.col-md-2
|
8
|
-
= link_to t(:new) + ' ' + t(:purchase) ,
|
8
|
+
= link_to t(:new) + ' ' + t(:purchase) , new_purchase_path , :class => "btn btn-primary new_purchase"
|
9
9
|
.col-md-3
|
10
10
|
= image_tag "office_clerk/purchases.jpg" , :class => "img-responsive"
|
11
11
|
.row
|
@@ -27,13 +27,13 @@
|
|
27
27
|
%td= date(purchase.ordered_on)
|
28
28
|
%td= date(purchase.received_on)
|
29
29
|
%td= purchase.basket.items.length
|
30
|
-
%td= link_to euros(purchase.basket.total_price) ,
|
31
|
-
%td= link_to t(:show) ,
|
30
|
+
%td= link_to euros(purchase.basket.total_price) , basket_path(purchase.basket)
|
31
|
+
%td= link_to t(:show) , purchase_path(purchase), :title => t(:show)
|
32
32
|
.btn-toolbar
|
33
33
|
.btn-group
|
34
34
|
= paginate @purchases
|
35
35
|
.col-md-3
|
36
|
-
= search_form_for @q, :
|
36
|
+
= search_form_for @q, :html => { :class => "form-horizontal" }, :method => :get do |f|
|
37
37
|
.form-group
|
38
38
|
= f.text_field :name_cont , :class => "form-control" , :placeholder => t(:name)
|
39
39
|
.row
|
@@ -54,4 +54,5 @@
|
|
54
54
|
= f.text_field :received_on_lt , :class => "form-control datepicker"
|
55
55
|
%br
|
56
56
|
= f.submit t(:filter), :id => :filter , :class => "btn btn-success"
|
57
|
-
= link_to t(:cancel),
|
57
|
+
= link_to t(:cancel), purchases_path, :class => "btn btn-warning"
|
58
|
+
.purchase_index_end
|
@@ -1,9 +1,9 @@
|
|
1
|
-
.row
|
1
|
+
.row.purchase_show_start
|
2
2
|
%h2
|
3
3
|
= t(:purchase)
|
4
4
|
%p
|
5
5
|
%b= t(:name)
|
6
|
-
= in_place @purchase , :name
|
6
|
+
= in_place @purchase , :name
|
7
7
|
.row
|
8
8
|
.col-md-3
|
9
9
|
%p
|
@@ -12,7 +12,7 @@
|
|
12
12
|
-if @purchase.ordered_on
|
13
13
|
= date(@purchase.ordered_on)
|
14
14
|
-else
|
15
|
-
= link_to t(:order) ,
|
15
|
+
= link_to t(:order) , order_purchase_path(@purchase) , :class => "btn btn-primary order_link"
|
16
16
|
.col-md-3
|
17
17
|
%p
|
18
18
|
%b
|
@@ -20,7 +20,7 @@
|
|
20
20
|
-if @purchase.received_on
|
21
21
|
= date(@purchase.received_on)
|
22
22
|
-else
|
23
|
-
= link_to t(:receive) ,
|
23
|
+
= link_to t(:receive) , receive_purchase_path(@purchase) , :class => "btn btn-primary receive_link"
|
24
24
|
.col-md-6
|
25
25
|
%p
|
26
26
|
%b
|
@@ -33,17 +33,18 @@
|
|
33
33
|
.col-md-5
|
34
34
|
%b= t(:order_actions)
|
35
35
|
%br
|
36
|
-
= link_to t(:edit),
|
36
|
+
= link_to t(:edit), edit_basket_path(@purchase.basket), :class => "btn btn-info edit_basket" unless @purchase.basket.locked?
|
37
37
|
\
|
38
|
-
= link_to t(:back),
|
38
|
+
= link_to t(:back), purchases_path, :class => "btn btn-warning"
|
39
39
|
|
40
40
|
-unless @purchase.received_on
|
41
41
|
%h3{"style" => "color:red"}
|
42
42
|
= t(:inventory)
|
43
43
|
%br
|
44
|
-
= link_to t(:inventory) ,
|
44
|
+
= link_to t(:inventory) , inventory_purchase_path(@purchase) , :class => "btn btn-primary btn-danger inventory_link", :data => { :confirm => t(:are_you_sure) }
|
45
45
|
|
46
46
|
.row
|
47
47
|
%br
|
48
48
|
.col-md-12
|
49
49
|
.purchase_show_last
|
50
|
+
.purchase_show_end
|
@@ -1,10 +1,11 @@
|
|
1
|
-
%h2
|
1
|
+
%h2.suppliers_edit_start
|
2
2
|
= t params["action"]
|
3
3
|
= t(:supplier)
|
4
|
-
= bootstrap_form_for(@supplier
|
4
|
+
= bootstrap_form_for(@supplier) do |f|
|
5
5
|
.row
|
6
6
|
= f.text_field :supplier_name
|
7
7
|
= render "addresses/form_fields" ,:f => f
|
8
8
|
.form-actions
|
9
9
|
= f.submit :class => "btn btn-success"
|
10
|
-
= link_to t(:back),
|
10
|
+
= link_to t(:back), suppliers_path, :class => "btn btn-warning"
|
11
|
+
.suppliers_edit_end
|
@@ -1,11 +1,11 @@
|
|
1
|
-
.row
|
1
|
+
.row.suppliers_index_start
|
2
2
|
.col-md-9.suppliers
|
3
3
|
.row
|
4
4
|
.col-md-10
|
5
5
|
%h2= t(:suppliers)
|
6
6
|
= paginate @suppliers
|
7
7
|
.col-md-2
|
8
|
-
= link_to t(:new) + ' ' + t(:supplier) ,
|
8
|
+
= link_to t(:new) + ' ' + t(:supplier) , new_supplier_path , :class => "btn btn-primary"
|
9
9
|
.col-md-3
|
10
10
|
= image_tag "office_clerk/suppliers.jpg" , :class => "img-responsive"
|
11
11
|
.row
|
@@ -26,14 +26,15 @@
|
|
26
26
|
%td.name=supplier.supplier_name
|
27
27
|
%td=supplier.products.count
|
28
28
|
%td=supplier.whole_address
|
29
|
-
%td= link_to t(:show) ,
|
30
|
-
%td= link_to t(:edit) ,
|
29
|
+
%td= link_to t(:show) , supplier_path(supplier), :title => t(:show)
|
30
|
+
%td= link_to t(:edit) , edit_supplier_path(supplier), :title => t(:edit)
|
31
31
|
= paginate @suppliers
|
32
32
|
.col-md-3
|
33
|
-
= search_form_for @q, :
|
33
|
+
= search_form_for @q, :html => { :class => "form-horizontal" }, :method => :get do |f|
|
34
34
|
.form-group
|
35
35
|
= f.text_field :supplier_name_cont , :class => "form-control", :placeholder => t(:name)
|
36
36
|
.form-group
|
37
37
|
= f.text_field :address_cont , :class => "form-control", :placeholder => t(:address)
|
38
38
|
= f.submit t(:filter), :id => :filter , :class => "btn btn-success"
|
39
|
-
= link_to t(:cancel),
|
39
|
+
= link_to t(:cancel), suppliers_path, :class => "btn btn-warning"
|
40
|
+
.suppliers_index_end
|
@@ -1,4 +1,4 @@
|
|
1
|
-
%h2
|
1
|
+
%h2.suppliers_show_start
|
2
2
|
= t(:supplier) + " : " + @supplier.supplier_name
|
3
3
|
|
4
4
|
.col-md-6
|
@@ -20,7 +20,8 @@
|
|
20
20
|
%b
|
21
21
|
= t(:country) + " : " + @supplier.country.to_s
|
22
22
|
|
23
|
-
= link_to t(:edit),
|
24
|
-
= link_to t(:back),
|
23
|
+
= link_to t(:edit), edit_supplier_path(@supplier), :class => "btn btn-success"
|
24
|
+
= link_to t(:back), suppliers_path, :class => "btn btn-warning"
|
25
25
|
|
26
26
|
=render "products/triple" , :products => @supplier.products.no_items
|
27
|
+
.suppliers_show_end
|
data/bin/rails
CHANGED
@@ -1,4 +1,12 @@
|
|
1
1
|
#!/usr/bin/env ruby
|
2
|
-
|
3
|
-
|
4
|
-
|
2
|
+
# This command will automatically be run when you run "rails" with Rails 4 gems installed from the root of your application.
|
3
|
+
|
4
|
+
ENGINE_ROOT = File.expand_path('../..', __FILE__)
|
5
|
+
ENGINE_PATH = File.expand_path('../../lib/office_clerk/engine', __FILE__)
|
6
|
+
|
7
|
+
# Set up gems listed in the Gemfile.
|
8
|
+
ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__)
|
9
|
+
require 'bundler/setup' if File.exist?(ENV['BUNDLE_GEMFILE'])
|
10
|
+
|
11
|
+
require 'rails/all'
|
12
|
+
require 'rails/engine/commands'
|
data/config/locales/en.yml
CHANGED
data/config/locales/fi.yml
CHANGED
@@ -3,8 +3,8 @@ class Baskets < ActiveRecord::Migration
|
|
3
3
|
create_table :baskets do |t|
|
4
4
|
t.integer :kori_id
|
5
5
|
t.string :kori_type
|
6
|
-
t.decimal :total_price , :default => 0.0
|
7
|
-
t.decimal :total_tax , :default => 0.0
|
6
|
+
t.decimal :total_price , :default => 0.0, precision: 10, scale: 4
|
7
|
+
t.decimal :total_tax , :default => 0.0, precision: 10, scale: 4
|
8
8
|
t.date :locked
|
9
9
|
t.timestamps
|
10
10
|
end
|
data/db/schema.rb
CHANGED
@@ -16,8 +16,8 @@ ActiveRecord::Schema.define(version: 20131226151332) do
|
|
16
16
|
create_table "baskets", force: true do |t|
|
17
17
|
t.integer "kori_id"
|
18
18
|
t.string "kori_type"
|
19
|
-
t.decimal "total_price", default: 0.0
|
20
|
-
t.decimal "total_tax", default: 0.0
|
19
|
+
t.decimal "total_price", default: 0.0, precision: 10, scale: 4
|
20
|
+
t.decimal "total_tax", default: 0.0, precision: 10, scale: 4
|
21
21
|
t.date "locked"
|
22
22
|
t.datetime "created_at"
|
23
23
|
t.datetime "updated_at"
|
data/lib/office_clerk/engine.rb
CHANGED
@@ -7,9 +7,6 @@ module OfficeClerk
|
|
7
7
|
config.autoload_paths += %W(#{config.root}/lib)
|
8
8
|
# config.assets.paths +=
|
9
9
|
config.exceptions_app = self.routes
|
10
|
-
initializer "office_clerk.assets.precompile" do |app|
|
11
|
-
app.config.assets.precompile += %w(office_clerk.css office_clerk.js)
|
12
|
-
end
|
13
10
|
|
14
11
|
config.i18n.enforce_available_locales = false
|
15
12
|
config.i18n.available_locales = [:fi , :en , :config]
|
@@ -18,6 +15,9 @@ module OfficeClerk
|
|
18
15
|
initializer "model_core.factories", :after => "factory_girl.set_factory_paths" do
|
19
16
|
FactoryGirl.definition_file_paths << File.expand_path('../../../spec/factories', __FILE__) if defined?(FactoryGirl)
|
20
17
|
end
|
18
|
+
config.assets.precompile += %w( office_clerk.css office_clerk.js )
|
19
|
+
config.assets.precompile += %w( office_clerk/*.jpg up-icon.png down-icon.png )
|
20
|
+
config.assets.precompile += ["missing_thumb.png", "missing.png", "missing_list.png", "missing_product.png"]
|
21
21
|
|
22
22
|
# have to init the BestInPlace first to be able to include helpers
|
23
23
|
config.railties_order = [BestInPlace::Railtie , OfficeClerk::Engine , :all ]
|
data/lib/office_clerk/version.rb
CHANGED
@@ -27,5 +27,8 @@ module TestApp
|
|
27
27
|
|
28
28
|
# Do not swallow errors in after_commit/after_rollback callbacks.
|
29
29
|
config.active_record.raise_in_transactional_callbacks = true
|
30
|
+
|
31
|
+
# apperently disk just keeps growing, this clears out :-)
|
32
|
+
config.cache_store = :memory_store
|
30
33
|
end
|
31
34
|
end
|
@@ -8,4 +8,6 @@ Rails.application.config.assets.version = '1.0'
|
|
8
8
|
|
9
9
|
# Precompile additional assets.
|
10
10
|
# application.js, application.css, and all non-JS/CSS in app/assets folder are already added.
|
11
|
-
|
11
|
+
Rails.application.config.assets.precompile += %w( office_clerk.css office_clerk.js )
|
12
|
+
Rails.application.config.assets.precompile += %w( office_clerk/*.jpg up-icon.png down-icon.png )
|
13
|
+
Rails.application.config.assets.precompile += ["missing_thumb.png", "missing.png", "missing_list.png", "missing_product.png"]
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: office_clerk
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 1.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Torsten Rüger
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2016-01-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -358,6 +358,8 @@ files:
|
|
358
358
|
- app/views/order_mailer/confirm.text.erb
|
359
359
|
- app/views/order_mailer/paid.text.erb
|
360
360
|
- app/views/order_mailer/shipped.text.erb
|
361
|
+
- app/views/orders/_payment.html.haml
|
362
|
+
- app/views/orders/_shipment.html.haml
|
361
363
|
- app/views/orders/index.csv.erb
|
362
364
|
- app/views/orders/index.html.haml
|
363
365
|
- app/views/orders/shipment.haml
|
@@ -389,14 +391,7 @@ files:
|
|
389
391
|
- config/environments/production.rb
|
390
392
|
- config/environments/test.rb
|
391
393
|
- config/i18n-tasks.yml
|
392
|
-
- config/initializers/backtrace_silencers.rb
|
393
|
-
- config/initializers/filter_parameter_logging.rb
|
394
|
-
- config/initializers/inflections.rb
|
395
|
-
- config/initializers/migrate.rb
|
396
|
-
- config/initializers/mime_types.rb
|
397
394
|
- config/initializers/paperclip.rb
|
398
|
-
- config/initializers/session_store.rb
|
399
|
-
- config/initializers/wrap_parameters.rb
|
400
395
|
- config/locales/config.yml
|
401
396
|
- config/locales/en.yml
|
402
397
|
- config/locales/fi.yml
|