Commit 5b20a8660b3b1391e3c21e8ccb3449846bcdc7e0
1 parent
d2f96f39
attr name for product inputs
Showing
1 changed file
with
1 additions
and
1 deletions
 
Show diff stats
src/app/backend/views/discount/addEdit.php
| ... | ... | @@ -220,7 +220,7 @@ | 
| 220 | 220 | var items = '<div><label><input style="display: inline-block" id="choose_all" type="checkbox">Выбрать все</label></div>'; | 
| 221 | 221 | |
| 222 | 222 | data.forEach(function(element){ | 
| 223 | - items += '<div><label><input style="display:inline-block" class="filter_item" type="checkbox" value="' | |
| 223 | + items += '<div><label><input style="display:inline-block" class="filter_item" name="items[]" type="checkbox" value="' | |
| 224 | 224 | + element.item_id + '">' + element.title + ' ' + element.size + ' ' + element.price2 + ' грн.' | 
| 225 | 225 | + '</label></div>'; | 
| 226 | 226 | }); | ... | ... | 
