From 122b2ebfa49df19bebdbe85a4cc3faf06a3a8250 Mon Sep 17 00:00:00 2001 From: rMalie Date: Fri, 24 Feb 2012 09:14:28 +0000 Subject: [PATCH] // Fix shop association with groups in BO #PSTEST-820 --- controllers/admin/AdminGroupsController.php | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/controllers/admin/AdminGroupsController.php b/controllers/admin/AdminGroupsController.php index edf96c7af..44c806d39 100644 --- a/controllers/admin/AdminGroupsController.php +++ b/controllers/admin/AdminGroupsController.php @@ -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();