echo $this->dest_list[$item->destfrom]->title; ?> </td> <td><?php echo $this->dest_list[$item->destto]->title; ?> </td> <td><?php echo JFactory::getDate($item->start)->format($php_format); ?> </td> <td><?php echo DateHelper::formatHours($item->pickup); ?> </td> <td><?php echo $item->order_number; ?> </td> <td><?php echo TransportHelper::getTransprortType($item->transport_type); ?> </td> </tr> <?php } ?> </tbody> </table> <?php //die;
<?php // debug($displayData); $params = json_decode($displayData->orderinfo->params); ?> <div> <legend style="font-weight: bold;font-size:120%"> <?php echo JText::_('COM_BOOKPRO_TRANSPORT_TYPE') . ': ' . TransportHelper::getTransprortType($displayData->orderinfo[0]->transport_type); ?> </legend> <table class="table" > <tr> <?php foreach ($displayData->orderinfo as $orderinfo) { $params = json_decode($orderinfo->params); ?> <td width="50%" style="border:none;"> <table> <tr> <td colspan="2" style="border:none;"><div style="width:100%;margin:0;text-align:left"><strong><?php echo JText::sprintf('COM_BOOKPRO_TRANSPORT_DEPART_ON_TXT', JFactory::getDate($orderinfo->start)->format('l, F j Y')); ?> </strong></div></td> </tr> <tr> <td class="tdtitleorder"><?php echo JText::_('COM_BOOKPRO_PICKUP'); ?>
<?php AImporter::helper('math', 'airport'); $total_pass = $this->cart->filter['adult'] + $this->cart->filter['child']; $from = AirportHelper::getItem($this->cart->filter['destfrom']); $to = AirportHelper::getItem($this->cart->filter['destto']); ?> <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($this->cart->filter['type']); ?> </legend> <div class="row-fluid"><strong> <?php echo JText::_('COM_BOOKPRO_PASSENGERS') . ': ' . $this->cart->filter['adult']; if ($this->cart->filter['child'] > 0) { echo ', '; echo JText::sprintf('COM_BOOKPRO_CHILDREN_TXT', $this->cart->filter['child']); } if ($this->cart->filter['infant'] > 0) { echo ', '; echo JText::sprintf('COM_BOOKPRO_INFANT_TXT', $this->cart->filter['infant']); } ?>
defined('_JEXEC') or die('Restricted access'); JHtml::_('behavior.tooltip'); JHtml::_('behavior.formvalidation'); JHtml::_('formbehavior.chosen', 'select'); JHtml::_('behavior.keepalive'); $config = JComponentHelper::getParams('com_bookpro'); $date_format_m = DateHelper::getConvertDateFormat('M'); $params = json_decode($this->orderComplex->orderinfo[0]->params); //debug($this->transport); ?> <form action="<?php echo JRoute::_('index.php?option=com_bookpro&layout=edit&id=' . (int) $this->item->id); ?> " method="post" name="adminForm" id="adminForm" enctype="multipart/form-data"> <legend><?php echo JText::_('COM_BOOKPRO_TRANSPORT_TYPE') . ': ' . TransportHelper::getTransprortType($this->orderComplex->orderinfo[0]->transport_type); ?> </legend> <div class="row-fluid"> <div class="span6 form-horizontal"> <?php foreach ($this->orderComplex->orderinfo as $orderinfo) { ?> <legend><?php echo JFactory::getDate($orderinfo->start)->format(DateHelper::getConvertDateFormat()) . ' - ' . $orderinfo->trip->from->title . ' - ' . $orderinfo->trip->to->title; ?> </legend> <?php } ?>
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> <div class="row-fluid"><strong> <?php echo JText::_('COM_BOOKPRO_PASSENGERS') . ': ' . $cart->filter['adult']; if ($cart->filter['child'] > 0) { echo ', '; echo JText::sprintf('COM_BOOKPRO_CHILDREN_TXT', $cart->filter['child']); } if ($cart->filter['infant'] > 0) { echo ', '; echo JText::sprintf('COM_BOOKPRO_INFANT_TXT', $cart->filter['infant']); } ?>