<div class="passengers">
    <b>Passengers: </b> ${passengers}
</div>
<br/>
<table border="1" width="100%">
	<tr>
		<th>Departure</th>
		$[if:hasSubAddresses]
		    <th>Sub addresses</th>
		$[if]
		<th>Arrival</th>
		<th>Number of passengers</th>
		<th>Class of car</th>
	</tr>
    <tr>
		<td>${departAddress}</b><br/>${departDate} <b>${departTime}</b></td>
		$[if:hasSubAddresses]
		    <td>${subAddresses}</td>
		$[if]
		<td>${arriveAddress}<br/>${arriveDate} <b>${arriveTime}</b></td>
		<td style="text-align:center;width:15%">${passengersCount}</td>
		<td style="text-align:center;width:15%">${classOfCar}</td>
	</tr>
</table>
<div id="price">
	<h3>Price info</h3>
	$[if:showTariffCols]
        <table border="1" width="100%">
            <tr>
                <th>$[if:status_REFUND]Ticket price$[if]$[ifnot:status_REFUND]Fare$[ifnot]</th>
                <th>Fees</th>
                <th>Total cost</th>
            </tr>
            $[repeat:priceInfos]
            <tr>
                <td style="text-align:right;width:30%">${tariff}</td>
                <td style="text-align:right;width:30%">${fee}</td>
                <td style="text-align:right;">${total} ${currency}</td>
            </tr>
            $[repeat]
            <tr>
                <td colspan="2" style="text-align:right;font-weight:bold;">Total</td>
                <td style="text-align:right;width:40%">${total} ${currency}</td>
            </tr>
        </table>
	$[if]
	$[ifnot:showTariffCols]
        <table border="1" width="50%">
            $[repeat:priceInfos]
            <tr>
                <td style="text-align:right;">${total} ${currency}</td>
            </tr>
            $[repeat]
            <tr>
                <td style="text-align:right;"> <b>Total: </b> ${total} ${currency}</td>
            </tr>
        </table>
	$[ifnot]
</div>
<br/>
<br/>