// Warehouse: shops are now correctly associated

This commit is contained in:
bMancone committed 2011-11-22 09:23:32 +00:00
1 parent ba22377316
commit c340b2d9df
1 file changed
+3 -1
@@ -259,12 +259,14 @@ class AdminWarehousesControllerCore extends AdminController
); );
// Shop Association
if (Shop::isFeatureActive()) if (Shop::isFeatureActive())
{ {
$this->fields_form['input'][] = array( $this->fields_form['input'][] = array(
'type' => 'shop', 'type' => 'shop',
'label' => $this->l('Shop association:'), 'label' => $this->l('Shops:'),
'name' => 'checkBoxShopAsso', 'name' => 'checkBoxShopAsso',
'desc' => 'Associated shops',
'values' => Shop::getTree() 'values' => Shop::getTree()
); );
} }