rawbotz 0.1.5 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +15 -5
- data/Gemfile +2 -0
- data/README.md +60 -6
- data/Rakefile +3 -2
- data/agpl-3.0.txt +661 -0
- data/exe/bcrypt_pw +10 -0
- data/exe/rawbotz_abort_orders +28 -0
- data/exe/rawbotz_process_order_queue +12 -8
- data/exe/rawbotz_stock_update +10 -1
- data/exe/rawbotz_update_local_products +11 -3
- data/exe/rawbotz_update_remote_products +27 -4
- data/lib/rawbotz.rb +13 -5
- data/lib/rawbotz/app.rb +36 -2
- data/lib/rawbotz/cli/order_result_table.rb +13 -0
- data/lib/rawbotz/helpers/format_helper.rb +14 -0
- data/lib/rawbotz/helpers/icon_helper.rb +108 -22
- data/lib/rawbotz/helpers/order_item_color_helper.rb +17 -0
- data/lib/rawbotz/helpers/resource_link_helper.rb +3 -0
- data/lib/rawbotz/mail_template.rb +42 -7
- data/lib/rawbotz/models/sales.rb +21 -0
- data/lib/rawbotz/models/stock.rb +25 -0
- data/lib/rawbotz/models/stock_product.rb +146 -0
- data/lib/rawbotz/models/stock_product_factory.rb +64 -0
- data/lib/rawbotz/processors/order_linker.rb +50 -0
- data/lib/rawbotz/{order_processor.rb → processors/order_processor.rb} +14 -3
- data/lib/rawbotz/processors/organic_product_deliveries_csv.rb +47 -0
- data/lib/rawbotz/{product_updater.rb → processors/product_updater.rb} +71 -6
- data/lib/rawbotz/processors/stock_processor.rb +67 -0
- data/lib/rawbotz/public/rawbotz.css +35 -1
- data/lib/rawbotz/public/rawbotz.js +0 -1
- data/lib/rawbotz/remote_shop.rb +3 -0
- data/lib/rawbotz/routes.rb +3 -0
- data/lib/rawbotz/routes/non_remote_orders.rb +129 -29
- data/lib/rawbotz/routes/orders.rb +55 -4
- data/lib/rawbotz/routes/orders/stock.rb +75 -0
- data/lib/rawbotz/routes/product_links.rb +1 -1
- data/lib/rawbotz/routes/products.rb +19 -22
- data/lib/rawbotz/routes/remote_shop.rb +1 -1
- data/lib/rawbotz/routes/stock.rb +58 -0
- data/lib/rawbotz/routes/suppliers.rb +9 -4
- data/lib/rawbotz/sales_data.rb +13 -0
- data/lib/rawbotz/version.rb +1 -1
- data/lib/rawbotz/views/_hide_unhide_button.haml +1 -1
- data/lib/rawbotz/views/_menu.haml +9 -0
- data/lib/rawbotz/views/index.haml +1 -1
- data/lib/rawbotz/views/layout.haml +0 -1
- data/lib/rawbotz/views/order/_head.haml +64 -19
- data/lib/rawbotz/views/order/_item_table.haml +19 -3
- data/lib/rawbotz/views/order/_order_actions.haml +26 -0
- data/lib/rawbotz/views/order/link_to_remote.haml +30 -0
- data/lib/rawbotz/views/order/non_remote.haml +120 -26
- data/lib/rawbotz/views/order/packlist.haml +62 -5
- data/lib/rawbotz/views/order/packlist.pdf.haml +35 -0
- data/lib/rawbotz/views/order/stock.haml +116 -0
- data/lib/rawbotz/views/order/view.haml +41 -21
- data/lib/rawbotz/views/orders/_order_table.haml +82 -0
- data/lib/rawbotz/views/orders/index.haml +41 -28
- data/lib/rawbotz/views/orders/menu.haml +2 -2
- data/lib/rawbotz/views/orders/non_remotes.haml +14 -3
- data/lib/rawbotz/views/pdf_layout.haml +44 -0
- data/lib/rawbotz/views/product/view.haml +64 -11
- data/lib/rawbotz/views/products/index.haml +1 -1
- data/lib/rawbotz/views/products/table.haml +5 -1
- data/lib/rawbotz/views/remote_cart/index.haml +10 -0
- data/lib/rawbotz/views/remote_order/view.haml +6 -4
- data/lib/rawbotz/views/remote_orders/index.haml +16 -13
- data/lib/rawbotz/views/stock/index.haml +119 -0
- data/lib/rawbotz/views/stock/menu.haml +20 -0
- data/lib/rawbotz/views/stock_product/_value_table_line.haml +22 -0
- data/lib/rawbotz/views/stock_product/value_table.haml +28 -0
- data/lib/rawbotz/views/stockexplorer/stockexplorer.haml +157 -0
- data/lib/rawbotz/views/supplier/orders/table.haml +26 -0
- data/lib/rawbotz/views/supplier/view.haml +56 -10
- data/rawbotz.gemspec +13 -9
- metadata +86 -17
- data/lib/rawbotz/views/order/new.haml +0 -22
@@ -0,0 +1,26 @@
|
|
1
|
+
%table.pure-table
|
2
|
+
%thead
|
3
|
+
%tr
|
4
|
+
%th Product
|
5
|
+
%th qty stocked
|
6
|
+
%th Stock date
|
7
|
+
%th order date
|
8
|
+
%th order number
|
9
|
+
%th supplier
|
10
|
+
%tbody
|
11
|
+
- Supplier.find_each do |supplier|
|
12
|
+
- supplier.orders.find_each do |order|
|
13
|
+
- if order.order_items.where("num_stocked > 0").present?
|
14
|
+
%tr
|
15
|
+
%td(colspan=6)
|
16
|
+
%center
|
17
|
+
%em
|
18
|
+
Order #{order.remote_order_id} from #{order.supplier.name}
|
19
|
+
- order.order_items.where("num_stocked > 0").each do |item|
|
20
|
+
%tr
|
21
|
+
%td= product_link item.local_product
|
22
|
+
%td= item.num_stocked
|
23
|
+
%td= order.stocked_at
|
24
|
+
%td= order.ordered_at
|
25
|
+
%td= order.remote_order_id
|
26
|
+
%td= order.supplier.name
|
@@ -3,11 +3,19 @@
|
|
3
3
|
|
4
4
|
= haml "maintenance/menu".to_sym
|
5
5
|
|
6
|
+
#modal-plot.modal-plot
|
7
|
+
|
6
8
|
%h2 Supplier #{@supplier.name}
|
7
9
|
|
8
10
|
:javascript
|
9
11
|
$(function() {
|
10
|
-
$( "#tabs" ).tabs(
|
12
|
+
$( "#tabs" ).tabs({
|
13
|
+
beforeLoad: function( event, ui ) {
|
14
|
+
ui.jqXHR.fail(function() {
|
15
|
+
ui.panel.html("Couldn't load this tab, there was an error.");
|
16
|
+
});
|
17
|
+
}
|
18
|
+
});
|
11
19
|
});
|
12
20
|
|
13
21
|
#tabs
|
@@ -24,32 +32,66 @@
|
|
24
32
|
%a(href="#tab_order_settings")
|
25
33
|
= settings_icon
|
26
34
|
Order Settings
|
35
|
+
%li
|
36
|
+
%a(href="/stockexplorer/#{@supplier.id}")
|
37
|
+
Stock explorer Pack icons
|
27
38
|
#tab_products
|
28
39
|
%h2 Products of #{@supplier.name}
|
29
40
|
= haml "products/table".to_sym, locals: {products: @supplier.local_products.all}
|
30
41
|
#tab_orders
|
31
42
|
%h2 Orders of #{@supplier.name}
|
32
|
-
- @supplier.
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
- else
|
39
|
-
Please specify mail order template (in Settings tab) before continuing.
|
43
|
+
- if @supplier != settings.supplier && !@supplier.order_template.present?
|
44
|
+
%center
|
45
|
+
.ui-state-error
|
46
|
+
Please specify mail order template (in Settings tab) before continuing.
|
47
|
+
%br
|
48
|
+
= haml "orders/_order_table".to_sym, locals: {orders: @supplier.orders.order(updated_at: :desc), supplier: @supplier}
|
40
49
|
#tab_order_settings
|
41
50
|
%h2 Settings for #{@supplier.name}
|
42
51
|
|
43
52
|
%form.pure-form.pure-form-aligned(action="" method="post")
|
44
53
|
%input(type="hidden" name="_method" value="put")
|
45
54
|
%fieldset
|
55
|
+
.pure-control-group
|
56
|
+
%label
|
57
|
+
Order method
|
58
|
+
%input(readonly value="#{@supplier.order_method || 'mail'}")
|
59
|
+
|
46
60
|
.pure-control-group
|
47
61
|
%label(for="email") E-Mail address
|
48
|
-
%input#email(name="email"
|
62
|
+
%input#email(name="email" value="#{@supplier.email}")
|
63
|
+
.pure-control-group
|
64
|
+
%label.pseudo
|
65
|
+
.hint
|
66
|
+
Multiple adresses separated by whitespace, first addresss will be used as 'To:', following as 'CC:'.
|
49
67
|
|
50
68
|
.pure-control-group
|
51
69
|
%label(for="order_template") Order Template
|
52
70
|
%textarea#order_template(name="order_template" value="#{@supplier.order_template}" rows="10" cols="80")~ @supplier.order_template
|
71
|
+
.pure-control-group
|
72
|
+
%label.pseudo
|
73
|
+
.hint
|
74
|
+
See example below.
|
75
|
+
|
76
|
+
.pure-control-group
|
77
|
+
%label(for="order_info") Order Info
|
78
|
+
%textarea#order_info(name="order_info" value="#{@supplier.order_info}" rows="10" cols="80")~ @supplier.order_info
|
79
|
+
|
80
|
+
.pure-control-group
|
81
|
+
%label(for="delivery_time_days") Delivery Time
|
82
|
+
%input#delivery_time_days(name="delivery_time_days" value="#{@supplier.delivery_time_days}")
|
83
|
+
.pure-control-group
|
84
|
+
%label.pseudo
|
85
|
+
.hint
|
86
|
+
In days.
|
87
|
+
|
88
|
+
.pure-control-group
|
89
|
+
%label(for="minimum_order_value") Minimum Order Value
|
90
|
+
%input#minimum_order_value(name="minimum_order_value" value="#{@supplier.minimum_order_value}")
|
91
|
+
.pure-control-group
|
92
|
+
%label.pseudo
|
93
|
+
.hint
|
94
|
+
In €, british notation (100.87 not 100,87).
|
53
95
|
|
54
96
|
.pure-control-group
|
55
97
|
%button.pure-button.pure-button-primary
|
@@ -71,6 +113,8 @@
|
|
71
113
|
We will order
|
72
114
|
|
73
115
|
* SUPPLIERSKU QTY (NUM_PACKS of PACKSIZE) PRODUCTNAME
|
116
|
+
|
117
|
+
PUBLIC_COMMENT
|
74
118
|
|
75
119
|
Thank you,
|
76
120
|
|
@@ -95,4 +139,6 @@
|
|
95
139
|
%dd the products name, (prefers supplier_prod_name property of product)
|
96
140
|
%dt SUPPLIERSKU
|
97
141
|
%dd 'remote' SKU of the product
|
142
|
+
%dt PUBLIC_COMMENT
|
143
|
+
%dd Public comment given in the order
|
98
144
|
%br
|
data/rawbotz.gemspec
CHANGED
@@ -12,22 +12,26 @@ Gem::Specification.new do |spec|
|
|
12
12
|
spec.summary = %q{web-interface and other tools to manage a magento shop}
|
13
13
|
spec.description = %q{provides a (sinatra) web interface to order from another shop, view stock history ...}
|
14
14
|
spec.homepage = %q{https://rawliving-germany.github.io/rawbotz/}
|
15
|
-
spec.licenses = ['
|
15
|
+
spec.licenses = ['AGPL-3.0+']
|
16
16
|
|
17
17
|
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
18
18
|
spec.bindir = "exe"
|
19
19
|
spec.executables = spec.files.grep(%r{^exe/[^/]*$}) { |f| File.basename(f) }
|
20
20
|
spec.require_paths = ["lib"]
|
21
|
+
spec.required_ruby_version = '~> 2.3'
|
21
22
|
|
22
|
-
spec.add_dependency "sinatra",
|
23
|
-
spec.add_dependency 'pony',
|
24
|
-
spec.add_dependency 'haml',
|
25
|
-
spec.add_dependency
|
26
|
-
spec.add_dependency "
|
27
|
-
spec.add_dependency "
|
28
|
-
spec.add_dependency "
|
23
|
+
spec.add_dependency "sinatra", '~> 1.4'
|
24
|
+
spec.add_dependency 'pony', '~> 1.11'
|
25
|
+
spec.add_dependency 'haml', '~> 4.0'
|
26
|
+
spec.add_dependency 'pdfkit', '~> 0.8'
|
27
|
+
spec.add_dependency "rawgento_models", '~> 0.5'
|
28
|
+
spec.add_dependency "rawgento_db", '~> 0.3.1'
|
29
|
+
spec.add_dependency "magento_remote", '~> 0.4.1'
|
30
|
+
spec.add_dependency "terminal-table", '~> 1.5'
|
31
|
+
spec.add_dependency "bcrypt", '~> 3.1.11'
|
29
32
|
|
30
33
|
spec.add_development_dependency "bundler", "~> 1.11"
|
31
|
-
spec.add_development_dependency "rake",
|
34
|
+
spec.add_development_dependency "rake", "~> 10.0"
|
32
35
|
spec.add_development_dependency "minitest"
|
36
|
+
spec.add_development_dependency "rerun"
|
33
37
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rawbotz
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Felix Wolfsteller
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-08-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: sinatra
|
@@ -52,48 +52,62 @@ dependencies:
|
|
52
52
|
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '4.0'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: pdfkit
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - "~>"
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0.8'
|
62
|
+
type: :runtime
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - "~>"
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '0.8'
|
55
69
|
- !ruby/object:Gem::Dependency
|
56
70
|
name: rawgento_models
|
57
71
|
requirement: !ruby/object:Gem::Requirement
|
58
72
|
requirements:
|
59
73
|
- - "~>"
|
60
74
|
- !ruby/object:Gem::Version
|
61
|
-
version: 0.
|
75
|
+
version: '0.5'
|
62
76
|
type: :runtime
|
63
77
|
prerelease: false
|
64
78
|
version_requirements: !ruby/object:Gem::Requirement
|
65
79
|
requirements:
|
66
80
|
- - "~>"
|
67
81
|
- !ruby/object:Gem::Version
|
68
|
-
version: 0.
|
82
|
+
version: '0.5'
|
69
83
|
- !ruby/object:Gem::Dependency
|
70
84
|
name: rawgento_db
|
71
85
|
requirement: !ruby/object:Gem::Requirement
|
72
86
|
requirements:
|
73
87
|
- - "~>"
|
74
88
|
- !ruby/object:Gem::Version
|
75
|
-
version: 0.
|
89
|
+
version: 0.3.1
|
76
90
|
type: :runtime
|
77
91
|
prerelease: false
|
78
92
|
version_requirements: !ruby/object:Gem::Requirement
|
79
93
|
requirements:
|
80
94
|
- - "~>"
|
81
95
|
- !ruby/object:Gem::Version
|
82
|
-
version: 0.
|
96
|
+
version: 0.3.1
|
83
97
|
- !ruby/object:Gem::Dependency
|
84
98
|
name: magento_remote
|
85
99
|
requirement: !ruby/object:Gem::Requirement
|
86
100
|
requirements:
|
87
|
-
- - "
|
101
|
+
- - "~>"
|
88
102
|
- !ruby/object:Gem::Version
|
89
|
-
version:
|
103
|
+
version: 0.4.1
|
90
104
|
type: :runtime
|
91
105
|
prerelease: false
|
92
106
|
version_requirements: !ruby/object:Gem::Requirement
|
93
107
|
requirements:
|
94
|
-
- - "
|
108
|
+
- - "~>"
|
95
109
|
- !ruby/object:Gem::Version
|
96
|
-
version:
|
110
|
+
version: 0.4.1
|
97
111
|
- !ruby/object:Gem::Dependency
|
98
112
|
name: terminal-table
|
99
113
|
requirement: !ruby/object:Gem::Requirement
|
@@ -108,6 +122,20 @@ dependencies:
|
|
108
122
|
- - "~>"
|
109
123
|
- !ruby/object:Gem::Version
|
110
124
|
version: '1.5'
|
125
|
+
- !ruby/object:Gem::Dependency
|
126
|
+
name: bcrypt
|
127
|
+
requirement: !ruby/object:Gem::Requirement
|
128
|
+
requirements:
|
129
|
+
- - "~>"
|
130
|
+
- !ruby/object:Gem::Version
|
131
|
+
version: 3.1.11
|
132
|
+
type: :runtime
|
133
|
+
prerelease: false
|
134
|
+
version_requirements: !ruby/object:Gem::Requirement
|
135
|
+
requirements:
|
136
|
+
- - "~>"
|
137
|
+
- !ruby/object:Gem::Version
|
138
|
+
version: 3.1.11
|
111
139
|
- !ruby/object:Gem::Dependency
|
112
140
|
name: bundler
|
113
141
|
requirement: !ruby/object:Gem::Requirement
|
@@ -150,12 +178,28 @@ dependencies:
|
|
150
178
|
- - ">="
|
151
179
|
- !ruby/object:Gem::Version
|
152
180
|
version: '0'
|
181
|
+
- !ruby/object:Gem::Dependency
|
182
|
+
name: rerun
|
183
|
+
requirement: !ruby/object:Gem::Requirement
|
184
|
+
requirements:
|
185
|
+
- - ">="
|
186
|
+
- !ruby/object:Gem::Version
|
187
|
+
version: '0'
|
188
|
+
type: :development
|
189
|
+
prerelease: false
|
190
|
+
version_requirements: !ruby/object:Gem::Requirement
|
191
|
+
requirements:
|
192
|
+
- - ">="
|
193
|
+
- !ruby/object:Gem::Version
|
194
|
+
version: '0'
|
153
195
|
description: provides a (sinatra) web interface to order from another shop, view stock
|
154
196
|
history ...
|
155
197
|
email:
|
156
198
|
- felix.wolfsteller@gmail.com
|
157
199
|
executables:
|
200
|
+
- bcrypt_pw
|
158
201
|
- rawbotz
|
202
|
+
- rawbotz_abort_orders
|
159
203
|
- rawbotz_import_links
|
160
204
|
- rawbotz_maintenance.sh
|
161
205
|
- rawbotz_process_order
|
@@ -172,11 +216,14 @@ files:
|
|
172
216
|
- Gemfile
|
173
217
|
- README.md
|
174
218
|
- Rakefile
|
219
|
+
- agpl-3.0.txt
|
175
220
|
- bin/console
|
176
221
|
- bin/setup
|
177
222
|
- config.ru
|
223
|
+
- exe/bcrypt_pw
|
178
224
|
- exe/debug/test_mail
|
179
225
|
- exe/rawbotz
|
226
|
+
- exe/rawbotz_abort_orders
|
180
227
|
- exe/rawbotz_import_links
|
181
228
|
- exe/rawbotz_maintenance.sh
|
182
229
|
- exe/rawbotz_process_order
|
@@ -190,13 +237,22 @@ files:
|
|
190
237
|
- lib/rawbotz/cli/order_result_table.rb
|
191
238
|
- lib/rawbotz/datapolate.rb
|
192
239
|
- lib/rawbotz/helpers/flash_helper.rb
|
240
|
+
- lib/rawbotz/helpers/format_helper.rb
|
193
241
|
- lib/rawbotz/helpers/icon_helper.rb
|
242
|
+
- lib/rawbotz/helpers/order_item_color_helper.rb
|
194
243
|
- lib/rawbotz/helpers/resource_link_helper.rb
|
195
244
|
- lib/rawbotz/local_shop.rb
|
196
245
|
- lib/rawbotz/mail_template.rb
|
246
|
+
- lib/rawbotz/models/sales.rb
|
247
|
+
- lib/rawbotz/models/stock.rb
|
248
|
+
- lib/rawbotz/models/stock_product.rb
|
249
|
+
- lib/rawbotz/models/stock_product_factory.rb
|
197
250
|
- lib/rawbotz/option_parser.rb
|
198
|
-
- lib/rawbotz/
|
199
|
-
- lib/rawbotz/
|
251
|
+
- lib/rawbotz/processors/order_linker.rb
|
252
|
+
- lib/rawbotz/processors/order_processor.rb
|
253
|
+
- lib/rawbotz/processors/organic_product_deliveries_csv.rb
|
254
|
+
- lib/rawbotz/processors/product_updater.rb
|
255
|
+
- lib/rawbotz/processors/stock_processor.rb
|
200
256
|
- lib/rawbotz/public/Chart.min.js
|
201
257
|
- lib/rawbotz/public/font-awesome-4.5.0/HELP-US-OUT.txt
|
202
258
|
- lib/rawbotz/public/font-awesome-4.5.0/css/font-awesome.css
|
@@ -258,10 +314,13 @@ files:
|
|
258
314
|
- lib/rawbotz/routes.rb
|
259
315
|
- lib/rawbotz/routes/non_remote_orders.rb
|
260
316
|
- lib/rawbotz/routes/orders.rb
|
317
|
+
- lib/rawbotz/routes/orders/stock.rb
|
261
318
|
- lib/rawbotz/routes/product_links.rb
|
262
319
|
- lib/rawbotz/routes/products.rb
|
263
320
|
- lib/rawbotz/routes/remote_shop.rb
|
321
|
+
- lib/rawbotz/routes/stock.rb
|
264
322
|
- lib/rawbotz/routes/suppliers.rb
|
323
|
+
- lib/rawbotz/sales_data.rb
|
265
324
|
- lib/rawbotz/version.rb
|
266
325
|
- lib/rawbotz/views/_hide_unhide_button.haml
|
267
326
|
- lib/rawbotz/views/_menu.haml
|
@@ -271,13 +330,18 @@ files:
|
|
271
330
|
- lib/rawbotz/views/maintenance/menu.haml
|
272
331
|
- lib/rawbotz/views/order/_head.haml
|
273
332
|
- lib/rawbotz/views/order/_item_table.haml
|
274
|
-
- lib/rawbotz/views/order/
|
333
|
+
- lib/rawbotz/views/order/_order_actions.haml
|
334
|
+
- lib/rawbotz/views/order/link_to_remote.haml
|
275
335
|
- lib/rawbotz/views/order/non_remote.haml
|
276
336
|
- lib/rawbotz/views/order/packlist.haml
|
337
|
+
- lib/rawbotz/views/order/packlist.pdf.haml
|
338
|
+
- lib/rawbotz/views/order/stock.haml
|
277
339
|
- lib/rawbotz/views/order/view.haml
|
340
|
+
- lib/rawbotz/views/orders/_order_table.haml
|
278
341
|
- lib/rawbotz/views/orders/index.haml
|
279
342
|
- lib/rawbotz/views/orders/menu.haml
|
280
343
|
- lib/rawbotz/views/orders/non_remotes.haml
|
344
|
+
- lib/rawbotz/views/pdf_layout.haml
|
281
345
|
- lib/rawbotz/views/product/_stock_sales_plot.haml
|
282
346
|
- lib/rawbotz/views/product/link_to.haml
|
283
347
|
- lib/rawbotz/views/product/view.haml
|
@@ -294,6 +358,12 @@ files:
|
|
294
358
|
- lib/rawbotz/views/remote_product/view.haml
|
295
359
|
- lib/rawbotz/views/remote_products/_table.haml
|
296
360
|
- lib/rawbotz/views/remote_products/index.haml
|
361
|
+
- lib/rawbotz/views/stock/index.haml
|
362
|
+
- lib/rawbotz/views/stock/menu.haml
|
363
|
+
- lib/rawbotz/views/stock_product/_value_table_line.haml
|
364
|
+
- lib/rawbotz/views/stock_product/value_table.haml
|
365
|
+
- lib/rawbotz/views/stockexplorer/stockexplorer.haml
|
366
|
+
- lib/rawbotz/views/supplier/orders/table.haml
|
297
367
|
- lib/rawbotz/views/supplier/view.haml
|
298
368
|
- lib/rawbotz/views/suppliers/index.haml
|
299
369
|
- lib/rawbotz/views/thin_layout.haml
|
@@ -305,7 +375,7 @@ files:
|
|
305
375
|
- rawbotz.gemspec
|
306
376
|
homepage: https://rawliving-germany.github.io/rawbotz/
|
307
377
|
licenses:
|
308
|
-
-
|
378
|
+
- AGPL-3.0+
|
309
379
|
metadata: {}
|
310
380
|
post_install_message:
|
311
381
|
rdoc_options: []
|
@@ -313,9 +383,9 @@ require_paths:
|
|
313
383
|
- lib
|
314
384
|
required_ruby_version: !ruby/object:Gem::Requirement
|
315
385
|
requirements:
|
316
|
-
- - "
|
386
|
+
- - "~>"
|
317
387
|
- !ruby/object:Gem::Version
|
318
|
-
version: '
|
388
|
+
version: '2.3'
|
319
389
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
320
390
|
requirements:
|
321
391
|
- - ">="
|
@@ -328,4 +398,3 @@ signing_key:
|
|
328
398
|
specification_version: 4
|
329
399
|
summary: web-interface and other tools to manage a magento shop
|
330
400
|
test_files: []
|
331
|
-
has_rdoc:
|
@@ -1,22 +0,0 @@
|
|
1
|
-
%h1 New Order
|
2
|
-
|
3
|
-
%form.pure-form.pure-form-aligned(action="" method="post")
|
4
|
-
%input(type="hidden" name="_method" value="put")
|
5
|
-
|
6
|
-
:javascript
|
7
|
-
$(function() {
|
8
|
-
$( "#tabs" ).tabs();
|
9
|
-
});
|
10
|
-
|
11
|
-
#tabs
|
12
|
-
%ul
|
13
|
-
%li
|
14
|
-
%a(href="#under_min")Under min
|
15
|
-
%li
|
16
|
-
%a(href="#tabs-2")all
|
17
|
-
%li
|
18
|
-
%a(href="#tabs-2")ordered
|
19
|
-
%li
|
20
|
-
%a(href="#tabs-3")ignored
|
21
|
-
#under_min
|
22
|
-
= haml "order/_item_table".to_sym, locals: { order: @order}
|