smerp-quotation-engine 0.1.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 +7 -0
- data/MIT-LICENSE +20 -0
- data/README.md +28 -0
- data/Rakefile +10 -0
- data/app/assets/config/smerp_quotation_engine_manifest.js +1 -0
- data/app/assets/stylesheets/smerp/quotation/engine/application.css +15 -0
- data/app/controllers/smerp/quotation/engine/application_controller.rb +9 -0
- data/app/controllers/smerp/quotation/engine/quotation_item_groups_controller.rb +70 -0
- data/app/controllers/smerp/quotation/engine/quotation_items_controller.rb +237 -0
- data/app/controllers/smerp/quotation/engine/quotation_product_categories_controller.rb +60 -0
- data/app/controllers/smerp/quotation/engine/quotation_products_controller.rb +60 -0
- data/app/controllers/smerp/quotation/engine/quotations_controller.rb +192 -0
- data/app/helpers/smerp/quotation/engine/application_helper.rb +29 -0
- data/app/helpers/smerp/quotation/engine/quotation_item_groups_helper.rb +4 -0
- data/app/helpers/smerp/quotation/engine/quotation_items_helper.rb +4 -0
- data/app/helpers/smerp/quotation/engine/quotation_product_categories_helper.rb +4 -0
- data/app/helpers/smerp/quotation/engine/quotation_products_helper.rb +4 -0
- data/app/helpers/smerp/quotation/engine/quotations_helper.rb +81 -0
- data/app/jobs/smerp/quotation/engine/application_job.rb +8 -0
- data/app/mailers/smerp/quotation/engine/application_mailer.rb +10 -0
- data/app/models/smerp/quotation/engine/application_record.rb +9 -0
- data/app/models/smerp/quotation/engine/quotation.rb +11 -0
- data/app/models/smerp/quotation/engine/quotation_item.rb +34 -0
- data/app/models/smerp/quotation/engine/quotation_item_group.rb +10 -0
- data/app/models/smerp/quotation/engine/quotation_product.rb +30 -0
- data/app/models/smerp/quotation/engine/quotation_product_category.rb +11 -0
- data/app/views/layouts/smerp/quotation/engine/application.html.erb +15 -0
- data/app/views/smerp/quotation/engine/_new_quotation_item_form.html.erb +48 -0
- data/app/views/smerp/quotation/engine/extended_calculators/extended_calculators.html.erb +36 -0
- data/app/views/smerp/quotation/engine/quotation_item_groups/_form.html.erb +17 -0
- data/app/views/smerp/quotation/engine/quotation_item_groups/_quotation_item_group.html.erb +2 -0
- data/app/views/smerp/quotation/engine/quotation_item_groups/edit.html.erb +10 -0
- data/app/views/smerp/quotation/engine/quotation_item_groups/index.html.erb +14 -0
- data/app/views/smerp/quotation/engine/quotation_item_groups/new.html.erb +9 -0
- data/app/views/smerp/quotation/engine/quotation_item_groups/show.html.erb +10 -0
- data/app/views/smerp/quotation/engine/quotation_items/_form.html.erb +53 -0
- data/app/views/smerp/quotation/engine/quotation_items/_product_item_form.html.erb +47 -0
- data/app/views/smerp/quotation/engine/quotation_items/_quotation_item.html.erb +17 -0
- data/app/views/smerp/quotation/engine/quotation_items/edit.html.erb +9 -0
- data/app/views/smerp/quotation/engine/quotation_items/index.html.erb +14 -0
- data/app/views/smerp/quotation/engine/quotation_items/new.html.erb +9 -0
- data/app/views/smerp/quotation/engine/quotation_items/new_product_item.html.erb +7 -0
- data/app/views/smerp/quotation/engine/quotation_items/show.html.erb +76 -0
- data/app/views/smerp/quotation/engine/quotation_product_categories/_form.html.erb +33 -0
- data/app/views/smerp/quotation/engine/quotation_product_categories/_quotation_product_category.html.erb +17 -0
- data/app/views/smerp/quotation/engine/quotation_product_categories/edit.html.erb +10 -0
- data/app/views/smerp/quotation/engine/quotation_product_categories/index.html.erb +14 -0
- data/app/views/smerp/quotation/engine/quotation_product_categories/new.html.erb +9 -0
- data/app/views/smerp/quotation/engine/quotation_product_categories/show.html.erb +10 -0
- data/app/views/smerp/quotation/engine/quotation_products/_form.html.erb +41 -0
- data/app/views/smerp/quotation/engine/quotation_products/_quotation_product.html.erb +9 -0
- data/app/views/smerp/quotation/engine/quotation_products/edit.html.erb +10 -0
- data/app/views/smerp/quotation/engine/quotation_products/index.html.erb +19 -0
- data/app/views/smerp/quotation/engine/quotation_products/new.html.erb +9 -0
- data/app/views/smerp/quotation/engine/quotation_products/show.html.erb +32 -0
- data/app/views/smerp/quotation/engine/quotations/_form.html.erb +49 -0
- data/app/views/smerp/quotation/engine/quotations/_new_group_form.html.erb +24 -0
- data/app/views/smerp/quotation/engine/quotations/_product_item_form.html.erb +47 -0
- data/app/views/smerp/quotation/engine/quotations/_quotation.html.erb +10 -0
- data/app/views/smerp/quotation/engine/quotations/_quotation_item.html.erb +96 -0
- data/app/views/smerp/quotation/engine/quotations/edit.html.erb +9 -0
- data/app/views/smerp/quotation/engine/quotations/extended_calculators.html.erb +36 -0
- data/app/views/smerp/quotation/engine/quotations/index.html.erb +21 -0
- data/app/views/smerp/quotation/engine/quotations/new.html.erb +9 -0
- data/app/views/smerp/quotation/engine/quotations/new_extended_calculator.html.erb +65 -0
- data/app/views/smerp/quotation/engine/quotations/new_product_item.html.erb +7 -0
- data/app/views/smerp/quotation/engine/quotations/show.html.erb +151 -0
- data/config/routes.rb +50 -0
- data/db/migrate/20220929020407_create_smerp_quotation_engine_quotation_products.rb +16 -0
- data/db/migrate/20220929041715_create_smerp_quotation_engine_quotation_product_categories.rb +12 -0
- data/db/migrate/20220929074438_link_product_to_item.rb +5 -0
- data/db/seeds.rb +36 -0
- data/lib/smerp/quotation/engine/engine.rb +40 -0
- data/lib/smerp/quotation/engine/version.rb +7 -0
- data/lib/smerp/quotation/engine.rb +10 -0
- data/lib/tasks/smerp/quotation/engine_tasks.rake +4 -0
- metadata +216 -0
metadata
ADDED
|
@@ -0,0 +1,216 @@
|
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
|
2
|
+
name: smerp-quotation-engine
|
|
3
|
+
version: !ruby/object:Gem::Version
|
|
4
|
+
version: 0.1.0
|
|
5
|
+
platform: ruby
|
|
6
|
+
authors:
|
|
7
|
+
- Ian
|
|
8
|
+
autorequire:
|
|
9
|
+
bindir: bin
|
|
10
|
+
cert_chain: []
|
|
11
|
+
date: 2022-09-30 00:00:00.000000000 Z
|
|
12
|
+
dependencies:
|
|
13
|
+
- !ruby/object:Gem::Dependency
|
|
14
|
+
name: rails
|
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
|
16
|
+
requirements:
|
|
17
|
+
- - ">="
|
|
18
|
+
- !ruby/object:Gem::Version
|
|
19
|
+
version: 7.0.4
|
|
20
|
+
type: :runtime
|
|
21
|
+
prerelease: false
|
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
23
|
+
requirements:
|
|
24
|
+
- - ">="
|
|
25
|
+
- !ruby/object:Gem::Version
|
|
26
|
+
version: 7.0.4
|
|
27
|
+
- !ruby/object:Gem::Dependency
|
|
28
|
+
name: acts_as_list
|
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
|
30
|
+
requirements:
|
|
31
|
+
- - ">="
|
|
32
|
+
- !ruby/object:Gem::Version
|
|
33
|
+
version: '0'
|
|
34
|
+
type: :runtime
|
|
35
|
+
prerelease: false
|
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
37
|
+
requirements:
|
|
38
|
+
- - ">="
|
|
39
|
+
- !ruby/object:Gem::Version
|
|
40
|
+
version: '0'
|
|
41
|
+
- !ruby/object:Gem::Dependency
|
|
42
|
+
name: smerp-common
|
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
|
44
|
+
requirements:
|
|
45
|
+
- - ">="
|
|
46
|
+
- !ruby/object:Gem::Version
|
|
47
|
+
version: '0'
|
|
48
|
+
type: :runtime
|
|
49
|
+
prerelease: false
|
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
51
|
+
requirements:
|
|
52
|
+
- - ">="
|
|
53
|
+
- !ruby/object:Gem::Version
|
|
54
|
+
version: '0'
|
|
55
|
+
- !ruby/object:Gem::Dependency
|
|
56
|
+
name: ca-data_store
|
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
|
58
|
+
requirements:
|
|
59
|
+
- - ">="
|
|
60
|
+
- !ruby/object:Gem::Version
|
|
61
|
+
version: '0'
|
|
62
|
+
type: :runtime
|
|
63
|
+
prerelease: false
|
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
65
|
+
requirements:
|
|
66
|
+
- - ">="
|
|
67
|
+
- !ruby/object:Gem::Version
|
|
68
|
+
version: '0'
|
|
69
|
+
- !ruby/object:Gem::Dependency
|
|
70
|
+
name: ca-data_store-ar
|
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
|
72
|
+
requirements:
|
|
73
|
+
- - ">="
|
|
74
|
+
- !ruby/object:Gem::Version
|
|
75
|
+
version: '0'
|
|
76
|
+
type: :runtime
|
|
77
|
+
prerelease: false
|
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
79
|
+
requirements:
|
|
80
|
+
- - ">="
|
|
81
|
+
- !ruby/object:Gem::Version
|
|
82
|
+
version: '0'
|
|
83
|
+
- !ruby/object:Gem::Dependency
|
|
84
|
+
name: smerp-quotation
|
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
|
86
|
+
requirements:
|
|
87
|
+
- - ">="
|
|
88
|
+
- !ruby/object:Gem::Version
|
|
89
|
+
version: '0'
|
|
90
|
+
type: :runtime
|
|
91
|
+
prerelease: false
|
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
93
|
+
requirements:
|
|
94
|
+
- - ">="
|
|
95
|
+
- !ruby/object:Gem::Version
|
|
96
|
+
version: '0'
|
|
97
|
+
- !ruby/object:Gem::Dependency
|
|
98
|
+
name: devops_assist
|
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
|
100
|
+
requirements:
|
|
101
|
+
- - ">="
|
|
102
|
+
- !ruby/object:Gem::Version
|
|
103
|
+
version: '0'
|
|
104
|
+
type: :development
|
|
105
|
+
prerelease: false
|
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
107
|
+
requirements:
|
|
108
|
+
- - ">="
|
|
109
|
+
- !ruby/object:Gem::Version
|
|
110
|
+
version: '0'
|
|
111
|
+
description: ''
|
|
112
|
+
email:
|
|
113
|
+
- cameronian0@protonmail.com
|
|
114
|
+
executables: []
|
|
115
|
+
extensions: []
|
|
116
|
+
extra_rdoc_files: []
|
|
117
|
+
files:
|
|
118
|
+
- MIT-LICENSE
|
|
119
|
+
- README.md
|
|
120
|
+
- Rakefile
|
|
121
|
+
- app/assets/config/smerp_quotation_engine_manifest.js
|
|
122
|
+
- app/assets/stylesheets/smerp/quotation/engine/application.css
|
|
123
|
+
- app/controllers/smerp/quotation/engine/application_controller.rb
|
|
124
|
+
- app/controllers/smerp/quotation/engine/quotation_item_groups_controller.rb
|
|
125
|
+
- app/controllers/smerp/quotation/engine/quotation_items_controller.rb
|
|
126
|
+
- app/controllers/smerp/quotation/engine/quotation_product_categories_controller.rb
|
|
127
|
+
- app/controllers/smerp/quotation/engine/quotation_products_controller.rb
|
|
128
|
+
- app/controllers/smerp/quotation/engine/quotations_controller.rb
|
|
129
|
+
- app/helpers/smerp/quotation/engine/application_helper.rb
|
|
130
|
+
- app/helpers/smerp/quotation/engine/quotation_item_groups_helper.rb
|
|
131
|
+
- app/helpers/smerp/quotation/engine/quotation_items_helper.rb
|
|
132
|
+
- app/helpers/smerp/quotation/engine/quotation_product_categories_helper.rb
|
|
133
|
+
- app/helpers/smerp/quotation/engine/quotation_products_helper.rb
|
|
134
|
+
- app/helpers/smerp/quotation/engine/quotations_helper.rb
|
|
135
|
+
- app/jobs/smerp/quotation/engine/application_job.rb
|
|
136
|
+
- app/mailers/smerp/quotation/engine/application_mailer.rb
|
|
137
|
+
- app/models/smerp/quotation/engine/application_record.rb
|
|
138
|
+
- app/models/smerp/quotation/engine/quotation.rb
|
|
139
|
+
- app/models/smerp/quotation/engine/quotation_item.rb
|
|
140
|
+
- app/models/smerp/quotation/engine/quotation_item_group.rb
|
|
141
|
+
- app/models/smerp/quotation/engine/quotation_product.rb
|
|
142
|
+
- app/models/smerp/quotation/engine/quotation_product_category.rb
|
|
143
|
+
- app/views/layouts/smerp/quotation/engine/application.html.erb
|
|
144
|
+
- app/views/smerp/quotation/engine/_new_quotation_item_form.html.erb
|
|
145
|
+
- app/views/smerp/quotation/engine/extended_calculators/extended_calculators.html.erb
|
|
146
|
+
- app/views/smerp/quotation/engine/quotation_item_groups/_form.html.erb
|
|
147
|
+
- app/views/smerp/quotation/engine/quotation_item_groups/_quotation_item_group.html.erb
|
|
148
|
+
- app/views/smerp/quotation/engine/quotation_item_groups/edit.html.erb
|
|
149
|
+
- app/views/smerp/quotation/engine/quotation_item_groups/index.html.erb
|
|
150
|
+
- app/views/smerp/quotation/engine/quotation_item_groups/new.html.erb
|
|
151
|
+
- app/views/smerp/quotation/engine/quotation_item_groups/show.html.erb
|
|
152
|
+
- app/views/smerp/quotation/engine/quotation_items/_form.html.erb
|
|
153
|
+
- app/views/smerp/quotation/engine/quotation_items/_product_item_form.html.erb
|
|
154
|
+
- app/views/smerp/quotation/engine/quotation_items/_quotation_item.html.erb
|
|
155
|
+
- app/views/smerp/quotation/engine/quotation_items/edit.html.erb
|
|
156
|
+
- app/views/smerp/quotation/engine/quotation_items/index.html.erb
|
|
157
|
+
- app/views/smerp/quotation/engine/quotation_items/new.html.erb
|
|
158
|
+
- app/views/smerp/quotation/engine/quotation_items/new_product_item.html.erb
|
|
159
|
+
- app/views/smerp/quotation/engine/quotation_items/show.html.erb
|
|
160
|
+
- app/views/smerp/quotation/engine/quotation_product_categories/_form.html.erb
|
|
161
|
+
- app/views/smerp/quotation/engine/quotation_product_categories/_quotation_product_category.html.erb
|
|
162
|
+
- app/views/smerp/quotation/engine/quotation_product_categories/edit.html.erb
|
|
163
|
+
- app/views/smerp/quotation/engine/quotation_product_categories/index.html.erb
|
|
164
|
+
- app/views/smerp/quotation/engine/quotation_product_categories/new.html.erb
|
|
165
|
+
- app/views/smerp/quotation/engine/quotation_product_categories/show.html.erb
|
|
166
|
+
- app/views/smerp/quotation/engine/quotation_products/_form.html.erb
|
|
167
|
+
- app/views/smerp/quotation/engine/quotation_products/_quotation_product.html.erb
|
|
168
|
+
- app/views/smerp/quotation/engine/quotation_products/edit.html.erb
|
|
169
|
+
- app/views/smerp/quotation/engine/quotation_products/index.html.erb
|
|
170
|
+
- app/views/smerp/quotation/engine/quotation_products/new.html.erb
|
|
171
|
+
- app/views/smerp/quotation/engine/quotation_products/show.html.erb
|
|
172
|
+
- app/views/smerp/quotation/engine/quotations/_form.html.erb
|
|
173
|
+
- app/views/smerp/quotation/engine/quotations/_new_group_form.html.erb
|
|
174
|
+
- app/views/smerp/quotation/engine/quotations/_product_item_form.html.erb
|
|
175
|
+
- app/views/smerp/quotation/engine/quotations/_quotation.html.erb
|
|
176
|
+
- app/views/smerp/quotation/engine/quotations/_quotation_item.html.erb
|
|
177
|
+
- app/views/smerp/quotation/engine/quotations/edit.html.erb
|
|
178
|
+
- app/views/smerp/quotation/engine/quotations/extended_calculators.html.erb
|
|
179
|
+
- app/views/smerp/quotation/engine/quotations/index.html.erb
|
|
180
|
+
- app/views/smerp/quotation/engine/quotations/new.html.erb
|
|
181
|
+
- app/views/smerp/quotation/engine/quotations/new_extended_calculator.html.erb
|
|
182
|
+
- app/views/smerp/quotation/engine/quotations/new_product_item.html.erb
|
|
183
|
+
- app/views/smerp/quotation/engine/quotations/show.html.erb
|
|
184
|
+
- config/routes.rb
|
|
185
|
+
- db/migrate/20220929020407_create_smerp_quotation_engine_quotation_products.rb
|
|
186
|
+
- db/migrate/20220929041715_create_smerp_quotation_engine_quotation_product_categories.rb
|
|
187
|
+
- db/migrate/20220929074438_link_product_to_item.rb
|
|
188
|
+
- db/seeds.rb
|
|
189
|
+
- lib/smerp/quotation/engine.rb
|
|
190
|
+
- lib/smerp/quotation/engine/engine.rb
|
|
191
|
+
- lib/smerp/quotation/engine/version.rb
|
|
192
|
+
- lib/tasks/smerp/quotation/engine_tasks.rake
|
|
193
|
+
homepage: ''
|
|
194
|
+
licenses:
|
|
195
|
+
- MIT
|
|
196
|
+
metadata: {}
|
|
197
|
+
post_install_message:
|
|
198
|
+
rdoc_options: []
|
|
199
|
+
require_paths:
|
|
200
|
+
- lib
|
|
201
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
|
202
|
+
requirements:
|
|
203
|
+
- - ">="
|
|
204
|
+
- !ruby/object:Gem::Version
|
|
205
|
+
version: '0'
|
|
206
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
207
|
+
requirements:
|
|
208
|
+
- - ">="
|
|
209
|
+
- !ruby/object:Gem::Version
|
|
210
|
+
version: '0'
|
|
211
|
+
requirements: []
|
|
212
|
+
rubygems_version: 3.2.22
|
|
213
|
+
signing_key:
|
|
214
|
+
specification_version: 4
|
|
215
|
+
summary: ''
|
|
216
|
+
test_files: []
|