effective_memberships 0.3.5 → 0.3.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/images/effective_memberships/applicant-flowchart.excalidraw +2165 -0
- data/app/assets/images/effective_memberships/applicant-flowchart.png +0 -0
- data/app/assets/stylesheets/effective_memberships/base.scss +0 -1
- data/app/controllers/effective/membership_cards_controller.rb +19 -0
- data/app/datatables/admin/effective_applicants_datatable.rb +2 -1
- data/app/datatables/admin/effective_categories_datatable.rb +0 -1
- data/app/datatables/admin/effective_fees_datatable.rb +3 -0
- data/app/models/concerns/effective_memberships_applicant.rb +45 -26
- data/app/models/concerns/effective_memberships_card.rb +56 -0
- data/app/models/concerns/effective_memberships_category.rb +26 -2
- data/app/models/concerns/effective_memberships_owner.rb +22 -20
- data/app/models/concerns/effective_memberships_registrar.rb +1 -1
- data/app/models/effective/applicant_reference.rb +6 -1
- data/app/models/effective/fee.rb +8 -43
- data/app/models/effective/membership_card.rb +7 -0
- data/app/views/admin/applicants/_form.html.haml +1 -1
- data/app/views/effective/applicants/_course_amounts.html.haml +1 -1
- data/app/views/effective/applicants/_education.html.haml +1 -1
- data/app/views/effective/applicants/_experience.html.haml +1 -1
- data/app/views/effective/applicants/_stamp.html.haml +36 -0
- data/app/views/effective/applicants/stamp.html.haml +28 -0
- data/app/views/effective/membership_cards/index.html.haml +16 -0
- data/config/routes.rb +7 -0
- data/db/seeds.rb +9 -3
- data/lib/effective_memberships/version.rb +1 -1
- data/lib/effective_memberships.rb +5 -1
- metadata +24 -2
data/db/seeds.rb
CHANGED
@@ -21,7 +21,9 @@ member = Effective::Category.create!(
|
|
21
21
|
renewal_fee: 250_00,
|
22
22
|
late_fee: 50_00,
|
23
23
|
prorated_jan: 120_00, prorated_feb: 110_00, prorated_mar: 100_00, prorated_apr: 90_00, prorated_may: 80_00, prorated_jun: 70_00,
|
24
|
-
prorated_jul: 60_00, prorated_aug: 50_00, prorated_sep: 40_00, prorated_oct: 30_00, prorated_nov: 20_00, prorated_dec: 10_00
|
24
|
+
prorated_jul: 60_00, prorated_aug: 50_00, prorated_sep: 40_00, prorated_oct: 30_00, prorated_nov: 20_00, prorated_dec: 10_00,
|
25
|
+
qb_item_name: 'Full Member Quickbooks Name',
|
26
|
+
tax_exempt: false
|
25
27
|
)
|
26
28
|
|
27
29
|
student = Effective::Category.create!(
|
@@ -35,7 +37,9 @@ student = Effective::Category.create!(
|
|
35
37
|
renewal_fee: 125_00,
|
36
38
|
late_fee: 25_00,
|
37
39
|
prorated_jan: 120_00, prorated_feb: 110_00, prorated_mar: 100_00, prorated_apr: 90_00, prorated_may: 80_00, prorated_jun: 70_00,
|
38
|
-
prorated_jul: 60_00, prorated_aug: 50_00, prorated_sep: 40_00, prorated_oct: 30_00, prorated_nov: 20_00, prorated_dec: 10_00
|
40
|
+
prorated_jul: 60_00, prorated_aug: 50_00, prorated_sep: 40_00, prorated_oct: 30_00, prorated_nov: 20_00, prorated_dec: 10_00,
|
41
|
+
qb_item_name: 'Student Quickbooks Name',
|
42
|
+
tax_exempt: false
|
39
43
|
)
|
40
44
|
|
41
45
|
retired = Effective::Category.create!(
|
@@ -47,7 +51,9 @@ retired = Effective::Category.create!(
|
|
47
51
|
applicant_fee: 0,
|
48
52
|
renewal_fee: 0,
|
49
53
|
prorated_jan: 120_00, prorated_feb: 110_00, prorated_mar: 100_00, prorated_apr: 90_00, prorated_may: 80_00, prorated_jun: 70_00,
|
50
|
-
prorated_jul: 60_00, prorated_aug: 50_00, prorated_sep: 40_00, prorated_oct: 30_00, prorated_nov: 20_00, prorated_dec: 10_00
|
54
|
+
prorated_jul: 60_00, prorated_aug: 50_00, prorated_sep: 40_00, prorated_oct: 30_00, prorated_nov: 20_00, prorated_dec: 10_00,
|
55
|
+
qb_item_name: 'Retired Quickbooks Name',
|
56
|
+
tax_exempt: false
|
51
57
|
)
|
52
58
|
|
53
59
|
area = Effective::ApplicantCourseArea.create!(title: 'Science')
|
@@ -7,7 +7,7 @@ module EffectiveMemberships
|
|
7
7
|
def self.config_keys
|
8
8
|
[
|
9
9
|
:categories_table_name, :applicants_table_name, :applicant_reviews_table_name, :fee_payments_table_name,
|
10
|
-
:category_class_name, :applicant_class_name, :applicant_review_class_name, :fee_payment_class_name, :registrar_class_name,
|
10
|
+
:category_class_name, :applicant_class_name, :applicant_review_class_name, :fee_payment_class_name, :registrar_class_name, :membership_card_class_name,
|
11
11
|
:additional_fee_types,
|
12
12
|
:layout,
|
13
13
|
:mailer, :parent_mailer, :deliver_method, :mailer_layout, :mailer_sender, :mailer_admin, :use_effective_email_templates
|
@@ -32,6 +32,10 @@ module EffectiveMemberships
|
|
32
32
|
fee_payment_class_name&.constantize || Effective::FeePayment
|
33
33
|
end
|
34
34
|
|
35
|
+
def self.MembershipCard
|
36
|
+
membership_card_class_name&.constantize || Effective::MembershipCard
|
37
|
+
end
|
38
|
+
|
35
39
|
# Singleton
|
36
40
|
def self.Registrar
|
37
41
|
klass = registrar_class_name&.constantize || Effective::Registrar
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: effective_memberships
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Code and Effect
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-02-
|
11
|
+
date: 2022-02-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -66,6 +66,20 @@ dependencies:
|
|
66
66
|
- - ">="
|
67
67
|
- !ruby/object:Gem::Version
|
68
68
|
version: '0'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: effective_products
|
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'
|
69
83
|
- !ruby/object:Gem::Dependency
|
70
84
|
name: effective_resources
|
71
85
|
requirement: !ruby/object:Gem::Requirement
|
@@ -232,6 +246,8 @@ files:
|
|
232
246
|
- README.md
|
233
247
|
- Rakefile
|
234
248
|
- app/assets/config/effective_memberships_manifest.js
|
249
|
+
- app/assets/images/effective_memberships/applicant-flowchart.excalidraw
|
250
|
+
- app/assets/images/effective_memberships/applicant-flowchart.png
|
235
251
|
- app/assets/javascripts/effective_memberships.js
|
236
252
|
- app/assets/javascripts/effective_memberships/applicant_courses.js
|
237
253
|
- app/assets/javascripts/effective_memberships/applicant_experiences.js
|
@@ -250,6 +266,7 @@ files:
|
|
250
266
|
- app/controllers/effective/applicant_references_controller.rb
|
251
267
|
- app/controllers/effective/applicants_controller.rb
|
252
268
|
- app/controllers/effective/fee_payments_controller.rb
|
269
|
+
- app/controllers/effective/membership_cards_controller.rb
|
253
270
|
- app/controllers/effective/memberships_directory_controller.rb
|
254
271
|
- app/datatables/admin/effective_applicant_course_areas_datatable.rb
|
255
272
|
- app/datatables/admin/effective_applicant_course_names_datatable.rb
|
@@ -271,6 +288,7 @@ files:
|
|
271
288
|
- app/mailers/effective/memberships_mailer.rb
|
272
289
|
- app/models/concerns/effective_memberships_applicant.rb
|
273
290
|
- app/models/concerns/effective_memberships_applicant_review.rb
|
291
|
+
- app/models/concerns/effective_memberships_card.rb
|
274
292
|
- app/models/concerns/effective_memberships_category.rb
|
275
293
|
- app/models/concerns/effective_memberships_fee_payment.rb
|
276
294
|
- app/models/concerns/effective_memberships_owner.rb
|
@@ -287,6 +305,7 @@ files:
|
|
287
305
|
- app/models/effective/fee.rb
|
288
306
|
- app/models/effective/fee_payment.rb
|
289
307
|
- app/models/effective/membership.rb
|
308
|
+
- app/models/effective/membership_card.rb
|
290
309
|
- app/models/effective/membership_category.rb
|
291
310
|
- app/models/effective/membership_history.rb
|
292
311
|
- app/models/effective/registrar.rb
|
@@ -344,6 +363,7 @@ files:
|
|
344
363
|
- app/views/effective/applicants/_orders.html.haml
|
345
364
|
- app/views/effective/applicants/_references.html.haml
|
346
365
|
- app/views/effective/applicants/_select.html.haml
|
366
|
+
- app/views/effective/applicants/_stamp.html.haml
|
347
367
|
- app/views/effective/applicants/_summary.html.haml
|
348
368
|
- app/views/effective/applicants/billing.html.haml
|
349
369
|
- app/views/effective/applicants/checkout.html.haml
|
@@ -355,6 +375,7 @@ files:
|
|
355
375
|
- app/views/effective/applicants/files.html.haml
|
356
376
|
- app/views/effective/applicants/references.html.haml
|
357
377
|
- app/views/effective/applicants/select.html.haml
|
378
|
+
- app/views/effective/applicants/stamp.html.haml
|
358
379
|
- app/views/effective/applicants/start.html.haml
|
359
380
|
- app/views/effective/applicants/submitted.html.haml
|
360
381
|
- app/views/effective/applicants/summary.html.haml
|
@@ -377,6 +398,7 @@ files:
|
|
377
398
|
- app/views/effective/fee_payments/summary.html.haml
|
378
399
|
- app/views/effective/fees/_dashboard.html.haml
|
379
400
|
- app/views/effective/fees/_fee.html.haml
|
401
|
+
- app/views/effective/membership_cards/index.html.haml
|
380
402
|
- app/views/effective/memberships/_dashboard.html.haml
|
381
403
|
- app/views/effective/memberships/_membership.html.haml
|
382
404
|
- app/views/effective/memberships_directory/index.html.haml
|