<div class="passengers">
	$[repeat:passengers]
		<div class="passenger">Sərnişin: Soyad: <b>${lastName}</b> Adı: <b>${firstName}</b></div><br/>
	$[repeat]
</div>
<table border="1" width="100%">
	<tr>
		<th>Aviakompaniya</th>
		<th>Uçuş</th>
		<th>Dönüş</th>
		<th>Xəttin №</th>
		<th>Klass</th>
		<th>Uçuş saatı</th>
        <th>Тариф</th>
	</tr>
	$[repeat:segments]
		<tr>
			<td>${airline}
				$[if:airlineLocator]<br/>Kompaniyanın təsdiqləyici şifrəsi: <b>${airlineLocator}</b>$[if]
				$[if:operatingAirline]<br/>Uçuş həyata keçirilir: "${operatingAirline}"[if]
			</td>
			<td>${departCity}, <b>${departAirport}</b>$[if:departTerminal]<br/>Terminal: <b>${departTerminal}</b>$[if]<br/>${departDate} <b>${departTime}</b></td>
			<td>${arriveCity}, <b>${arriveAirport}</b>$[if:arriveTerminal]<br/>Terminal: <b>${arriveTerminal}</b>$[if]<br/>${arriveDate} <b>${arriveTime}</b></td>
			<td style="text-align:center;">${airlineCode}${flightNumber}</td>
			<td style="text-align:center;">${classOfService}</td>
			<td style="text-align:center;">${duration}</td>
            <td>
                $[if:brandedFareName]<b>${brandedFareName}</b><br/>$[if]
                                $[if:mealService]Meal service: ${mealService}<br/>$[if]
                                $[if:businessLounge]Business lounge<br/>$[if]
                                $[if:classUpgrade]Class upgrade<br/>$[if]
                                $[if:extraMileage]Additional miles<br/>$[if]
                                $[if:priorityBoarding]Priority boarding<br/>$[if]
                                $[if:seatChoice]Seat choice<br/>$[if]
                                $[if:transferIncluded]Transfer included<br/>$[if]
                                $[if:luggageInfo]Charge-free baggage: $[if:luggageInfoPieces] ${luggageInfoPieces},$[if] $[if:luggageInfoWeight]Вес (кг): ${luggageInfoWeight},$[if] $[if:luggageInfoSize]Размер (см): ${luggageInfoSize}$[if]$[if]
                                $[if:luggageInfoGDS]$[if:luggageInfoQuantity]Charge-free baggage:  ${luggageInfoQuantity}$[if]$[if:luggageInfoUnit]  ${luggageInfoUnit} $[if]$[if]<br/>
                                $[if:paidLuggageInfo]Paid baggage: $[if:paidLuggageInfoPieces] ${paidLuggageInfoPieces},$[if] $[if:paidLuggageInfoWeight]Вес (кг): ${paidLuggageInfoWeight},$[if] $[if:paidLuggageInfoSize]Размер (см): ${paidLuggageInfoSize},$[if] $[if:paidLuggageInfoPrice]Стоимость: ${paidLuggageInfoPrice}$[if]$[if]<br/>
                                $[if:cabinLuggageInfo]Charge-free cabin baggage: $[if:cabinLuggageInfoPieces] ${cabinLuggageInfoPieces},$[if] $[if:cabinLuggageInfoWeight]Вес (кг): ${cabinLuggageInfoWeight},$[if] $[if:cabinLuggageInfoSize]Размер (см): ${cabinLuggageInfoSize}$[if]$[if]<br/>
                                $[if:paidCabinLuggageInfo]Paid cabin baggage: $[if:paidCabinLuggageInfoPieces] ${paidCabinLuggageInfoPieces},$[if] $[if:paidCabinLuggageInfoWeight]Вес (кг): ${paidCabinLuggageInfoWeight},$[if] $[if:paidCabinLuggageInfoSize]Размер (см): ${paidCabinLuggageInfoSize},$[if] $[if:paidCabinLuggageInfoPrice]Стоимость: ${paidCabinLuggageInfoPrice}$[if]$[if]<br/>
            </td>
		</tr>
	$[repeat]
</table>
$[repeat:refundAndExchangeProperties]
    <div>
        <br/>
        $[if:refundBefore]
            <b>Refund:</b> ${passengerType}: before departure (fine amount) - ${refundBefore}<br/>
        $[if]
        $[if:notRefundBefore]
            <b>Refund:</b> ${passengerType}: before departure N/A<br/>
        $[if]
        $[if:refundAfter]
            <b>Refund:</b> ${passengerType}: after departure (fine amount) - ${refundAfter}<br/>
        $[if]
        $[if:notRefundAfter]
            <b>Refund:</b> ${passengerType}: after departure  N/A<br/>
        $[if]
        $[if:exchangeBefore]
             <b>Exchange:</b> ${passengerType}:  before departure (fine amount) - ${exchangeBefore}<br/>
        $[if]
        $[if:notExchangeBefore]
            <b>Exchange:</b> ${passengerType}: before departure N/A<br/>
        $[if]
        $[if:exchangeAfter]
            <b>Exchange:</b> ${passengerType}: after departure (fine amount) - ${exchangeAfter}<br/>
        $[if]
        $[if:notExchangeAfter]
            <b>Exchange:</b> ${passengerType}: after departure  N/A<br/>
        $[if]
    </div>
$[repeat]
<div id="price">
	<h3>Yekun məbləğ</h3>
	<table border="1" width="100%">
		<tr>
			$[if:showTariffCols]
				<th>Tarif qiyməti<br/>(hər nəfər üçün)</th>
				$[if:showFeeCol]
					<th>Vergi məbləği<br/>(hər nəfər üçün)</th>
					<th>Agentliyin servis məbləği<br/>(hər nəfər üçün)</th>
				$[if]
				$[ifnot:showFeeCol]
					<th>Vergi məbləği<br/>(hər nəfər üçün)</th>
				$[ifnot]
			$[if]
			<th>Sərnişinlər</th>
			<th>Yekun məbləğ</th>
		</tr>
		$[if:count_ADULT]
            <tr>
                $[if:showTariffCols]
                    <td style="text-align:right;">${tariff_ADULT}</td>
                    <td style="text-align:right;">${taxes_ADULT}</td>
                    $[if:showFeeCol]
                        <td style="text-align:right;">${fee_ADULT}</td>
                    $[if]
                $[if]
                <td style="text-align:right;">Böyük: ${count_ADULT} чел.</td>
                <td style="text-align:right;">${total_ADULT} ${currency}</td>
            </tr>
		$[if]
		$[if:count_CHILD]
			<tr>
				$[if:showTariffCols]
					<td style="text-align:right;">${tariff_CHILD}</td>
					<td style="text-align:right;">${taxes_CHILD}</td>
					$[if:showFeeCol]
						<td style="text-align:right;">${fee_CHILD}</td>
					$[if]
				$[if]
				<td style="text-align:right;">Uşaq: ${count_CHILD} чел.</td>
				<td style="text-align:right;">${total_CHILD} ${currency}</td>
			</tr>
		$[if]
		$[if:count_INFANT]
			<tr>
				$[if:showTariffCols]
					<td style="text-align:right;">${tariff_INFANT}</td>
					<td style="text-align:right;">${taxes_INFANT}</td>
					$[if:showFeeCol]
						<td style="text-align:right;">${fee_INFANT}</td>
					$[if]
				$[if]
				<td style="text-align:right;">Младенцев: ${count_INFANT} чел.</td>
				<td style="text-align:right;">${total_INFANT} ${currency}</td>
			</tr>
		$[if]
		$[if:count_INFANT_WITH_SITE]
            <tr>
                $[if:showTariffCols]
                    <td style="text-align:right;">${tariff_INFANT_WITH_SITE}</td>
                    <td style="text-align:right;">${taxes_INFANT_WITH_SITE}</td>
                    $[if:showFeeCol]
                        <td style="text-align:right;">${fee_INFANT_WITH_SITE}</td>
                    $[if]
                $[if]
                <td style="text-align:right;">Körpələr (yerlə): ${count_INFANT_WITH_SITE} чел.</td>
                <td style="text-align:right;">${total_INFANT_WITH_SITE} ${currency}</td>
            </tr>
        $[if]
        $[if:count_YOUTH]
            <tr>
                $[if:showTariffCols]
                    <td style="text-align:right;">${tariff_YOUTH}</td>
                    <td style="text-align:right;">${taxes_YOUTH}</td>
                    $[if:showFeeCol]
                        <td style="text-align:right;">${fee_YOUTH}</td>
                    $[if]
                $[if]
                <td style="text-align:right;">Молодых: ${count_YOUTH} чел.</td>
                <td style="text-align:right;">${total_YOUTH} ${currency}</td>
            </tr>
        $[if]
        $[if:count_SENIOR]
            <tr>
                $[if:showTariffCols]
                    <td style="text-align:right;">${tariff_SENIOR}</td>
                    <td style="text-align:right;">${taxes_SENIOR}</td>
                    $[if:showFeeCol]
                        <td style="text-align:right;">${fee_SENIOR}</td>
                    $[if]
                $[if]
                <td style="text-align:right;">Пожилых: ${count_SENIOR} чел.</td>
                <td style="text-align:right;">${total_SENIOR} ${currency}</td>
            </tr>
        $[if]
        $[if:showTariffCols]
            <tr>
                <td colspan="$[if:showFeeCol]4$[if]$[ifnot:showFeeCol]3$[ifnot]" style="text-align:right;font-weight:bold;">Cəmi vergi və servis məb</td>
                <td style="text-align:right;">${totalTaxesFee} ${currency}</td>
            </tr>
        $[if]
        $[if:withInsurance]
            <tr>
                <td $[if:showTariffCols]colspan="$[if:showFeeCol]4$[if]$[ifnot:showFeeCol]3$[ifnot]"$[if] style="text-align:right;font-weight:bold;">Sığorta</td>
                <td style="text-align:right;">${insurancePrice} ${currency}</td>
            </tr>
        $[if]        
        <tr>
            <td $[if:showTariffCols]colspan="$[if:showFeeCol]4$[if]$[ifnot:showFeeCol]3$[ifnot]"$[if] style="text-align:right;font-weight:bold;">Yekun məb</td>
            <td style="text-align:right;">${total} ${currency}</td>
        </tr>
	</table>
</div>