Commit 8c1d2fae8527835b21aa682c6a6e1869e447128b
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 | 170 | $data[0]['end_date'] = $this->request->getPost('end_date'); |
171 | 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 | 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 | 177 | if ($data[0]['discount'] > 100) { |
178 | 178 | ... | ... |