// stocks : debug and optimisations

This commit is contained in:
dSevere
2011-10-25 16:31:26 +00:00
parent 1f0c69278f
commit 7c24222885
8 changed files with 63 additions and 86 deletions
@@ -83,27 +83,6 @@ class AdminGroupShopControllerCore extends AdminController
),
'p' => $this->l('Share customers between shops of this group')
),
array(
'type' => 'radio',
'label' => $this->l('Share stock:'),
'name' => 'share_stock',
'required' => true,
'class' => 't',
'is_bool' => true,
'values' => array(
array(
'id' => 'share_stock_on',
'value' => 1,
'label' => $this->l('Enabled')
),
array(
'id' => 'share_stock_off',
'value' => 0,
'label' => $this->l('Disabled')
)
),
'p' => $this->l('Share stock between shops of this group')
),
array(
'type' => 'radio',
'label' => $this->l('Share orders:'),
@@ -159,7 +138,6 @@ class AdminGroupShopControllerCore extends AdminController
if (Shop::getTotalShops() > 1 && $obj->id)
$disabled = array(
'share_customer' => true,
'share_stock' => true,
'share_order' => true,
'active' => false
);