effective_memberships 0.11.0 → 0.12.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ab9a748ab11ca8d852d0b69ed6f5d05e40e0e67b966e1c85f6cf98592db2dc32
4
- data.tar.gz: b048158b7cea70c82fa04ab13cc91a37fcc20edcd5b6356b0ff6d9efbb967314
3
+ metadata.gz: fcda6f904900bdb868f397b966b91246eb5199ccb40e2fd0ff585fe1a40a5c2d
4
+ data.tar.gz: 496de8f40e138891794d41f6ce816941638ace3701dbfd40e111f39c4e5aaa4a
5
5
  SHA512:
6
- metadata.gz: 0603ffd2a17a89df9de2e7325f0d2c4a0d03583da2d3f431425f2e69edbadb201878582a60086ff48c9313dfd218c6d7b173a876a17e35737ebb98e3ebecd7ef
7
- data.tar.gz: dbe77a3674d19fa2fed6be7bc23a09f1a66b7b7c2dfe7908516193c99f378b81e3a522d2a7ceaf2e105fd59d2247a2c1f87097451deadf9d29e0d22b92d6ff98
6
+ metadata.gz: 5bc4751c68972b32b0e851d42a837bfeacacf73291aa128871836fe339d339c56ef26f8cd78badb8b12bf2ad41ea0487b232d30b0fa71e0d2e955a7c2a2e8543
7
+ data.tar.gz: 8bdb806fe84d1c1034b6fa620a92268e6cf1c220f2679d58be9d705971501230a87af5a4a1d38e5bd7bd6f94f1a4638a464e15ce4937938f9269d10f404b189c
@@ -260,4 +260,8 @@ module EffectiveMembershipsCategory
260
260
  tax_exempt
261
261
  end
262
262
 
263
+ def cpd_target_score(cpd_cycle:)
264
+ nil
265
+ end
266
+
263
267
  end
@@ -144,7 +144,13 @@ module Effective
144
144
  end
145
145
 
146
146
  def default_title
147
- [period&.strftime('%Y'), category, fee_type, 'Fee'].compact.join(' ')
147
+ return nil unless period.present? && fee_type.present?
148
+
149
+ [
150
+ period.strftime('%Y'),
151
+ category,
152
+ EffectiveResources.et("effective_memberships.fees.#{fee_type.downcase}")
153
+ ].join(' ')
148
154
  end
149
155
 
150
156
  end
@@ -0,0 +1,39 @@
1
+ en:
2
+ effective_memberships:
3
+ name: 'Effective Memberships'
4
+
5
+ fees:
6
+ applicant: 'Applicant Fee'
7
+ prorated: 'Prorated Fee'
8
+ reinstatement: 'Reinstatement Fee'
9
+ renewal: 'Renewal Fee'
10
+ late: 'Late Fee'
11
+ discount: 'Discount Fee'
12
+ admin: 'Admin Fee'
13
+
14
+ activerecord:
15
+ models:
16
+ # These ones might be app level
17
+ app/applicant: 'Applicant'
18
+ app/applicant_review: 'Applicant Review'
19
+ app/membership_card: 'Membership Card'
20
+ app/category: 'Category'
21
+ app/directory: 'Directory'
22
+ app/fee_payment: 'Fee Payment'
23
+ app/organization: 'Organization'
24
+ app/status: 'Status'
25
+
26
+ # These ones should stay effective
27
+ effective/applicant_course_area: 'Course Area'
28
+ effective/applicant_course_name: 'Course Name'
29
+ effective/applicant_course: 'Course'
30
+ effective/applicant_education: 'Education'
31
+ effective/applicant_endorsement: 'Endorsement'
32
+ effective/applicant_equivalence: 'Equivalence'
33
+ effective/applicant_experience: 'Experience'
34
+ effective/applicant_reference: 'Reference'
35
+ effective/document: 'Document'
36
+ effective/fee: 'Fee'
37
+ effective/membership_history: 'Membership History'
38
+ effective/membership: 'Membership'
39
+ effective/representative: 'Representative'
@@ -1,3 +1,3 @@
1
1
  module EffectiveMemberships
2
- VERSION = '0.11.0'
2
+ VERSION = '0.12.0'
3
3
  end
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.11.0
4
+ version: 0.12.0
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-02-24 00:00:00.000000000 Z
11
+ date: 2023-03-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -513,6 +513,7 @@ files:
513
513
  - app/views/users/_demographics.html.haml
514
514
  - app/views/users/_fields_demographics.html.haml
515
515
  - config/effective_memberships.rb
516
+ - config/locales/effective_memberships.en.yml
516
517
  - config/routes.rb
517
518
  - db/migrate/01_create_effective_memberships.rb.erb
518
519
  - db/seeds.rb