<?php

AImporter::helper('math');
$trips = $displayData->trips;
//debug($trips);
$type = $displayData->cart->filter['type'];
$cart = $displayData->cart;
$total_pass = $cart->filter['adult'] + $cart->filter['child'];
$trips['depart']->pickup = $cart->start_time;
$trips['depart']->dropoff = TransportHelper::Timeadd($cart->start_time, $trips['depart']->duration);
$trips['depart']->flight_time = $cart->flight_time;
$trips['depart']->flight_number = $cart->flight_number;
if ($cart->filter['roundtrip']) {
    $trips['return']->pickup = $cart->return_time;
    $trips['return']->dropoff = TransportHelper::Timeadd($cart->return_time, $trips['return']->duration);
    $trips['return']->flight_time = $cart->return_flight_time;
    $trips['return']->flight_number = $cart->return_flight_number;
}
?>
<h2 class="block_head">
	<span><?php 
echo JText::_('COM_BOOKPRO_TRANSPORT_BOOKING_DETAIL');
?>
 </span>
</h2>
<legend style="font-weight: bold;font-size:120%">
	<?php 
echo JText::_('COM_BOOKPRO_TRANSPORT_TYPE') . ': ' . TransportHelper::getTransprortType($type);
?>
</legend>