effective_memberships 0.6.8 → 0.6.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/views/admin/categories/_form.html.haml +3 -12
- data/app/views/admin/categories/_form_applicant_content.html.haml +3 -2
- data/app/views/admin/categories/_form_category.html.haml +12 -2
- data/app/views/admin/categories/{_form_renewals.html.haml → _form_fees.html.haml} +29 -3
- data/lib/effective_memberships/version.rb +1 -1
- metadata +3 -5
- data/app/views/admin/categories/_form_applicant_eligibility.html.haml +0 -9
- data/app/views/admin/categories/_form_applicant_fees.html.haml +0 -24
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 070c1ddf76bc05b1659fe52e3dba9e940d2d1f22e61a106453e7f0ee319e58e1
|
4
|
+
data.tar.gz: 57e590916bacc7c0fc34482c7850ac2b2b9c30b8b9181ad65d553ff530bb78eb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9c11227b561d087bf85a849200f930d3fa5cac68c8aa8f20aad25a84365548769e23ceec50c3a0cf583d8cf1b9542ce9cfa5fbc1cdc00726e0f941030f8d35a7
|
7
|
+
data.tar.gz: 794d3a8e16605ed198cf501f9810107c6ddb20efee9ef94996a9978312e2af5cc371699f18f13e3be32a114b78b926c8e7519e8cd315c85bdf784350e3e98576
|
@@ -3,11 +3,7 @@
|
|
3
3
|
= render 'admin/categories/form_category', category: category
|
4
4
|
|
5
5
|
- if category.persisted?
|
6
|
-
= render 'admin/categories/
|
7
|
-
|
8
|
-
= render 'admin/categories/form_applicant_fees', category: category
|
9
|
-
= render 'admin/categories/form_renewals', category: category
|
10
|
-
|
6
|
+
= render 'admin/categories/form_fees', category: category
|
11
7
|
|
12
8
|
- if category.persisted?
|
13
9
|
= tab 'Content - Applicants' do
|
@@ -18,14 +14,9 @@
|
|
18
14
|
|
19
15
|
= tab 'Wizards' do
|
20
16
|
.row
|
21
|
-
.col
|
22
|
-
|
23
|
-
|
24
|
-
.col
|
25
|
-
= render 'admin/categories/form_fee_payment_steps', category: category
|
17
|
+
.col= render 'admin/categories/form_applicant_steps', category: category
|
18
|
+
.col= render 'admin/categories/form_fee_payment_steps', category: category
|
26
19
|
|
27
20
|
- if category.respond_to?(:log_changes_datatable)
|
28
21
|
= tab 'Logs' do
|
29
22
|
= render_inline_datatable(category.log_changes_datatable)
|
30
|
-
|
31
|
-
|
@@ -4,10 +4,11 @@
|
|
4
4
|
= f.article_editor "rich_text_applicant_all_steps_content", label: false, hint: "displayed on all steps"
|
5
5
|
- else
|
6
6
|
= f.rich_text_area "rich_text_applicant_all_steps_content", label: false, hint: "displayed on all steps"
|
7
|
-
|
7
|
+
|
8
|
+
- enabled_steps = f.object.applicant_wizard_steps
|
8
9
|
|
9
10
|
- EffectiveMemberships.Applicant::WIZARD_STEPS.each do |step, title|
|
10
|
-
- next unless
|
11
|
+
- next unless enabled_steps.include?(step)
|
11
12
|
|
12
13
|
= card("#{title}") do
|
13
14
|
- if defined?(EffectiveArticleEditor)
|
@@ -1,6 +1,7 @@
|
|
1
1
|
= effective_form_with(model: [:admin, category], engine: true) do |f|
|
2
2
|
.row
|
3
|
-
.col
|
3
|
+
.col
|
4
|
+
= f.text_field :title, label: 'Category title'
|
4
5
|
|
5
6
|
.col
|
6
7
|
= f.select :category_type, f.object.class.category_types,
|
@@ -14,4 +15,13 @@
|
|
14
15
|
- else
|
15
16
|
= f.rich_text_area :rich_text_body, label: 'Description shown in the Application to Join wizard'
|
16
17
|
|
17
|
-
|
18
|
+
%h3 Applicant Eligibility
|
19
|
+
= f.check_box :can_apply_new, label: 'Anyone may apply for this category'
|
20
|
+
= f.check_box :can_apply_existing, label: 'Any current member may apply to join'
|
21
|
+
= f.check_box :can_apply_restricted, label: 'Only some current members may apply to join'
|
22
|
+
|
23
|
+
= f.show_if(:can_apply_restricted, true) do
|
24
|
+
- categories = f.object.class.where.not(id: f.object)
|
25
|
+
= f.select :can_apply_restricted_ids, categories, label: 'Existing member categories'
|
26
|
+
|
27
|
+
= effective_submit(f)
|
@@ -1,4 +1,28 @@
|
|
1
1
|
= effective_form_with(model: [:admin, category], engine: true) do |f|
|
2
|
+
%h3 Applicant Fees
|
3
|
+
.row
|
4
|
+
.col= f.price_field :applicant_fee
|
5
|
+
.col= f.text_field :qb_item_name, label: "Quickbooks Item Name"
|
6
|
+
|
7
|
+
%h3 Pro-rated fees based on date of approval
|
8
|
+
.row
|
9
|
+
.col-lg-3
|
10
|
+
= f.price_field :prorated_jan, label: "January"
|
11
|
+
= f.price_field :prorated_feb, label: "February"
|
12
|
+
= f.price_field :prorated_mar, label: "March"
|
13
|
+
.col-lg-3
|
14
|
+
= f.price_field :prorated_apr, label: "April"
|
15
|
+
= f.price_field :prorated_may, label: "May"
|
16
|
+
= f.price_field :prorated_jun, label: "June"
|
17
|
+
.col-lg-3
|
18
|
+
= f.price_field :prorated_jul, label: "July"
|
19
|
+
= f.price_field :prorated_aug, label: "August"
|
20
|
+
= f.price_field :prorated_sep, label: "September"
|
21
|
+
.col-lg-3
|
22
|
+
= f.price_field :prorated_oct, label: "October"
|
23
|
+
= f.price_field :prorated_nov, label: "November"
|
24
|
+
= f.price_field :prorated_dec, label: "December"
|
25
|
+
|
2
26
|
%h3 Renewal Fees
|
3
27
|
= f.check_box :create_renewal_fees, label: 'Yes, annual renewal fees should be created'
|
4
28
|
|
@@ -6,7 +30,8 @@
|
|
6
30
|
- date = EffectiveMemberships.Registrar.renewal_fee_date(date: Time.zone.now)
|
7
31
|
|
8
32
|
%p Charged to members, every #{date.strftime('%B %e')}, to renew their dues.
|
9
|
-
|
33
|
+
.row
|
34
|
+
.col-3= f.price_field :renewal_fee
|
10
35
|
|
11
36
|
%h3 Late Fees
|
12
37
|
= f.check_box :create_late_fees, label: 'Yes, late fees should be created'
|
@@ -16,7 +41,8 @@
|
|
16
41
|
- date = EffectiveMemberships.Registrar.late_fee_date(period: period)
|
17
42
|
|
18
43
|
%p Charged to members, on #{date.strftime('%B %e')}, with outstanding renewal fees
|
19
|
-
|
44
|
+
.row
|
45
|
+
.col-3= f.price_field :late_fee
|
20
46
|
|
21
47
|
%h3 Bad Standing
|
22
48
|
= f.check_box :create_bad_standing, label: 'Yes, bad standing status should be applied'
|
@@ -27,4 +53,4 @@
|
|
27
53
|
|
28
54
|
%p Members with outstanding fees, on #{date.strftime('%B %e')}, will automatically be marked in bad standing.
|
29
55
|
|
30
|
-
=
|
56
|
+
= f.submit
|
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.6.
|
4
|
+
version: 0.6.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-09-
|
11
|
+
date: 2022-09-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -353,13 +353,11 @@ files:
|
|
353
353
|
- app/views/admin/applicants/_status.html.haml
|
354
354
|
- app/views/admin/categories/_form.html.haml
|
355
355
|
- app/views/admin/categories/_form_applicant_content.html.haml
|
356
|
-
- app/views/admin/categories/_form_applicant_eligibility.html.haml
|
357
|
-
- app/views/admin/categories/_form_applicant_fees.html.haml
|
358
356
|
- app/views/admin/categories/_form_applicant_steps.html.haml
|
359
357
|
- app/views/admin/categories/_form_category.html.haml
|
360
358
|
- app/views/admin/categories/_form_fee_payment_content.html.haml
|
361
359
|
- app/views/admin/categories/_form_fee_payment_steps.html.haml
|
362
|
-
- app/views/admin/categories/
|
360
|
+
- app/views/admin/categories/_form_fees.html.haml
|
363
361
|
- app/views/admin/fee_payments/_fee_payment.html.haml
|
364
362
|
- app/views/admin/fees/_fee.html.haml
|
365
363
|
- app/views/admin/fees/_form.html.haml
|
@@ -1,9 +0,0 @@
|
|
1
|
-
= effective_form_with(model: [:admin, category], engine: true) do |f|
|
2
|
-
%h3 Applicant Eligibility
|
3
|
-
= f.check_box :can_apply_new, label: 'Anyone may apply for this category'
|
4
|
-
= f.check_box :can_apply_existing, label: 'Any current member may apply to join'
|
5
|
-
= f.check_box :can_apply_restricted, label: 'Only some current members may apply to join'
|
6
|
-
|
7
|
-
= f.show_if(:can_apply_restricted, true) do
|
8
|
-
- categories = f.object.class.where.not(id: f.object)
|
9
|
-
= f.select :can_apply_restricted_ids, categories, label: 'Existing member categories'
|
@@ -1,24 +0,0 @@
|
|
1
|
-
= effective_form_with(model: [:admin, category], engine: true) do |f|
|
2
|
-
%h3 Applicant Fees
|
3
|
-
.row
|
4
|
-
.col= f.price_field :applicant_fee
|
5
|
-
.col= f.text_field :qb_item_name, label: "Quickbooks Item Name"
|
6
|
-
|
7
|
-
%h3 Pro-rated fees based on date of approval
|
8
|
-
.row
|
9
|
-
.col-lg-3
|
10
|
-
= f.price_field :prorated_jan, label: "January"
|
11
|
-
= f.price_field :prorated_feb, label: "February"
|
12
|
-
= f.price_field :prorated_mar, label: "March"
|
13
|
-
.col-lg-3
|
14
|
-
= f.price_field :prorated_apr, label: "April"
|
15
|
-
= f.price_field :prorated_may, label: "May"
|
16
|
-
= f.price_field :prorated_jun, label: "June"
|
17
|
-
.col-lg-3
|
18
|
-
= f.price_field :prorated_jul, label: "July"
|
19
|
-
= f.price_field :prorated_aug, label: "August"
|
20
|
-
= f.price_field :prorated_sep, label: "September"
|
21
|
-
.col-lg-3
|
22
|
-
= f.price_field :prorated_oct, label: "October"
|
23
|
-
= f.price_field :prorated_nov, label: "November"
|
24
|
-
= f.price_field :prorated_dec, label: "December"
|