<% if @customer.verified? && @customer.approved_by.present? %> Approved by <%= @customer.approved_by.email %> on <%= @customer.approved_at&.strftime("%d %b %Y %H:%M") %> <% else %> Customer Not Approved <% end %>
<%= document.title.presence || file.filename.to_s %>
View PDF Preview
Preview not available for this file type.
<% end %>No documents uploaded yet.
<% end %>Status: <%= r.status.humanize %>
Total Amount: <%= number_to_currency(r.total_amount || 0) %>
Total Paid: <%= number_to_currency(r.amount_paid || 0) %>
Amount Due: <% if r.amount_due.to_f <= 0 %> Fully Paid <% else %> <%= number_to_currency(r.amount_due) %> <% end %>
Reservation: <%= pop.reservation&.reservation_number || "N/A" %>
Amount Paid: <%= number_to_currency(pop.amount || 0) %>
<% if pop.comment.present? %><%= pop.comment %>
<% end %>Uploaded by: <%= pop.uploaded_by.full_name %> at <%= pop.created_at.strftime("%d-%b-%Y %H:%M") %>
<%= document.title.presence || file.filename.to_s %>
View PDF Preview
Preview not available for this file type.
<% end %>No documents uploaded for this representative.
<% end %>| Name | Relation | Mobile | Immediate? | Active? | |
|---|---|---|---|---|---|
| <%= [nok.firstname, nok.middlename, nok.lastname].compact.join(" ") %> | <%= nok.relation %> | <%= nok.mobile_1 %> | <%= nok.email %> | <%= nok.immediate ? "Yes" : "No" %> | <%= nok.active ? "Yes" : "No" %> |
<%= issue.description %>
<% if issue.document&.file&.attached? %> (<%= link_to "View Document", rails_blob_path(issue.document.file, disposition: "attachment"), target: "_blank", class: "text-decoration-underline" %>) <% end %> <% if issue.admin_rejected? %>⚠ Admin rejected resolution: <%= issue.admin_note %>
<% end %>No pending verification issues.
<% end %><%= issue.description %>
<% if issue.document&.file&.attached? %> (<%= link_to "View Document", rails_blob_path(issue.document.file, disposition: "attachment"), target: "_blank", class: "text-decoration-underline" %>) <% end %>