main
|
Last change
on this file since 7517a3a was 7517a3a, checked in by Luka Krstikj <luka.krstik@…>, 18 hours ago |
|
init
|
-
Property mode
set to
100644
|
|
File size:
1.7 KB
|
| Line | |
|---|
| 1 | <%- include('../partials/header', { title: 'Appointment Confirmed' }) %>
|
|---|
| 2 |
|
|---|
| 3 | <div>
|
|---|
| 4 | <h1>Appointment Confirmed!</h1>
|
|---|
| 5 | <p>Your unit viewing appointment has been successfully scheduled.</p>
|
|---|
| 6 |
|
|---|
| 7 | <div>
|
|---|
| 8 | <h2>Appointment Details</h2>
|
|---|
| 9 | <table>
|
|---|
| 10 | <tr>
|
|---|
| 11 | <th>Appointment ID:</th>
|
|---|
| 12 | <td><code><%= appointment.appointment_id %></code></td>
|
|---|
| 13 | </tr>
|
|---|
| 14 | <tr>
|
|---|
| 15 | <th>Property:</th>
|
|---|
| 16 | <td>Unit <%= appointment.unit_number %>, <%= appointment.building_name %></td>
|
|---|
| 17 | </tr>
|
|---|
| 18 | <tr>
|
|---|
| 19 | <th>Floor:</th>
|
|---|
| 20 | <td><%= appointment.floor_number %></td>
|
|---|
| 21 | </tr>
|
|---|
| 22 | <tr>
|
|---|
| 23 | <th>Date:</th>
|
|---|
| 24 | <td><%= new Date(appointment.date).toLocaleDateString('en-GB', { weekday: 'long', year: 'numeric', month: 'long', day: 'numeric' }) %></td>
|
|---|
| 25 | </tr>
|
|---|
| 26 | <tr>
|
|---|
| 27 | <th>Time: </th>
|
|---|
| 28 | <td><%= appointment.time_start.substring(0, 5) %> - <%= appointment.time_end.substring(0, 5) %></td>
|
|---|
| 29 | </tr>
|
|---|
| 30 | </table>
|
|---|
| 31 | </div>
|
|---|
| 32 |
|
|---|
| 33 | <div>
|
|---|
| 34 | <h2>Your Information</h2>
|
|---|
| 35 | <table>
|
|---|
| 36 | <tr>
|
|---|
| 37 | <th>Name:</th>
|
|---|
| 38 | <td><%= appointment.client_name %></td>
|
|---|
| 39 | </tr>
|
|---|
| 40 | <tr>
|
|---|
| 41 | <th>Email:</th>
|
|---|
| 42 | <td><%= appointment.client_email %></td>
|
|---|
| 43 | </tr>
|
|---|
| 44 | <tr>
|
|---|
| 45 | <th>Phone:</th>
|
|---|
| 46 | <td><%= appointment.client_phone %></td>
|
|---|
| 47 | </tr>
|
|---|
| 48 | </table>
|
|---|
| 49 | </div>
|
|---|
| 50 |
|
|---|
| 51 | <div>
|
|---|
| 52 | <h2>Agent Information</h2>
|
|---|
| 53 | <table>
|
|---|
| 54 | <tr>
|
|---|
| 55 | <th>Agent Name:</th>
|
|---|
| 56 | <td><%= appointment.agent_name %></td>
|
|---|
| 57 | </tr>
|
|---|
| 58 | <tr>
|
|---|
| 59 | <th>Agent Email:</th>
|
|---|
| 60 | <td><%= appointment.agent_email %></td>
|
|---|
| 61 | </tr>
|
|---|
| 62 | </table>
|
|---|
| 63 | </div>
|
|---|
| 64 |
|
|---|
| 65 | <div>
|
|---|
| 66 | <a href="/buildings">Browse More Properties</a>
|
|---|
| 67 | <a href="/">Go to Home</a>
|
|---|
| 68 | </div>
|
|---|
| 69 | </div>
|
|---|
| 70 |
|
|---|
| 71 | |
|---|
Note:
See
TracBrowser
for help on using the repository browser.