← back to NationalPaperHangers
views/public/coi-request-result.ejs
32 lines
<%- include('../partials/head', { title }) %>
<%- include('../partials/header') %>
<section class="book-page" style="max-width:680px;margin:0 auto;padding:48px 24px">
<% if (ok) { %>
<div class="callout" style="text-align:center">
<h1 class="display-sm" style="margin:0 0 12px">COI request sent</h1>
<p style="font-size:16px;line-height:1.55">
We've forwarded your Certificate of Insurance request to
<strong><%= installer.business_name %></strong><% if (installer.insurance && installer.insurance.broker_email) { %>
and their broker<% } %>.
</p>
<p style="font-size:15px;line-height:1.55;margin-top:16px">
The cert will be issued naming
<strong><%= request.additional_insured_name %></strong>
as additional insured and emailed directly to
<strong><%= request.designer_email %></strong>.
</p>
<p class="muted" style="margin-top:20px;font-size:13px">Typical turnaround is 1–3 business days. If you don't hear back within 3 days, reply to your confirmation email and we'll nudge.</p>
<a href="/installer/<%= installer.slug %>" class="btn btn-ghost btn-sm" style="margin-top:24px">← Back to <%= installer.business_name %>'s profile</a>
</div>
<% } else { %>
<div class="callout" style="border-color:#dc2626">
<h1 class="display-sm" style="margin:0 0 12px">Something needs fixing</h1>
<p style="font-size:15px;line-height:1.55"><%= error %></p>
<a href="/installer/<%= installer.slug %>" class="btn btn-primary" style="margin-top:16px">← Back to profile</a>
</div>
<% } %>
</section>
<%- include('../partials/footer') %>