<th align="right">[% 'Quantity' | $T8 %]</th>
<td>[% L.input_tag('filter.qty:number', filter.qty_number, size = 20) %]</td>
</tr>
-[% IF vc == 'customer' %]
+[% IF SELF.vc == 'customer' %]
<tr>
<th align="right">[% 'Customer' | $T8 %]</th>
<td>[% L.input_tag('filter.order.customer.name:substr::ilike', filter.order.customer.name_substr__ilike, size = 20) %]</td>
[% L.input_tag('action_list', LxERP.t8('Continue'), type = 'submit', class='submit')%]
-<a href='#' onClick='javascript:$("#filter_table input").val("");$("#filter_table input[type=checkbox]").prop("checked", 0);'>[% 'Reset' | $T8 %]</a>
+<a href='#' onClick='javascript:$("#filter_table input").val("");$("#filter_table input[type=checkbox]").prop("checked", 0);$("#filter_table select").prop("selectedIndex", 0);'>[% 'Reset' | $T8 %]</a>
</div>