// I'm not sure as I've never had a look at how that works before ;)

This commit is contained in:
Kevin Granger
2013-07-31 21:17:03 +02:00
parent 50bdfb9a1a
commit e4878ba393
26 changed files with 769 additions and 648 deletions
+3 -7
View File
@@ -28,6 +28,7 @@ class AdminCartsControllerCore extends AdminController
{
public function __construct()
{
$this->bootstrap = true;
$this->table = 'cart';
$this->className = 'Cart';
$this->lang = false;
@@ -47,12 +48,11 @@ class AdminCartsControllerCore extends AdminController
$this->fields_list = array(
'id_cart' => array(
'title' => $this->l('ID'),
'align' => 'center',
'width' => 25
'align' => 'center'
),
'id_order' => array(
'title' => $this->l('Order ID'),
'align' => 'center', 'width' => 25
'align' => 'center'
),
'customer' => array(
'title' => $this->l('Customer'),
@@ -64,28 +64,24 @@ class AdminCartsControllerCore extends AdminController
'callback' => 'getOrderTotalUsingTaxCalculationMethod',
'orderby' => false,
'search' => false,
'width' => 80,
'align' => 'right',
'prefix' => '<b>',
'suffix' => '</b>',
),
'carrier' => array(
'title' => $this->l('Carrier'),
'width' => 50,
'align' => 'center',
'callback' => 'replaceZeroByShopName',
'filter_key' => 'ca!name'
),
'date_add' => array(
'title' => $this->l('Date'),
'width' => 150,
'align' => 'right',
'type' => 'datetime',
'filter_key' => 'a!date_add'
),
'id_guest' => array(
'title' => $this->l('Online'),
'width' => 40,
'align' => 'center',
'type' => 'bool',
'havingFilter' => true,
@@ -3299,8 +3299,7 @@ class AdminProductsControllerCore extends AdminController
$specific_price_priorities = array_values($specific_price_priorities);
$content .= '
<hr/>
<legend>'.$this->l('Priority management').'</legend>
<h3>'.$this->l('Priority management').'</h3>
<div class="alert alert-info">
'.$this->l('Sometimes one customer can fit into multiple price rules. Priorities allow you to define which rule applies to the customer.').'
</div>';
@@ -108,9 +108,7 @@ class AdminTrackingControllerCore extends AdminController
AND a.`id_category` != '.(int)Category::getTopCategory()->id;
$this->tpl_list_vars = array('sub_title' => $this->l('List of empty categories:'));
return $this->renderList();
}