// Fix shop association with groups in BO #PSTEST-820
This commit is contained in:
@@ -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;
|
$this->fields_value['reduction'] = isset($group->reduction) ? $group->reduction : 0;
|
||||||
|
|
||||||
$helper = new Helper();
|
$helper = new Helper();
|
||||||
|
|||||||
Reference in New Issue
Block a user