// 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,