<% let type = model.type let reservations = model.reservations let info = model.info let host = model.host let publicPath = model.publicPath %> If you cannot view this email correctly please click here.

<img src="<%= publicPath %><%= info.logo %>" style="display: block; margin: 10px auto; max-width: 200px;" />

<img src="<%= host %>/web/img/golfcourse.jpg" style="display: block; width: 100%" />
<% if (type == "confirmed") { %> Thanks for your booking! <% } else if (type == "updated") { %> Your reservation has been updated! <% } else if (type == "canceled") { %> Your reservation has been canceled! <% } %> Reservation name: <%= model.name %> <% for(let r of reservations) { %><% } %>
FechaTipoTotal
<%= r.start.format("g") %><%= r.typeName %><%= i18n.format("c", r.total) %>
Total<%= i18n.format("c", reservations.sum(t => t.total || 0)) %>
<img src="<%= publicPath %><%= info.logo %>" style="display: block; margin: 10px auto; max-width: 200px;" /> <%= info.name %> <%= info.street %> <%= info.town %> <%= info.zipCode %> <%= info.province %> Telf.: <%= info.phone %> Email: <%= info.email %>
Cancellation info
<a href="<%= model.cancelLink %>" style="font-size: 1em; background-color: #b05e5e; color: #fff; border-radius: 5px; padding: 15px 40px; text-decoration: none">Clic here to Cancel <a href="<%= host %>/attachment/en/582b3e9d87aa2c1e53cf835d/DownloadableItem/5be1764eadd7508f1cd51b1c">Cancelation policy
Powered by