<?php
/**
 * JE GroupBuy package
 * @author J-Extension <contact@jextn.com>
 * @link http://www.jextn.com
 * @copyright (C) 2011 - 2012 J-Extension
 * @license GNU/GPL, see LICENSE.php for full license.
**/

// No direct access to this file
defined('_JEXEC') or die('Restricted Access');
$listOrder	= $this->state->get('list.ordering');
$listDirn	= $this->state->get('list.direction');
$canOrder	= $this->user->authorise('core.edit.published', 'com_jegroupbuy.orders');
$saveOrder	= $listOrder == 'or.ordering';
?>
<tr>
     <th width="20" class="hidden-phone">
    	<input type="checkbox" name="checkall-toggle" value="" title="<?php echo JText::_('JGLOBAL_CHECK_ALL'); ?>" onclick="Joomla.checkAll(this)" />
    </th>
	<th align="left" style="text-align:left;" class="nowrap center hidden-phone" >
		<?php echo JHtml::_('grid.sort',  'JE_PRODUCT_NAME', 'title', $listDirn, $listOrder); ?>
	</th>
	<th width="10%" class="nowrap center hidden-phone">
		<?php echo JHtml::_('grid.sort', 'JE_SHOP_NAME', 'shopname', $listDirn, $listOrder); ?>
	</th>
	<th width="10%" class="nowrap center hidden-phone">
		<?php echo JHtml::_('grid.sort', 'JE_QUANTITY', 'quantity', $listDirn, $listOrder); ?>
	</th>
	<th width="10%" class="nowrap center hidden-phone">
		<?php echo JHtml::_('grid.sort', 'JE_PAYMENT_TYPE', 'ord.method', $listDirn, $listOrder); ?>
	</th>
	<th width="10%" class="nowrap center hidden-phone">
		<?php echo JHtml::_('grid.sort', 'JE_TRANSACTION_ID', 'ord.transaction_id', $listDirn, $listOrder); ?>
	</th>
	<th width="5%" class="nowrap center hidden-phone">
		<?php echo JHtml::_('grid.sort', 'JPUBLISHED', 'ord.status', $listDirn, $listOrder); ?>
	</th>
	<th width="5%" class="nowrap center hidden-phone">
		<?php echo JHtml::_('grid.sort', 'JE_USER_ID', 'ord.user_id', $listDirn, $listOrder); ?>
	</th>
	<th width="10%" style="color:#0088CC;" class="nowrap center hidden-phone">
		<?php echo JText::_('JE_SEND'); ?>
	</th>
</tr>
