effective_memberships 0.7.4 → 0.7.5
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: 4cdabd18c745a7596a4d7d39fb50436a4f6464e88399c8ca4e4b77d58abaddeb
|
4
|
+
data.tar.gz: 42df553cb0e753d4259f90a3358c4c3118ca847b5a8128d387de9a2b130a49a5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2daa5ad4a3d3f8287b611d3482c32ef07a974bc5488c5adc08884e3f1ca58a7e44fb195ca22d31c4a1c57b8830865036238a584260f3633047f0f382caefcfe9
|
7
|
+
data.tar.gz: c904772304719fc3a34b472cb1b4b917909bf94185bc320c60ec691c2ad742bf98a78cb073516011c9669885844072b10ba2ac97ccd4b37987d46342c751e61c
|
@@ -4,16 +4,16 @@
|
|
4
4
|
- outstanding_owners = current_user.memberships_owners.select { |owner| owner.outstanding_fee_payment_fees.present? }
|
5
5
|
|
6
6
|
- if memberships.present?
|
7
|
-
- if memberships.any? { |membership| membership.
|
7
|
+
- if memberships.any? { |membership| membership.categories.any?(&:create_renewal_fees?) }
|
8
8
|
- date = EffectiveMemberships.Registrar.renewal_fee_date(date: Time.zone.now)
|
9
9
|
%p Annual dues become available for purchase on #{date.strftime('%B %e')} of each year.
|
10
10
|
|
11
|
-
- if memberships.any? { |membership| membership.
|
12
|
-
- date = EffectiveMemberships.Registrar.late_fee_date(
|
11
|
+
- if memberships.any? { |membership| membership.categories.any?(&:create_late_fees?) }
|
12
|
+
- date = EffectiveMemberships.Registrar.late_fee_date(period: Time.zone.now)
|
13
13
|
%p Late fees will be applied on #{date.strftime('%B %e')}.
|
14
14
|
|
15
|
-
- if memberships.any? { |membership| membership.
|
16
|
-
- date = EffectiveMemberships.Registrar.bad_standing_date(
|
15
|
+
- if memberships.any? { |membership| membership.categories.any?(&:create_bad_standing?) }
|
16
|
+
- date = EffectiveMemberships.Registrar.bad_standing_date(period: Time.zone.now)
|
17
17
|
%p Memberships with unpaid fees or dues will be marked in bad standing on #{date.strftime('%B %e')}.
|
18
18
|
|
19
19
|
- if outstanding_owners.present?
|