This repository has been archived on 2025-03-31. You can view files and clone it, but cannot push or open issues or pull requests.
php-frs/templates/mail_bus.mustache

70 lines
3.8 KiB
Plaintext

Return-Path: {{user.email}}
From: Fake Reservation System <{{user.email}}>
Subject: [FRS] {{form_type_uc}} Reservation
Date: {{email_date}}
X-Mailer: FRS/1.0
MIME-Version: 1.0
Content-Type: text/html; charset=utf-8
<html>
<body>
<p>
<h1>YOUR RESERVATION DETAILS</h1>
</p>
<p>
<div itemscope itemtype="http://schema.org/BusReservation">
Reservation number: <span itemprop="reservationNumber">{{reservationNumber.value}}</span><br/>
<link itemprop="reservationStatus" href="http://schema.org/Reservation{{reservationStatus.value}}"/>
<link itemprop="url" href="{{url.value}}"/>
<div itemprop="underName" itemscope itemtype="http://schema.org/Person">
<meta itemprop="name" content="{{underName_name.value}}"/>
<meta itemprop="email" content="{{underName_email.value}}"/>
</div>
<div itemprop="bookingAgent" itemscope itemtype="http://schema.org/Organization">
<meta itemprop="name" content="{{bookingAgent_name.value}}"/>
<link itemprop="url" href="{{bookingAgent_url.value}}"/>
</div>
<meta itemprop="bookingTime" content="{{bookingTime.value_iso8601}}"/>
<link itemprop="cancelReservationUrl" href="{{cancelReservationUrl.value}}"/>
<link itemprop="checkinUrl" href="{{checkinUrl.value}}"/>
<link itemprop="confirmReservationUrl" href="{{confirmReservationUrl.value}}"/>
<meta itemprop="modifiedTime" content="{{modifiedTime.value_iso8601}}"/>
<link itemprop="modifyReservationUrl" href="{{modifyReservationUrl.value}}"/>
<div itemprop="programMembership" itemscope itemtype="http://schema.org/ProgramMembership">
<meta itemprop="memberNumber" content="{{programMembership_memberNumber.value}}"/>
<meta itemprop="program" content="{{programMembership_program.value}}"/>
</div>
<div itemprop="reservationFor" itemscope itemtype="http://schema.org/BusTrip">
<meta itemprop="provider" content="{{reservationFor_provider.value}}"/>
<meta itemprop="busName" content="{{reservationFor_busName.value}}"/>
<meta itemprop="busNumber" content="{{reservationFor_busNumber.value}}"/>
<meta itemprop="departureTime" content="{{reservationFor_departureTime.value_iso8601}}"/>
<div itemprop="departureBusStation" itemscope itemtype="http://schema.org/BusStation">
<meta itemprop="name" content="{{reservationFor_departureBusStation_name.value}}"/>
</div>
<meta itemprop="arrivalTime" content="{{reservationFor_arrivalTime.value_iso8601}}"/>
<div itemprop="arrivalBusStation" itemscope itemtype="http://schema.org/BusStation">
<meta itemprop="name" content="{{reservationFor_arrivalBusStation_name.value}}"/>
</div>
</div>
<div itemprop="reservedTicket" itemscope itemtype="http://schema.org/Ticket">
<meta itemprop="additionalTicketText" content="{{reservedTicket_additionalTicketText.value}}"/>
<link itemprop="downloadUrl" href="{{reservedTicket_downloadUrl.value}}"/>
Price: <span itemprop="price">{{reservedTicket_price.value}}</span> <span itemprop="priceCurrency">{{reservedTicket_priceCurrency.value}}</span>
<link itemprop="printUrl" href="{{reservedTicket_printUrl.value}}"/>
<div itemprop="ticketedSeat" itemscope itemtype="http://schema.org/Seat">
<meta itemprop="seatingType" content="{{reservedTicket_ticketedSeat_seatingType.value}}"/>
<meta itemprop="seatRow" content="{{reservedTicket_ticketedSeat_seatRow.value}}"/>
<meta itemprop="seatNumber" content="{{reservedTicket_ticketedSeat_seatNumber.value}}"/>
</div>
<meta itemprop="ticketNumber" content="{{reservedTicket_ticketNumber.value}}"/>
<meta itemprop="ticketToken" content="{{reservedTicket_ticketToken.value}}"/>
<div itemprop="underName" itemscope itemtype="http://schema.org/Person">
<meta itemprop="name" content="{{reservedTicket_underName_name.value}}"/>
</div>
</div>
</div>
</p>
</body>
</html>