<div class="passengers">
	$[repeat:passengers]
		<div class="passenger">Пассажир: Фамилия: <b>${lastName}</b> Имя: <b>${firstName}$[if:infantWithoutPlace] (infant without place)$[if]</b></div><br/>
	$[repeat]
</div>
$[repeat:segments]
<table border="1" width="100%">
	<tr>
		<th>Carrier</th>
		<th>Departure</th>
		<th>Arrival</th>
		<th>Train №</th>
		<th>Carrage №, Type</th>
		<th>Places</th>
		<th>Class</th>
		<th>Duration</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>Price info<</h3>
	<table border="1" width="100%">
	<tr>
	    $[if:showTariffCols]
    		<th>$[if:workflowStatus_REFUND]Ticket price$[if]$[ifnot:workflowStatus_REFUND]Fare$[ifnot]<br/>(per person)</th>
    				$[if:showFeeCol]
    					<th>Fees<br/>(per person)</th>
    				$[if]
    			$[if]
    			<th>Passengers</th>
    			<th>Total cost</th>
    		</tr>
    	$[repeat:passengersPriceInfos]
    		$[if:count_ADULT]
                <tr>
                    $[if:showTariffCols]
                        <td style="text-align:right;">${tariff_ADULT}</td>
                        $[if:showFeeCol]
                            <td style="text-align:right;">${fee_ADULT}</td>
                        $[if]
                    $[if]
                    <td style="text-align:right;">Adults: ${count_ADULT} person</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>
    					$[if:showFeeCol]
    						<td style="text-align:right;">${fee_CHILD}</td>
    					$[if]
    				$[if]
    				<td style="text-align:right;">Children: ${count_CHILD} person</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>
    					$[if:showFeeCol]
    						<td style="text-align:right;">${fee_INFANT}</td>
    					$[if]
    				$[if]
    				<td style="text-align:right;">Infants: ${count_INFANT} person</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]