<div style="font-size:small;font-family: arial;">
    ПОДГОТОВЛЕННО ДЛЯ<br/>
    <b>${customer}</b><br/>
    КОД БРОНИРОВАНИЯ    ${pnr} <br/>
    КОД РЕЗЕРВИРОВАНИЯ АВИАКОМПАНИИ  ${airlineLocators} <br/>
</div>
<div style="font-size:small;font-family: arial;">
    *******************************************************<br/>
    ОПИСАНИЕ ТАРИФА И ПРАВИЛ<br/>
    *******************************************************<br/>
    *****БИЛЕТ*****<br/>
    ТАРИФ ${fare} ${currency} СО СБОРАМИ И НАЛОГАМИ ${totalTaxesFee} ${currency} ВСЕГО НА СУММУ ${total} ${currency}<br/>
    $[if:showTimeLimit]****ПОСЛЕДНИЙ СРОК ПОКУПКИ БИЛЕТА ${timeLimitDateUpper}, ${timeLimitTimeUpper}*****$[if]
</div>
$[repeat:segments]
<div style="font-family: arial;margin-top:10px;border-top:1px solid black;">
    ${dateHeadline} <br/>
    <span style="color:grey;font-size:x-small">Пожалуйста проверьте время полета перед вылетом</span>
    <div>
        <div style="margin-left: 2px; ">
            <table style="font-family: arial;width:100%;min-width: 450px;border-spacing: 0px;border:1px solid #E6E6E9;">
                <tr style="height: 50px;">
                    <td rowspan="2" style="background-color: #E6E6E9;padding:8 0 0 8;">
                        <span style="font-size: large"> ${airline} </span><br/>
                        <span style="font-weight: bold"> ${airlineCode}${flightNumber} </span><br/><br/>
                        $[if:operatingAirline]<span style="font-size: small">Выполняется:</span><br/><span style="font-size: large">${operatingAirline}</span><br/><br/>$[if]
                        <span style="font-size: small">Продолжительность: ${duration} </span><br/>
                    </td>
                    <td style="border-bottom:1px solid #E6E6E9;padding-top: 5px;padding-left: 5px;" colspan="2">
                        <table style="height: 47px;">
                            <tr>
                                <td>
                                    <span style="font-size: large;"> ${departAirportCode} </span>
                                    <br/>
                                    <span style="font-size: small;"> ${departCity}, <b> ${departAirport} </b></span>
                                </td>
                                <td>
                                <span>&nbsp;&#9654;&nbsp;</span>
                                </td>
                                <td>
                                    <span style="font-size: large;"> ${arriveAirportCode} </span>
                                    <br/>
                                    <span style="font-size: small;"> ${arriveCity}, <b> ${arriveAirport} </b></span>
                                </td>
                            </tr>
                        </table>
                    </td>
                    <td style="border-left:1px solid #E6E6E9;vertical-align: top;padding-top: 5px;padding-left: 5px;min-width: 150px;" rowspan="2">
                    <span style="font-size: x-small;">Воздушное судно: ${aircraft} <br/>
                    Остановок: ${stops} </span>
                    </td>
                </tr>
                <tr style="height: 105px;">
                    <td style="border-right:1px solid #E6E6E9;width:220px;vertical-align: top;padding-top: 5px;padding-left: 5px;">
                        <span style="font-size: x-small;">Отбытие в:</span><br/>
                        <span style="font-size: medium;"> ${departTime} </span><br/>
                        <span style="font-size: x-small;">Терминал: $[if:departTerminal] ${departTerminal} $[if] $[ifnot:departTerminal] Не указан $[ifnot]</span>
                    </td>
                    <td style="width:220px;vertical-align: top;padding-top: 5px;padding-left: 5px;">
                        <span style="font-size: x-small;">Прибытие в:</span><br/>
                        <span style="font-size: medium;"> ${arriveTime} </span><br/>
                        <span style="font-size: x-small;">Терминал: $[if:arriveTerminal] ${arriveTerminal} $[if] $[ifnot:arriveTerminal] Не указан $[ifnot]</span>
                    </td>
                </tr>
            </table>
        </div>
        <div style="clear: both"></div>
    </div>
    <table style="font-size: x-small;width: 500px;margin-top: 15px;">
        <tr style="background-color:#E6E6E9;">
            <td>Имя пассажира:</td>
            <td>Класс обслуживания:</td>
        </tr>
        <tr>
            <td>» ${customer} </td>
            <td> ${classOfService} </td>
        </tr>
    </table>
</div>
$[repeat]