<h1 style="margin-top:0;margin-bottom:16px;font-size:26px;line-height:32px;font-weight:bold;letter-spacing:-0.02em;">{{ schoolName }}<br><br>
    {% if taxiBooking.isPrivateShare %}
        Private ride share request for {{ fareDetails.noTravellers }} passenger{% if taxiBooking.capacity != 1 %}s{% endif %} on {{ fromPoints.0.pointTime|date('d M Y') }} at  {{ fromPoints.0.pointTime|date('H:i',fromPoints.0.pointLocation.timeZone) }}
    {% else %}
        Booking confirmed for {{ passengerCount }} passenger{% if passengerCount != 1 %}s{% endif %} on {{ fromPoints.0.pointTime|date('d M Y') }} at  {{ fromPoints.0.pointTime|date('H:i',fromPoints.0.pointLocation.timeZone) }}
    {% endif %}
</h1>
<p style="margin:0">
    Dear {{ bookingLeg.booking.parentContact.title }} {{ bookingLeg.booking.parentContact.lastName }},
    <br><br>
    Your taxi booking (ID {{ taxiBooking.id }}) has been confirmed. The provider, {{ taxiBooking.provider.companyName }} can be contacted on {{ taxiBooking.provider.mailTel }}. <b>Please call the GTMatrix controllers in the first instance on +44 20 3355 2858 who will be able to help you.</b>
    <br><br>
    {% if taxiBooking.shareCode %}
        Your share code is: <b>{{ taxiBooking.shareCode }}</b>
        <br><br>
        To use this share code, users must book a taxi in the normal way. On the taxi information page, tick "I have a share code" and you will be be able to input the code to join this ride share.
    {% endif %}
</p>
<br>
<b>Passengers:</b>
<br>
{% for studentLink in bookingLeg.booking.studentToBookings %}
    {{ studentLink.student.firstName }} {{ studentLink.student.lastName }} - {% if studentLink.student.metaData.mobile %}M:{{ studentLink.student.metaData.mobile }}{% endif %}<br>
{% endfor %}
<br>
{% for waypoint in fromPoints %}
    <b>Collecting from:</b>
    <br>
    {{ waypoint.pointLocation.friendlyAddress }} at {{ waypoint.pointTime|date('H:i',fromPoints.0.pointLocation.timeZone) }}
    {% if (waypoint.pointLocation.lat and waypoint.pointLocation.lon) %}
        <br>
        <a href="https://www.google.com/maps/search/?api=1&query={{ waypoint.pointLocation.lat }},{{ waypoint.pointLocation.lon }}">
            Google Maps
        </a>
    {% endif %}
    {% if (waypoint.pointLocation.whatThreeWords) %}
        <br>
        <a href="https://what3words.com/{{ waypoint.pointLocation.whatThreeWords }}">
            What Three Words
        </a>
    {% endif %}
    <br>
{% endfor %}
<br><br>
{% for waypoint in toPoints %}
    <b>Dropping at:</b>
    <br>
    {{ waypoint.pointLocation.friendlyAddress }}
    {% if (waypoint.pointLocation.lat and waypoint.pointLocation.lon) %}
        <br>
        <a href="https://www.google.com/maps/search/?api=1&query={{ waypoint.pointLocation.lat }},{{ waypoint.pointLocation.lon }}">
            Google Maps
        </a>
    {% endif %}
    {% if (waypoint.pointLocation.whatThreeWords) %}
        <br>
        <a href="https://what3words.com/{{ waypoint.pointLocation.whatThreeWords }}">
            What Three Words
        </a>
    {% endif %}
    <br>
{% endfor %}
<br>
<b>Fare:</b>
{% if noPay %}
    Another party has agreed to pay the full fare.
{% else %}
    <br>
    {% if taxiBooking.isPrivateShare %}
        Approximate total cost of taxi with all passengers on board: &pound;{{ fareDetails.approximateShareTotal }}.
        <br>
        Approximate cost per passenger based on {{ fareDetails.noTravellers }} sharing: &pound;{{ fareDetails.approximateBasicPassengerCost }}.

    {% endif %}
    <br><br>
    {% for fare in fareDetails.clientBreakdown %}
        {{ fare.label }} - &pound;{{ fare.formatted }}<br>
    {% endfor %}
    <b>Total: &pound;{{ fareDetails.clientTotal }}</b>
    <br><br>
{% endif %}
<h2 style="margin:0;">If you no longer wish to use this booking, please click reject below:</h2>
<br>
<a href="{{ linkPathReject }}">I REJECT THIS BOOKING</a>
<br><br>
Tagged: