<div class="passengers">
	$[repeat:passengers]
		<div class="passenger">Пассажир: Фамилия: <b>${lastName}</b> Имя: <b>${firstName}$[if:infantWithoutPlace] (младенец без места)$[if]</b></div><br/>
	$[repeat]
</div>
$[repeat:segments]
<table border="1" width="100%">
	<tr>
		<th>Перевозчик</th>
		<th>Отправление</th>
		<th>Прибытие</th>
		<th>№ Поезда</th>
		<th>№ Вагона, Тип</th>
		<th>Места</th>
		<th>Класс</th>
		<th>Время в пути</th>
	</tr>
    <tr>
		<td>${carrier}</td>
		<td style="width:25%">${departStation}</b><br/>${departDate} <b>${departTime}</b></td>
		<td style="width:25%">${arriveStation}<br/>${arriveDate} <b>${arriveTime}</b></td>
		<td style="text-align:center;">${trainNumber}</td>
		<td style="text-align:center;">${carriageNumber}, ${carriageType}</td>
		<td style="text-align:center;">${places}</td>
		<td style="text-align:center;">${classOfService}</td>
		<td style="text-align:center;">${duration}</td>
	</tr>
</table>
<div id="price">
	<h3>Общая стоимость</h3>
	<table border="1" width="100%">
		<tr>
			$[if:showTariffCols]
				<th>$[if:workflowStatus_REFUND]Стоимость по билету$[if]$[ifnot:workflowStatus_REFUND]Тариф$[ifnot]<br/>(на человека)</th>
				<th>Сборы<br/>(на человека)</th>
			$[if]
			<th>Пассажиры</th>
			<th>Общая стоимость</th>
		</tr>
	$[repeat:passengersPriceInfos]
		$[if:count_ADULT]
            <tr>
                $[if:showTariffCols]
                    <td style="text-align:right;">${tariff_ADULT}</td>
                    <td style="text-align:right;">${fee_ADULT}</td>
                $[if]
                <td style="text-align:right;">Взрослых: ${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;">${fee_CHILD}</td>

				$[if]
				<td style="text-align:right;">Детей: ${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;">${fee_INFANT}</td>

				$[if]
				<td style="text-align:right;">Младенцев: ${count_INFANT} чел.</td>
				<td style="text-align:right;">${total_INFANT} ${currency}</td>
			</tr>
		$[if]
	$[repeat]
        <tr>
            <td $[if:showTariffCols]colspan="3"$[if] style="text-align:right;font-weight:bold;">Итого</td>
            <td style="text-align:right;">${total} ${currency}</td>
        </tr>
	</table>
</div>
<br/>
<br/>
$[repeat]
