{% extends 'base_admin.html.twig' %} {% block title %}PT Outsources{% endblock %} {% block body %}
AX Ref | Name | Mobile | Child/ Baby |
Pax | Date | Time | To | From | Start Address | End Address | Notes | Invoice | Offer to | Confirmed | # | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
{% set link = caponica_url~pt_outsource.AXRef~'/edit' %}
{{ pt_outsource.AXRef }}
/ {{ pt_outsource.TripLeg }} + {% if pt_outsource.TripLeg >1 %} - {% endif %} |
{{ pt_outsource.PassengerName }} | {% if pt_outsource.PassengerEmail is not empty %} {% else %} N/A {% endif %} | {% if pt_outsource.PassengerMobile is not empty %} {% else %} N/A {% endif %} | {{ pt_outsource.PassengerChild }}c/{{ pt_outsource.PassengerBaby }}b | {{ pt_outsource.PassengerCount }} | {{ pt_outsource.TripDate ? pt_outsource.TripDate|date('d-M-Y') : '' }} | {{ pt_outsource.TripTime ? pt_outsource.TripTime|date('H:i') : '' }} | {{ pt_outsource.TripStart }} | {{ pt_outsource.TripEnd }} | {{ pt_outsource.AddressStart }} | {{ pt_outsource.AddressEnd }} | {{ pt_outsource.TripNotes }} | {{ pt_outsource.PartnerInvoice }}/{{ pt_outsource.InvoicePaidByAX ? 'Yes' : 'No' }} |
{% for trip_and_partner in trips_and_partners %}
{% if pt_outsource.id==trip_and_partner.ptOutsource.id %}
{{ trip_and_partner.partnerCompany.partner }}
{% if trip_and_partner.partnerCompany.partnerEmail is not empty %}
{# @#}
Do you want to send mailSend Mail{% endif %} {% endif %} {% endfor %} |
{% for trip_and_partner in trips_and_partners %} {% if pt_outsource.id == trip_and_partner.ptOutsource.id and trip_and_partner.confirmed == 1 %} {{ trip_and_partner.partnerCompany.partner }} {% endif %} {% endfor %} |