// Fix shop association with groups in BO #PSTEST-820

This commit is contained in:
rMalie
2012-02-24 09:14:28 +00:00
parent 69c7c92a52
commit 122b2ebfa4
@@ -249,6 +249,15 @@ class AdminGroupsControllerCore extends AdminController
)
);
if (Shop::isFeatureActive())
{
$this->fields_form['input'][] = array(
'type' => 'group_shop',
'label' => $this->l('Group Shop association:'),
'name' => 'checkBoxShopAsso',
);
}
$this->fields_value['reduction'] = isset($group->reduction) ? $group->reduction : 0;
$helper = new Helper();