effective_memberships 0.17.9 → 0.17.11
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0e90584a4dd7e595fd89d9207612335911cee5a8e7353395447107972f88f6e3
|
4
|
+
data.tar.gz: 9a066d33626c2014c8120148c8609ba44e69b5b0eebd9a63f91bc6e2f22176f4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bcea744100d37ad68316f6029fba2a5ac3b39dc441a4459b4c060252647ff7011fb75d6e4a655de9cc8ad46848ff34700f6e3e04d4166f0ba4744bff30568462
|
7
|
+
data.tar.gz: 1e7ebe17dc2f554576a43af5b6221f85635d7a583477541ec06b492bb01a819f7a047a18a530b048430696a6cc787ccc2b0953b3e3bf5415bd9af850b19f5f12
|
@@ -31,10 +31,10 @@ module Admin
|
|
31
31
|
col :organization, visible: false
|
32
32
|
|
33
33
|
col :applicant_type, search: EffectiveMemberships.Applicant.categories
|
34
|
-
col :category, label: 'Applicant Category', search: { collection: EffectiveMemberships.Category.all, polymorphic: false }
|
35
|
-
col :stream
|
36
34
|
col :from_category, search: { collection: EffectiveMemberships.Category.all, polymorphic: false }
|
37
35
|
col :from_status, search: { collection: EffectiveMemberships.Status.all, polymorphic: false }
|
36
|
+
col :category, label: 'Applicant Category', search: { collection: EffectiveMemberships.Category.all, polymorphic: false }
|
37
|
+
col :stream
|
38
38
|
|
39
39
|
col :applicant_reviews, visible: false
|
40
40
|
col :orders, visible: false
|
@@ -5,14 +5,14 @@
|
|
5
5
|
%p The #{applicant} will be <strong>approved</strong>
|
6
6
|
%p Their membership will be removed and they will be marked as resigned.
|
7
7
|
|
8
|
-
- elsif f.object.reinstatement?
|
8
|
+
- elsif f.object.reinstatement? && applicant.owner.reinstatement_membership_history.present?
|
9
9
|
- reinstatement = applicant.owner.reinstatement_membership_history
|
10
10
|
|
11
11
|
%p The #{applicant} will be <strong>approved</strong>
|
12
12
|
%p Their membership will be reinstated and they will regain the following category, number and status:
|
13
13
|
|
14
14
|
%ul
|
15
|
-
%li Category: #{reinstatement.membership_categories.to_sentence}
|
15
|
+
%li Category: #{reinstatement.membership_categories.try(:to_sentence)}
|
16
16
|
%li Number: #{reinstatement.number}
|
17
17
|
%li Status: #{badges(reinstatement.membership_statuses).presence || 'None'}
|
18
18
|
|
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.11
|
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-06-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -577,7 +577,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
577
577
|
- !ruby/object:Gem::Version
|
578
578
|
version: '0'
|
579
579
|
requirements: []
|
580
|
-
rubygems_version: 3.
|
580
|
+
rubygems_version: 3.4.10
|
581
581
|
signing_key:
|
582
582
|
specification_version: 4
|
583
583
|
summary: Manage your professional association online. Membership categories, applications
|