Skip to content
Snippets Groups Projects
Commit 0edbc003 authored by Piotr Gawron's avatar Piotr Gawron
Browse files

filtering by voucher status added

parent cc698788
No related branches found
No related tags found
1 merge request!138list of vouchers with possibility to filter and sort
......@@ -239,6 +239,15 @@ function createTable(params) {
$(this).html('<select style="width:60px" >' + options + '</select>');
});
$(tableElement).find('tfoot div[name="voucher_status_filter"]').each(function () {
$(this).html('<select style="width:60px" ><option value selected="selected">---</option>' +
'<option value="NEW">NEW</option>' +
'<option value="IN_USE">IN USE</option>' +
'<option value="USED">USED</option>' +
'<option value="EXPIRED">EXPIRED</option>' +
'</select>');
});
$(tableElement).find('tfoot div[name="visit_filter"]').each(function () {
$(this).html('<select style="width:60px" >' +
'<option value selected="selected">---</option>' +
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment