Revision ad5f1dc8
Von Moritz Bunkus vor fast 8 Jahren hinzugefügt
templates/webpages/do/search.html | ||
---|---|---|
1 | 1 |
[%- USE T8 %] |
2 | 2 |
[%- USE L %] |
3 |
[%- USE HTML %][%- USE LxERP %] |
|
3 |
[%- USE HTML %][%- USE LxERP %][%- USE P -%]
|
|
4 | 4 |
<h1>[% title %]</h1> |
5 | 5 |
|
6 | 6 |
[%- IF vc == 'customer' %] |
... | ... | |
23 | 23 |
<table> |
24 | 24 |
<tr> |
25 | 25 |
<th align="right">[% IF is_customer %][% 'Customer' | $T8 %][% ELSE %][% 'Vendor' | $T8 %][% END %]</th> |
26 |
<td colspan="3"> |
|
27 |
[%- UNLESS SHOW_VC_DROP_DOWN %] |
|
28 |
<input type="text" name="[% HTML.escape(vc) %]" class="fixed_width initial_focus"> |
|
29 |
[%- ELSE %] |
|
30 |
<select name="[% vc %]" class="fixed_width initial_focus"> |
|
31 |
<option></option> |
|
32 |
[%- FOREACH row = ALL_VC %] |
|
33 |
<option>[% HTML.escape(row.name) %]--[% HTML.escape(row.id) %]</option> |
|
34 |
[%- END %] |
|
35 |
</select> |
|
36 |
<input type="hidden" name="select[% vc %]" value="1"> |
|
37 |
[%- END %] |
|
38 |
</td> |
|
26 |
<td colspan="3">[% P.input_tag(vc, "", class="fixed_width initial_focus") %]</td> |
|
39 | 27 |
</tr> |
40 | 28 |
|
41 | 29 |
<tr> |
Auch abrufbar als: Unified diff
Lieferscheinsuche: Kunden-/Lieferanten nicht mehr als Drop-Down