Skip to content

Commit

Permalink
only show rejected reasons, unbold values
Browse files Browse the repository at this point in the history
  • Loading branch information
charlienparker committed Jan 8, 2025
1 parent c13916e commit 8b654ee
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions app/views/insured/families/_verification_header.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
<dt class="px-0 col-2"><%= l10n('insured.families.verifications.detail.summary.document_status') %>:</dt>
<dd>
<div class="d-flex flash">
<b><%= show_v_type(validation_status, current_user.has_hbx_staff_role?, format: false) %></b>
<%= show_v_type(validation_status, current_user.has_hbx_staff_role?, format: false) %>
<% if VerificationType::OUTSTANDING_STATES.include?(validation_status) %>
<div class="pl-2">
<div class="warning-icon icon pl-2" alt="warning" aria-hidden="true">&nbsp;</div>
Expand All @@ -44,16 +44,16 @@
</dd>
</div>
<% end %>
<% if summary_rows.include?(:status_reasoning) && @verification.update_reason && (VerificationType::OUTSTANDING_STATES + VerificationType::SATISFIED_STATES).include?(validation_status) %>
<% if summary_rows.include?(:status_reasoning) && @verification.rejected && @verification.update_reason %>
<div class="d-flex">
<dt class="px-0 col-2"><%= l10n('insured.families.verifications.detail.summary.status_reasoning') %>:</dt>
<dd><strong><%= @verification.update_reason %></strong></dd>
<dd><%= @verification.update_reason %></dd>
</div>
<% end %>
<% if summary_rows.include?(:due_date) && VerificationType::DUE_DATE_STATES.include?(validation_status) %>
<div class="d-flex">
<dt class="px-0 col-2"><%= l10n("due_date") %>:</dt>
<dd><strong><%= @verification.verif_due_date %></strong></dd>
<dd><%= @verification.verif_due_date %></dd>
</div>
<% end %>
</dl>
Expand Down

0 comments on commit 8b654ee

Please sign in to comment.