<?php
/**
 * @version     1.4.5
 * @package     sellacious
 *
 * @copyright   Copyright (C) 2012-2017 Bhartiy Web Technologies. All rights reserved.
 * @license     SPL Sellacious Private License; see http://www.sellacious.com/spl.html
 * @author      Izhar Aazmi <info@bhartiy.com> - http://www.bhartiy.com
 */
// no direct access
defined('_JEXEC') or die;

$prefix    = 'COM_SELLACIOUS_ORDERS_HEADING';
$listOrder = $this->escape($this->state->get('list.ordering'));
$listDirn  = $this->escape($this->state->get('list.direction'));
?>
<tr role="row">
	<th class="nowrap hidden-phone" style="width:40px;">
		<?php echo JHtml::_('searchtools.sort', $prefix . '_ID', 'a.id', $listDirn, $listOrder); ?>
	</th>
	<th class="nowrap hidden-phone" style="width:40px;">
		<?php echo JHtml::_('searchtools.sort', $prefix . '_DATE', 'a.created', $listDirn, $listOrder); ?>
	</th>
	<th class="nowrap text-left">
		Customer Name
	</th>
	<th class="nowrap text-left">
		<?php echo JHtml::_('searchtools.sort', $prefix . '_ORDER_NUMBER', 'a.order_number', $listDirn, $listOrder); ?>
	</th>
	<th class="nowrap text-center" style="width:90px;">
		<?php echo JHtml::_('searchtools.sort', $prefix . '_STATUS', 'ss.title', $listDirn, $listOrder); ?>
	</th>
	<th class="nowrap text-center" style="width:90px;">
		<?php echo JHtml::_('searchtools.sort', $prefix . '_PAYMENT_METHOD', 'ss.title', $listDirn, $listOrder); ?>
	</th>
	<th class="nowrap text-center" style="width:90px;">
		<?php echo JHtml::_('searchtools.sort', $prefix . '_SHIPMENT_METHOD', 'a.shipping_rule', $listDirn, $listOrder); ?>
	</th>
	<th class="nowrap text-left" style="width:90px;">
		<?php echo JHtml::_('searchtools.sort', $prefix . '_COUPON_AMOUNT', 'cu.amount', $listDirn, $listOrder); ?>
	</th>
	<th class="nowrap text-right" style="width:90px;">
		<?php echo JHtml::_('searchtools.sort', $prefix . '_TAXES', 'a.cart_taxes', $listDirn, $listOrder); ?>
	</th>
	<th class="nowrap text-right" style="width:90px;">
		<?php echo JHtml::_('searchtools.sort', $prefix . '_DISCOUNTS', 'a.cart_discounts', $listDirn, $listOrder); ?>
	</th>
	<th class="nowrap text-right" style="width:90px;">
		<?php echo JHtml::_('searchtools.sort', $prefix . '_TOTAL', 'a.grand_total', $listDirn, $listOrder); ?>
	</th>
	<th style="width: 240px;" class="nowrap">
		Actions
	</th>
</tr>
