-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
New PSH Route expiration adjustments
- Loading branch information
Showing
5 changed files
with
56 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
.match-decision.c-card.c-card--flush.card--block | ||
.c-card__content | ||
= simple_form_for @decision, url: access_context.match_decision_path(@match, @decision) do |form| | ||
= render 'match_decisions/shelter_agency_expiration', form: form | ||
.o-choose.o-choose--flush.o-choose--flush-top | ||
.o-choose__choice{class: [('o-choose__choice--disabled' if [email protected]?)]} | ||
%header | ||
|
@@ -12,6 +13,29 @@ | |
%p | ||
%i.icon-info | ||
If the match is accepted, all involved parties will be notified. | ||
- if Config.get(:limit_client_names_on_matches) | ||
- if @match.client.release_of_information.blank? && (@match.client.housing_release_status.blank? || @match.client.housing_release_status.downcase == 'none on file') | ||
= form.input :release_of_information, as: :boolean, required: true, inline_label: 'Client has signed release of information to share their data with network partners' | ||
- elsif @match.client.release_of_information.present? | ||
%p | ||
Client signed release of information to share their data with network partners on | ||
%strong | ||
= @match.client.release_of_information.to_date | ||
= form.input :release_of_information, as: :hidden, input_html: { value: @match.client.release_of_information} | ||
- else | ||
%p | ||
%strong | ||
= checkmark(true) | ||
Client provided a | ||
= Translation.translate(@match.client.housing_release_status) | ||
= form.input :client_spoken_with_services_agency, as: :boolean, required: true, inline_label: "Client has spoken to a #{Translation.translate('shelter case manager')} and understands the services attached and the program requirements" | ||
- if Config.get(:require_cori_release) | ||
= form.input :cori_release_form_submitted, as: :boolean, required: true, inline_label: 'Client has submitted a CORI release form' | ||
%p | ||
= Translation.translate('The client does not need to be document-ready in order to indicate interest.') | ||
%br | ||
= "#{Translation.translate('When you indicate interest, notification will be sent to the')} #{Translation.translate('Housing Subsidy Administrator')}. If the #{Translation.translate('HSA')} has a release, #{Translation.translate('they can proceed to determine whether a criminal background hearing is needed. You will be notified when they either accept the match or schedule a hearing.')}" | ||
|
||
= render 'match_decisions/continue_button', text: 'Accept Match', icon: 'checkmark', button_attributes: { class: 'btn btn-success jAccept', data: {submit_param_name: 'decision[status]', submit_param_value: 'accepted'}, disabled: (!@decision.editable?) } | ||
= render 'match_decisions/continue_button', text: 'Indicate Interest in Match', icon: 'checkmark', button_attributes: {class: 'btn btn-success jNeedsToAgree', data: {submit_param_name: 'decision[status]', submit_param_value: 'accepted', toggle: 'modal', target: '#shelter-agency-modal'}, disabled: !(@decision.editable?)} | ||
= render 'match_decisions/decline_and_cancel_backup_actions', form: form, action_message: "If the match is declined, the #{Translation.translate('CoC Thirteen')} will be informed of the decision." | ||
= render 'match_decisions/shelter_agency_agreement' |
10 changes: 1 addition & 9 deletions
10
app/views/match_decisions/thirteen/_match_acknowledgement.haml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters