Exemplo n.º 1
0
 * @copyright 	Copyright (C) 2011 - 2012 Ngo Van Quan
 * @license 	GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
 * @version 	$Id$
 **/
defined('_JEXEC') or die('Direct Access to this location is not allowed.');
$items = $this->items;
$listOrder = $this->escape($this->state->get('list.ordering'));
$listDirn = $this->escape($this->state->get('list.direction'));
$search_type = $this->state->get('filter.search_type');
$search_key = $this->state->get('filter.search');
$isPassengerSearch = !empty($search_key) && $search_type == 'passenger';
JHTML::_('behavior.modal');
JHtml::_('jquery.framework');
JHtml::_('formbehavior.chosen', '.select-2');
$show = $this->state->get('filter.station_id') || $this->state->get('filter.airport_id') || $this->state->get('filter.group_id') == 0;
JsHelper::advanceSearchBox('#advance_search', '#advance_search_desc', $show);
$document = JFactory::getDocument();
$document->addScript(JURI::root() . 'components/com_bookpro/assets/js/bootstrap-datepicker.js');
$document->addScript(JURI::root() . 'components/com_bookpro/assets/js/locales/bootstrap-datepicker.' . substr($lang->getTag(), 0, 2) . '.js');
$document->addStyleSheet(JURI::root() . 'components/com_bookpro/assets/css/datepicker.css');
$fromDate = $this->state->get('filter.from_date');
$toDate = $this->state->get('filter.to_date');
$js_dateformat = DateHelper::getConvertDateFormat('J');
$php_dateformat = DateHelper::getConvertDateFormat('P');
//get authorise of agent
$manager_authorise = $this->authorise->order_manager;
?>


<!-- Calendar -->
<script type="text/javascript">