8 |
8 |
<td valign="top">
|
9 |
9 |
|
10 |
10 |
[%- IF var.type == 'bool' %]
|
11 |
|
<select name="cvar_[% HTML.escape(var.name) %]">
|
|
11 |
<select name="[% filter_prefix %]cvar_[% HTML.escape(var.name) %]">
|
12 |
12 |
<option value="">---</option>
|
13 |
13 |
<option value="yes">[% 'Yes' | $T8 %]</option>
|
14 |
14 |
<option value="no">[% 'No' | $T8 %]</option>
|
... | ... | |
16 |
16 |
|
17 |
17 |
[%- ELSIF var.type == 'date' %]
|
18 |
18 |
[% 'from (time)' | $T8 %]
|
19 |
|
<input name="cvar_[% HTML.escape(var.name) %]_from" id="cvar_[% HTML.escape(var.name) %]_from" size="12">
|
|
19 |
<input name="[% filter_prefix %]cvar_[% HTML.escape(var.name) %]_from" id="cvar_[% HTML.escape(var.name) %]_from" size="12">
|
20 |
20 |
<input type="button" name="cvar_[% HTML.escape(var.name) %]_from_button" id="cvar_[% HTML.escape(var.name) %]_from_trigger" value="?">
|
21 |
21 |
[% 'to (time)' | $T8 %]
|
22 |
|
<input name="cvar_[% HTML.escape(var.name) %]_to" id="cvar_[% HTML.escape(var.name) %]_to" size="12">
|
|
22 |
<input name="[% filter_prefix %]cvar_[% HTML.escape(var.name) %]_to" id="cvar_[% HTML.escape(var.name) %]_to" size="12">
|
23 |
23 |
<input type="button" name="cvar_[% HTML.escape(var.name) %]_to_button" id="cvar_[% HTML.escape(var.name) %]_to_trigger" value="?">
|
24 |
24 |
|
25 |
25 |
<script type="text/javascript">
|
... | ... | |
36 |
36 |
</script>
|
37 |
37 |
|
38 |
38 |
[%- ELSIF var.type == 'number' %]
|
39 |
|
<select name="cvar_[% HTML.escape(var.name) %]_qtyop">
|
|
39 |
<select name="[% filter_prefix %]cvar_[% HTML.escape(var.name) %]_qtyop">
|
40 |
40 |
<option selected>==</option>
|
41 |
41 |
<option>=/=</option>
|
42 |
42 |
<option>></option>
|
... | ... | |
47 |
47 |
<input name="cvar_[% HTML.escape(var.name) %]"[% IF var.maxlength %]maxlength="[% HTML.escape(var.maxlength) %]"[% END %]>
|
48 |
48 |
|
49 |
49 |
[%- ELSIF var.type == 'customer' %]
|
50 |
|
<input name="cvar_[% var.name | html %]">
|
|
50 |
<input name="[% filter_prefix %]cvar_[% var.name | html %]">
|
51 |
51 |
|
52 |
52 |
[% ELSIF var.type == 'select' %]
|
53 |
|
<select name="cvar_[% HTML.escape(var.name) %]">
|
|
53 |
<select name="[% filter_prefix %]cvar_[% HTML.escape(var.name) %]">
|
54 |
54 |
<option value="" selected>---</option>
|
55 |
55 |
[%- FOREACH option = var.OPTIONS %]
|
56 |
56 |
<option>[% HTML.escape(option.value) %]</option>
|
... | ... | |
58 |
58 |
</select>
|
59 |
59 |
|
60 |
60 |
[%- ELSE %]
|
61 |
|
<input name="cvar_[% HTML.escape(var.name) %]"[% IF var.maxlength %]maxlength="[% HTML.escape(var.maxlength) %]"[% END %]>
|
|
61 |
<input name="[% filter_prefix %]cvar_[% HTML.escape(var.name) %]"[% IF var.maxlength %]maxlength="[% HTML.escape(var.maxlength) %]"[% END %]>
|
62 |
62 |
|
63 |
63 |
[%- END %]
|
64 |
64 |
</td>
|
filter_prefix für CVar->render_search_options