effective_memberships 0.17.0 → 0.17.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/models/concerns/effective_memberships_fee_payment.rb +1 -0
- data/app/views/admin/categories/_fields_applicant_requirements.html.haml +1 -1
- data/app/views/admin/categories/_fields_fee_payment_requirements.html.haml +1 -1
- data/app/views/effective/fee_payments/_cpd.html.haml +3 -0
- data/app/views/effective/fee_payments/_cpd_requirements.html.haml +2 -0
- data/app/views/effective/fee_payments/_dashboard.html.haml +1 -0
- data/app/views/effective/fee_payments/_organization.html.haml +4 -1
- data/app/views/effective/fee_payments/cpd.html.haml +20 -0
- data/app/views/effective/fee_payments/submitted.html.haml +1 -1
- data/lib/effective_memberships/version.rb +1 -1
- metadata +5 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 75a253a5d3a571ffd68882f95735ce2461498cb40900064fd66e60026db9ce67
|
4
|
+
data.tar.gz: 83336209575eb783851494cf7b5edb7c98c3a29bbe4abc2403600581b83a6214
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 40ae6507569b2b58eb60b54be06033204b3eaadb9476438bf16b4683b5710627674778737b774e5db843c485be3d3df746151b0f2a0e1951efeb03a03f43fbe5
|
7
|
+
data.tar.gz: 264eae8dc5ac8b7666a627ed1706ac37bfbdc7439aa7004d4ac3bb9def1849df957ae198c838bfede8d40b721398a8592154d0a36e2d0e0762a0e4d5de0bf5b6
|
@@ -34,6 +34,7 @@ module EffectiveMembershipsFeePayment
|
|
34
34
|
start: 'Start',
|
35
35
|
demographics: 'Demographics', # Individual only. Users fields.
|
36
36
|
organization: 'Organization', # Organization only. Organization fields.
|
37
|
+
cpd: 'Continuing Professional Development',
|
37
38
|
declarations: 'Declarations',
|
38
39
|
summary: 'Review',
|
39
40
|
billing: 'Billing Address',
|
@@ -1,2 +1,5 @@
|
|
1
1
|
= wizard_card(fee_payment) do
|
2
|
-
|
2
|
+
- if fee_payment.organization.present?
|
3
|
+
= render 'organizations/demographics', parent: fee_payment, organization: fee_payment.organization
|
4
|
+
- else
|
5
|
+
%p None
|
@@ -0,0 +1,20 @@
|
|
1
|
+
= render 'layout' do
|
2
|
+
= render 'effective/fee_payments/content', resource: resource
|
3
|
+
|
4
|
+
= card(et('effective_cpd.name')) do
|
5
|
+
= render('cpd_requirements', fee_payment: resource)
|
6
|
+
|
7
|
+
= card('All ' + cpd_statements_label) do
|
8
|
+
= render('effective/wizard_steps/cpd_statements', resource: resource)
|
9
|
+
|
10
|
+
= card('Requirements') do
|
11
|
+
= render('effective/wizard_steps/cpd_requirements', resource: resource)
|
12
|
+
|
13
|
+
= card do
|
14
|
+
= effective_form_with(model: resource, url: wizard_path(step), method: :put) do |f|
|
15
|
+
= f.hidden_field :id
|
16
|
+
|
17
|
+
- f.object.declare_cpd = true if f.object.has_completed_step?(:cpd)
|
18
|
+
= render('effective/wizard_steps/cpd_fields', f: f)
|
19
|
+
|
20
|
+
= f.save 'Save and Continue'
|
@@ -7,7 +7,7 @@
|
|
7
7
|
.alert.alert-warning.mb-4
|
8
8
|
Successfully paid on #{resource.submit_order.purchased_at.strftime('%F')}.
|
9
9
|
|
10
|
-
= link_to "Return to Dashboard", return_to_dashboard_path, class: 'btn btn-lg btn-primary btn-block'
|
10
|
+
.mb-4= link_to "Return to Dashboard", return_to_dashboard_path, class: 'btn btn-lg btn-primary btn-block'
|
11
11
|
|
12
12
|
= card do
|
13
13
|
= render 'effective/fee_payments/summary', fee_payment: resource
|
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.17.
|
4
|
+
version: 0.17.1
|
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: 2023-
|
11
|
+
date: 2023-05-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -494,6 +494,8 @@ files:
|
|
494
494
|
- app/views/effective/applicants/transcripts.html.haml
|
495
495
|
- app/views/effective/documents/_dashboard.html.haml
|
496
496
|
- app/views/effective/fee_payments/_content.html.haml
|
497
|
+
- app/views/effective/fee_payments/_cpd.html.haml
|
498
|
+
- app/views/effective/fee_payments/_cpd_requirements.html.haml
|
497
499
|
- app/views/effective/fee_payments/_dashboard.html.haml
|
498
500
|
- app/views/effective/fee_payments/_declarations.html.haml
|
499
501
|
- app/views/effective/fee_payments/_demographics.html.haml
|
@@ -504,6 +506,7 @@ files:
|
|
504
506
|
- app/views/effective/fee_payments/_summary.html.haml
|
505
507
|
- app/views/effective/fee_payments/billing.html.haml
|
506
508
|
- app/views/effective/fee_payments/checkout.html.haml
|
509
|
+
- app/views/effective/fee_payments/cpd.html.haml
|
507
510
|
- app/views/effective/fee_payments/declarations.html.haml
|
508
511
|
- app/views/effective/fee_payments/demographics.html.haml
|
509
512
|
- app/views/effective/fee_payments/organization.html.haml
|