  <div class="wrapper bg-white b-t" id="vis_filter_list" style="display:none;">
	  <form id="vis_contract_search_form" name="vis_contract_search_form" method="post">
            <label class="control-label"><b><?= $vis_language['TXTFILTERLIST']; ?></b></label>
            <div class="row">
              <div class="m-t m-b">
                <div class="form-group">
                    <label class="col-sm-1 control-label m-t-xs"><? echo $vis_language['TXTNAME']; ?></label>
                    <div class="col-sm-2">
                     <input type="text" class="form-control input-sm" id="vis_name" name="vis_name"  />
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-sm-1 control-label m-t-xs"><? echo $vis_language['TXTCONTRACTTYPE']; ?></label>
                    <div class="col-sm-2">
                     <select name="vis_contract_type" id="vis_contract_type" class="form-control input-sm selectpicker bg-white" <? if(count($contract_type_details) > 10) echo 'data-live-search="true"' ?>>
						 <option value=""><? echo $vis_language['TXTSELECT']; ?></option>
						 <?php for($i=0;$i<count($contract_type_details);$i++){ echo '<option value="'.$contract_type_details[$i]['contract_type_id'].'">'.$contract_type_details[$i]['name'].'</option>';}?>
					</select>
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-sm-1 control-label m-t-xs"><? echo $vis_language['TXTVENDOR']; ?></label>
                    <div class="col-sm-2">
                     <select name="vis_vendor" id="vis_vendor" class="form-control input-sm selectpicker bg-white" <? if(count($vendor_details) > 10) echo 'data-live-search="true"' ?>>
						 <option value=""><? echo $vis_language['TXTSELECT']; ?></option>
						 <?php for($i=0;$i<count($vendor_details);$i++){ echo '<option value="'.$vendor_details[$i]['vendor_id'].'">'.$vendor_details[$i]['name'].'</option>';}?>
					</select>
                    </div>
                </div>
				<div class="form-group">
                    <label class="col-sm-1 control-label m-t-xs"><? echo $vis_language['TXTEXPIRY']; ?></label>
                    <div class="col-sm-2">
					<input type="text" class="form-control input-sm from_date" data-type="text" data-required="true" name="vis_end_date" id="vis_end_date" >
                      
                    </div>
                </div>
              </div>
            </div>
            <div class="row">
                <div class="m-t m-b">
                    <div class="form-group">
                        <div class="col-sm-12">
                          <button type="button" id="btn_apply_filter" class="btn btn-primary pull-right" onclick="javascript:vis_apply_filter();"><?= $vis_language['TXTAPPLYFILTER'];?></button>
                          <button type="button" class="btn btn-default pull-right m-r-sm" onclick="$('#vis_contract_search_form').trigger('reset');$('.selectpicker').selectpicker('refresh');"><?= $vis_language['TXTCLEAR'];?></button>
                        </div>
                    </div>
                </div>
            </div>
        </form>
  </div>
<script type="application/javascript">
$('.from_date').datetimepicker({format: "MMM-D, YYYY"});
$("#vis_name").keypress(function (event) {
    var keycode = (event.keyCode ? event.keyCode : event.which);
    if(keycode == '13') {
	   event.preventDefault();
    }
});
</script>
