diff --git a/smash/web/static/js/smash.js b/smash/web/static/js/smash.js index 6da68884c152b60a3e56823dc4e808d4b604e76c..c39d3e9844e647311d5dac0240c2b12e5484f3af 100644 --- a/smash/web/static/js/smash.js +++ b/smash/web/static/js/smash.js @@ -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>' +