Commit 8c1d2fae8527835b21aa682c6a6e1869e447128b

Authored by Alex Savenko
2 parents 57323b66 cb1fef5c

Merge branch 'discount' of gitlab.artweb.com.ua:Alex/semena

Showing 1 changed file with 2 additions and 2 deletions   Show diff stats
src/app/backend/controllers/DiscountController.php
@@ -170,9 +170,9 @@ class DiscountController extends Controller @@ -170,9 +170,9 @@ class DiscountController extends Controller
170 $data[0]['end_date'] = $this->request->getPost('end_date'); 170 $data[0]['end_date'] = $this->request->getPost('end_date');
171 $data[0]['description'] = $this->request->getPost('description'); 171 $data[0]['description'] = $this->request->getPost('description');
172 172
173 - //$data['catalog_ids'] = $this->request->getPost('catalog', 'string', NULL ); 173 + $data['catalog_ids'] = $this->request->getPost('catalog', 'string', NULL );
174 $data['group_ids'] = $this->request->getPost('items', 'string', NULL ); 174 $data['group_ids'] = $this->request->getPost('items', 'string', NULL );
175 - //$data['all_items'] = $this->request->getPost('all_items', 'int', NULL); 175 + $data['all_items'] = $this->request->getPost('all_items', 'int', NULL);
176 176
177 if ($data[0]['discount'] > 100) { 177 if ($data[0]['discount'] > 100) {
178 178