<%= title %>

Edit content displayed on Appointment page

View Appointment Page
Hero Section
Recommended size: 1920x1080px
<% if (data.hero?.backgroundImage) { %> <% let heroImgSrc=data.hero.backgroundImage; if (heroImgSrc && !heroImgSrc.startsWith('http://') && !heroImgSrc.startsWith('https://')) { heroImgSrc=heroImgSrc.startsWith('/') ? heroImgSrc : '/' + heroImgSrc; } %> Background image preview <% } else { %>
Image preview
<% } %>
Visa Options

These options will appear in the visa type selection dropdown on the appointment form.

<% if (data.visaOptions && data.visaOptions.length> 0) { %> <% data.visaOptions.forEach((option, index)=> { %>
<% }); %> <% } %>
Form Settings

Form Fields
<% if (data.form?.fields && data.form.fields.length> 0) { %> <% data.form.fields.forEach((field, index)=> { %>
>
<% }); %> <% } %>
Recent Submissions
<% if (locals.submissions && submissions.length> 0) { %> <% submissions.forEach(submission=> { %> <% }); %> <% } else { %> <% } %>
Date Name Contact Appt Date Visa Types Message Status Action
<%= new Date(submission.createdAt).toLocaleDateString() %>
<%= new Date(submission.createdAt).toLocaleTimeString([], {hour: '2-digit' , minute:'2-digit'}) %>
<%= submission.name %>
<%= submission.email %> <% if(submission.phone) { %> <%= submission.phone %> <% } %>
<%= submission.appointmentDate || '-' %> <% if (submission.visaTypes && submission.visaTypes.length> 0) { %> <% submission.visaTypes.forEach(type=> { %> <%= type %> <% }); %> <% } else { %> - <% } %> <% if (submission.message) { %>
<%= submission.message %>
<% } else { %> - <% } %>
<% let statusClass='bg-secondary' ; if(submission.status==='pending' ) statusClass='bg-warning text-dark' ; if(submission.status==='confirmed' ) statusClass='bg-success' ; if(submission.status==='completed' ) statusClass='bg-info text-dark' ; if(submission.status==='cancelled' ) statusClass='bg-danger' ; %> <%= submission.status %>
No submissions found
Showing last 50 submissions