2024-07-01 12:19:38 +00:00
|
|
|
{{template "base" .}}
|
|
|
|
{{define "content"}}
|
|
|
|
{{$res := index .Data "reservation"}}
|
|
|
|
<div class="container">
|
|
|
|
<div class="row">
|
|
|
|
<div class="col mt-5">
|
|
|
|
<h1>Reservation Summary</h1>
|
|
|
|
|
|
|
|
<hr>
|
|
|
|
|
|
|
|
<table class="table table-striped">
|
|
|
|
<thead></thead>
|
|
|
|
<tbody>
|
|
|
|
<tr>
|
|
|
|
<td>Name: </td>
|
|
|
|
<td>{{$res.LastName}} {{$res.FirstName}}</td>
|
|
|
|
</tr>
|
2024-07-10 20:54:28 +00:00
|
|
|
<tr>
|
|
|
|
<td>Room: </td>
|
|
|
|
<td>{{$res.Room.RoomName}}</td>
|
|
|
|
</tr>
|
2024-07-01 12:19:38 +00:00
|
|
|
<tr>
|
|
|
|
<td>Arrival: </td>
|
2024-07-10 20:54:28 +00:00
|
|
|
<td>{{index .StringMap "start_date"}}</td>
|
2024-07-01 12:19:38 +00:00
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td>Departure: </td>
|
2024-07-10 20:54:28 +00:00
|
|
|
<td>{{index .StringMap "end_date"}}</td>
|
2024-07-01 12:19:38 +00:00
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td>Email: </td>
|
|
|
|
<td>{{$res.Email}}</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td>Phone: </td>
|
|
|
|
<td>{{$res.Phone}}</td>
|
|
|
|
</tr>
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{{end}}
|