Revision cf9865dc
Von Moritz Bunkus vor fast 8 Jahren hinzugefügt
templates/webpages/ap/search.html | ||
---|---|---|
1 | 1 |
[%- USE T8 %] |
2 |
[%- USE L %] |
|
2 |
[%- USE L %][%- USE P -%]
|
|
3 | 3 |
<h1>[% title %]</h1> |
4 | 4 |
|
5 | 5 |
<form method=post name="search" action=[% script %]> |
... | ... | |
10 | 10 |
<table> |
11 | 11 |
<tr> |
12 | 12 |
<th align=right>[% 'Vendor' | $T8 %]</th> |
13 |
<td colspan=3> |
|
14 |
[%- INCLUDE 'generic/multibox.html' |
|
15 |
id = 'vendor', |
|
16 |
name = 'vendor', |
|
17 |
default = oldvendor, |
|
18 |
style = 'width: 250px', |
|
19 |
class = 'initial_focus', |
|
20 |
DATA = ALL_VC, |
|
21 |
id_sub = 'vc_keys', |
|
22 |
label_key = 'name', |
|
23 |
select = vc_select, |
|
24 |
limit = vclimit, |
|
25 |
show_empty = 1, |
|
26 |
allow_textbox = 1, |
|
27 |
-%] |
|
28 |
</td> |
|
13 |
<td colspan=3>[% L.input_tag("vendor", vendor, style="width: 250px", class="initial_focus") %]</td> |
|
29 | 14 |
</tr> |
30 | 15 |
<tr> |
31 | 16 |
<th align="right" nowrap>[% 'Contact Person' | $T8 %]</th> |
... | ... | |
51 | 36 |
</tr> |
52 | 37 |
<tr> |
53 | 38 |
<th align="right">[% 'Project Number' | $T8 %]</th> |
54 |
<td> |
|
55 |
[%- INCLUDE 'generic/multibox.html' |
|
56 |
name = 'project_id', |
|
57 |
style = "width: 250px", |
|
58 |
DATA = ALL_PROJECTS, |
|
59 |
id_key = 'id', |
|
60 |
label_key = 'projectnumber', |
|
61 |
limit = vclimit, |
|
62 |
show_empty = 1, |
|
63 |
allow_textbox = 0, |
|
64 |
-%] |
|
65 |
</td> |
|
39 |
<td colspan="3">[% P.project_picker("project_id", project_id, style="width: 250px") %]</td> |
|
66 | 40 |
<th align="right">[% 'Part Number' | $T8 %]</th> |
67 | 41 |
<td><input name="parts_partnumber" size="20"></td> |
68 | 42 |
</tr> |
Auch abrufbar als: Unified diff
Einkaufsrechnungssuche: keine Multibox mehr nutzen