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

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@13585 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
rMalie
2012-02-24 09:14:28 +00:00
parent 47be39894f
commit 6d87094802
@@ -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();