effective_memberships 0.4.11 → 0.4.12

Sign up to get free protection for your applications and to get access to all the features.
Files changed (47) hide show
  1. checksums.yaml +4 -4
  2. data/app/views/effective/applicant_endorsements/complete.html.haml +2 -3
  3. data/app/views/effective/applicant_endorsements/edit.html.haml +6 -7
  4. data/app/views/effective/applicant_references/complete.html.haml +2 -3
  5. data/app/views/effective/applicant_references/edit.html.haml +6 -7
  6. data/app/views/effective/applicants/_applicant.html.haml +2 -1
  7. data/app/views/effective/applicants/_course_amounts.html.haml +9 -17
  8. data/app/views/effective/applicants/_declarations.html.haml +9 -16
  9. data/app/views/effective/applicants/_demographics.html.haml +2 -9
  10. data/app/views/effective/applicants/_education.html.haml +6 -13
  11. data/app/views/effective/applicants/_endorsements.html.haml +6 -13
  12. data/app/views/effective/applicants/_equivalences.html.haml +3 -10
  13. data/app/views/effective/applicants/_experience.html.haml +18 -25
  14. data/app/views/effective/applicants/_files.html.haml +16 -23
  15. data/app/views/effective/applicants/_organization.html.haml +2 -9
  16. data/app/views/effective/applicants/_references.html.haml +6 -13
  17. data/app/views/effective/applicants/_stamp.html.haml +23 -30
  18. data/app/views/effective/applicants/_summary.html.haml +5 -0
  19. data/app/views/effective/applicants/billing.html.haml +6 -7
  20. data/app/views/effective/applicants/checkout.html.haml +2 -3
  21. data/app/views/effective/applicants/course_amounts.html.haml +48 -49
  22. data/app/views/effective/applicants/declarations.html.haml +9 -10
  23. data/app/views/effective/applicants/demographics.html.haml +6 -7
  24. data/app/views/effective/applicants/education.html.haml +16 -17
  25. data/app/views/effective/applicants/endorsements.html.haml +20 -21
  26. data/app/views/effective/applicants/equivalences.html.haml +14 -15
  27. data/app/views/effective/applicants/experience.html.haml +35 -36
  28. data/app/views/effective/applicants/files.html.haml +8 -9
  29. data/app/views/effective/applicants/organization.html.haml +10 -11
  30. data/app/views/effective/applicants/references.html.haml +16 -17
  31. data/app/views/effective/applicants/select.html.haml +25 -26
  32. data/app/views/effective/applicants/stamp.html.haml +16 -17
  33. data/app/views/effective/applicants/start.html.haml +4 -5
  34. data/app/views/effective/applicants/submitted.html.haml +9 -10
  35. data/app/views/effective/fee_payments/_declarations.html.haml +9 -16
  36. data/app/views/effective/fee_payments/_demographics.html.haml +2 -9
  37. data/app/views/effective/fee_payments/_fee_payment.html.haml +2 -1
  38. data/app/views/effective/fee_payments/_organization.html.haml +2 -9
  39. data/app/views/effective/fee_payments/billing.html.haml +6 -7
  40. data/app/views/effective/fee_payments/checkout.html.haml +2 -3
  41. data/app/views/effective/fee_payments/declarations.html.haml +8 -9
  42. data/app/views/effective/fee_payments/demographics.html.haml +6 -7
  43. data/app/views/effective/fee_payments/organization.html.haml +10 -11
  44. data/app/views/effective/fee_payments/start.html.haml +23 -24
  45. data/app/views/effective/fee_payments/submitted.html.haml +2 -2
  46. data/lib/effective_memberships/version.rb +1 -1
  47. metadata +2 -2
@@ -1,37 +1,36 @@
1
1
  = render 'layout' do
2
2
  = render 'effective/fee_payments/content', resource: resource
3
3
 
4
- .card
5
- .card-body
6
- - outstanding_owners = current_user.memberships_owners.select { |owner| owner.outstanding_fee_payment_fees.present? }
4
+ = card do
5
+ - outstanding_owners = current_user.memberships_owners.select { |owner| owner.outstanding_fee_payment_fees.present? }
7
6
 
8
- - if outstanding_owners.blank?
9
- %p You have no fees due at this time.
10
- = link_to 'Home', root_path, class: 'btn btn-primary'
7
+ - if outstanding_owners.blank?
8
+ %p You have no fees due at this time.
9
+ = link_to 'Home', root_path, class: 'btn btn-primary'
11
10
 
12
- - else
13
- %p You have the following fees due at this time:
11
+ - else
12
+ %p You have the following fees due at this time:
14
13
 
15
- - outstanding_owners.each do |owner|
16
- %h3= owner
17
- = render_purchasables(owner.outstanding_fee_payment_fees)
14
+ - outstanding_owners.each do |owner|
15
+ %h3= owner
16
+ = render_purchasables(owner.outstanding_fee_payment_fees)
18
17
 
19
- = effective_form_with(model: resource, url: wizard_path(step), method: :put) do |f|
20
- = f.hidden_field :id
21
- = f.hidden_field :user_type
22
- = f.hidden_field :user_id
18
+ = effective_form_with(model: resource, url: wizard_path(step), method: :put) do |f|
19
+ = f.hidden_field :id
20
+ = f.hidden_field :user_type
21
+ = f.hidden_field :user_id
23
22
 
24
- - if outstanding_owners.length == 1
25
- - resource.organization = outstanding_owners.first if outstanding_owners.first.kind_of?(EffectiveMemberships.Organization)
23
+ - if outstanding_owners.length == 1
24
+ - resource.organization = outstanding_owners.first if outstanding_owners.first.kind_of?(EffectiveMemberships.Organization)
26
25
 
27
- %p Continue with fee payment for #{resource.owner}.
26
+ %p Continue with fee payment for #{resource.owner}.
28
27
 
29
- = f.hidden_field :organization_id
28
+ = f.hidden_field :organization_id
30
29
 
31
- - if outstanding_owners.length > 1
32
- %p You have multiple memberships that require a fee payment. They must be purchased separately.
33
- %p Please select an individual or organization to continue:
30
+ - if outstanding_owners.length > 1
31
+ %p You have multiple memberships that require a fee payment. They must be purchased separately.
32
+ %p Please select an individual or organization to continue:
34
33
 
35
- = f.select :organization_id, effective_memberships_select_fee_payment_organization(resource)
34
+ = f.select :organization_id, effective_memberships_select_fee_payment_organization(resource)
36
35
 
37
- = f.save 'Save and Continue'
36
+ = f.save 'Save and Continue'
@@ -9,8 +9,8 @@
9
9
 
10
10
  = link_to "Return to Dashboard", root_path, class: 'btn btn-lg btn-primary mb-4'
11
11
 
12
- .card
13
- .card-body= render 'effective/fee_payments/summary', fee_payment: resource
12
+ = card do
13
+ = render 'effective/fee_payments/summary', fee_payment: resource
14
14
 
15
15
  .mb-4
16
16
  = collapse('Show fee payment...', card_class: 'my-2') do
@@ -1,3 +1,3 @@
1
1
  module EffectiveMemberships
2
- VERSION = '0.4.11'
2
+ VERSION = '0.4.12'
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.4.11
4
+ version: 0.4.12
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-06-29 00:00:00.000000000 Z
11
+ date: 2022-07-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails