Revision d25334c6
Von Hans Peter Schlaepfer vor mehr als 6 Jahren hinzugefügt
templates/webpages/ap/search.html | ||
---|---|---|
1 |
[%- USE T8 %] |
|
2 |
[%- USE L %][%- USE P -%] |
|
3 |
[% SET style="width: 250px" %] |
|
1 |
[% USE T8 %] |
|
2 |
[% USE L %] |
|
3 |
[% USE P %] |
|
4 |
|
|
4 | 5 |
<h1>[% title %]</h1> |
5 | 6 |
|
6 |
<form method="post" name="search" action="ap.pl" id="form"> |
|
7 |
<form method="post" name="search" action="ap.pl" id="form"> |
|
8 |
|
|
9 |
<div class="wrapper"> |
|
10 |
|
|
11 |
|
|
12 |
<table class="tbl-horizontal"> |
|
13 |
<caption>[% 'Vendor & Order' | $T8 %]</caption> |
|
14 |
<colgroup> <col class="wi-small"><col class="wi-wide"> </colgroup> |
|
15 |
<tbody> |
|
16 |
<tr> |
|
17 |
<th>[% 'Vendor' | $T8 %]</th> |
|
18 |
<td>[% L.input_tag("vendor", vendor, style=style, class="initial_focus wi-normal") %]</td> |
|
19 |
</tr> |
|
20 |
<tr> |
|
21 |
<th>[% 'Contact Person' | $T8 %]</th> |
|
22 |
<td>[% L.input_tag("cp_name", '', class="wi-normal") %]</td> |
|
23 |
</tr> |
|
24 |
<tr> |
|
25 |
<th>[% 'Department' | $T8 %]</th> |
|
26 |
<td>[% L.select_tag('department_id', ALL_DEPARTMENTS, title_key = 'description', with_empty = 1, class="wi-normal") %]</td> |
|
27 |
</tr> |
|
28 |
<tr> |
|
29 |
<th>[% 'Part Description' | $T8 %]</th> |
|
30 |
<td>[% L.input_tag("parts_description", "", class="wi-normal") %]</td> |
|
31 |
</tr> |
|
32 |
<tr> |
|
33 |
<th>[% 'Notes' | $T8 %]</th> |
|
34 |
<td>[% L.input_tag("notes", "", class="wi-normal") %]</td> |
|
35 |
</tr> |
|
36 |
</tbody> |
|
37 |
</table> |
|
7 | 38 |
|
8 |
<table width=100%> |
|
9 |
<tr> |
|
10 |
<td> |
|
11 |
<table> |
|
12 |
<tr> |
|
13 |
<th align=right>[% 'Vendor' | $T8 %]</th> |
|
14 |
<td>[% L.input_tag("vendor", vendor, style=style, class="initial_focus") %]</td> |
|
15 |
</tr> |
|
39 |
<table class="tbl-horizontal"> |
|
40 |
<caption>[% 'Dates & Numbers' | $T8 %]</caption> |
|
41 |
<colgroup> <col class="wi-small"><col class="wi-wide"> </colgroup> |
|
42 |
<tbody> |
|
16 | 43 |
<tr> |
17 |
<th align="right" nowrap>[% 'Contact Person' | $T8 %]</th>
|
|
18 |
<td>[% L.input_tag("cp_name", '', style=style) %]</td>
|
|
44 |
<th>[% 'Invoice Date' | $T8 %]</th>
|
|
45 |
<td><span class="wi-date">[% L.date_tag('transdatefrom') %] [% 'Bis' | $T8 %] [% L.date_tag('transdateto') %] </span></td>
|
|
19 | 46 |
</tr> |
20 |
<tr> |
|
21 |
<th align=right nowrap>[% 'Department' | $T8 %]</th> |
|
22 |
<td>[% L.select_tag('department_id', ALL_DEPARTMENTS, title_key = 'description', with_empty = 1, style=style) %]</td> |
|
23 |
</tr> |
|
24 |
<tr> |
|
25 |
<th align=right nowrap>[% 'Invoice Number' | $T8 %]</th> |
|
26 |
<td>[% L.input_tag("invnumber", "", style=style) %]</td> |
|
27 |
</tr> |
|
28 |
<tr> |
|
29 |
<th align=right nowrap>[% 'Order Number' | $T8 %]</th> |
|
30 |
<td>[% L.input_tag("ordnumber", "", style=style) %]</td> |
|
31 |
</tr> |
|
32 |
<tr> |
|
33 |
<th align=right nowrap>[% 'Notes' | $T8 %]</th> |
|
34 |
<td>[% L.input_tag("notes", "", style=style) %]</td> |
|
35 |
<th align="right">[% 'Part Description' | $T8 %]</th> |
|
36 |
<td>[% L.input_tag("parts_description", "", style=style) %]</td> |
|
37 |
</tr> |
|
38 |
<tr> |
|
39 |
<th align="right">[% 'Project Number' | $T8 %]</th> |
|
40 |
<td>[% P.project_picker("project_id", project_id, style=style) %]</td> |
|
41 |
<th align="right">[% 'Part Number' | $T8 %]</th> |
|
42 |
<td>[% L.input_tag("parts_partnumber", "", style=style) %]</td> |
|
43 |
</tr> |
|
44 |
<tr> |
|
45 |
<th align=right nowrap>[% 'Invoice Date' | $T8 %]</th> |
|
46 |
<td> |
|
47 |
[% L.date_tag('transdatefrom') %] |
|
48 |
[% 'Bis' | $T8 %] |
|
49 |
[% L.date_tag('transdateto') %] |
|
50 |
</td> |
|
47 |
<tr> |
|
48 |
<th>[% 'Invoice Number' | $T8 %]</th> |
|
49 |
<td>[% L.input_tag("invnumber", "", class="wi-small") %]</td> |
|
51 | 50 |
</tr> |
52 |
<input type=hidden name=sort value=transdate>
|
|
53 |
</table>
|
|
54 |
</td> |
|
51 |
<tr>
|
|
52 |
<th>[% 'Order Number' | $T8 %]</th>
|
|
53 |
<td>[% L.input_tag("ordnumber", "", class="wi-small") %]</td>
|
|
55 | 54 |
</tr> |
56 | 55 |
<tr> |
57 |
<td> |
|
58 |
<table> |
|
59 |
<tr> |
|
60 |
<th align=right nowrap>[% 'Include in Report' | $T8 %]</th> |
|
61 |
<td> |
|
62 |
<table width=100%> |
|
63 |
<tr> |
|
64 |
<td align=right><input name=open class=checkbox type=checkbox value=Y checked></td> |
|
65 |
<td nowrap>[% 'Open' | $T8 %]</td> |
|
66 |
<td align=right><input name=closed class=checkbox type=checkbox value=Y></td> |
|
67 |
<td nowrap>[% 'Closed' | $T8 %]</td> |
|
68 |
</tr> |
|
69 |
<tr> |
|
70 |
<td align=right><input name="l_id" class=checkbox type=checkbox value=Y></td> |
|
71 |
<td nowrap>[% 'ID' | $T8 %]</td> |
|
72 |
<td align=right><input name="l_invnumber" class=checkbox type=checkbox value=Y checked></td> |
|
73 |
<td nowrap>[% 'Invoice Number' | $T8 %]</td> |
|
74 |
<td align=right><input name="l_ordnumber" class=checkbox type=checkbox value=Y></td> |
|
75 |
<td nowrap>[% 'Order Number' | $T8 %]</td> |
|
76 |
</tr> |
|
77 |
<tr> |
|
78 |
<td align=right><input name="l_name" class=checkbox type=checkbox value=Y checked></td> |
|
79 |
<td nowrap>[% 'Vendor' | $T8 %]</td> |
|
80 |
<td align=right><input name="l_transdate" class=checkbox type=checkbox value=Y checked></td> |
|
81 |
<td nowrap>[% 'Invoice Date' | $T8 %]</td> |
|
82 |
<td align=right><input name="l_netamount" class=checkbox type=checkbox value=Y></td> |
|
83 |
<td nowrap>[% 'Amount' | $T8 %]</td> |
|
84 |
</tr> |
|
85 |
<tr> |
|
86 |
<td align=right><input name="l_tax" class=checkbox type=checkbox value=Y></td> |
|
87 |
<td nowrap>[% 'Tax' | $T8 %]</td> |
|
88 |
<td align=right><input name="l_amount" class=checkbox type=checkbox value=Y checked></td> |
|
89 |
<td nowrap>[% 'Total' | $T8 %]</td> |
|
90 |
<td align=right><input name="l_datepaid" class=checkbox type=checkbox value=Y></td> |
|
91 |
<td nowrap>[% 'Date Paid' | $T8 %]</td> |
|
92 |
</tr> |
|
93 |
<tr> |
|
94 |
<td align=right><input name="l_paid" class=checkbox type=checkbox value=Y checked></td> |
|
95 |
<td nowrap>[% 'Paid' | $T8 %]</td> |
|
96 |
<td align=right><input name="l_duedate" class=checkbox type=checkbox value=Y></td> |
|
97 |
<td nowrap>[% 'Due Date' | $T8 %]</td> |
|
98 |
<td align=right><input name="l_due" class=checkbox type=checkbox value=Y></td> |
|
99 |
<td nowrap>[% 'Amount Due' | $T8 %]</td> |
|
100 |
</tr> |
|
101 |
<tr> |
|
102 |
<td align=right><input name="l_notes" class=checkbox type=checkbox value=Y></td> |
|
103 |
<td nowrap>[% 'Notes' | $T8 %]</td> |
|
104 |
<td align=right><input name="l_employee" class=checkbox type=checkbox value=Y></td> |
|
105 |
<td nowrap>[% 'Employee' | $T8 %]</td> |
|
106 |
</tr> |
|
107 |
<tr> |
|
108 |
<td align=right><input name="l_subtotal" class=checkbox type=checkbox value=Y></td> |
|
109 |
<td nowrap>[% 'Subtotal' | $T8 %]</td> |
|
110 |
<td align=right><input name="l_globalprojectnumber" class=checkbox type=checkbox value=Y></td> |
|
111 |
<td nowrap>[% 'Document Project Number' | $T8 %]</td> |
|
112 |
</tr> |
|
113 |
<tr> |
|
114 |
<td align=right><input name="l_taxzone" class=checkbox type=checkbox value=Y></td> |
|
115 |
<td nowrap>[% 'Steuersatz' | $T8 %]</td> |
|
116 |
<td align=right><input name="l_payment_terms" class=checkbox type=checkbox value=Y></td> |
|
117 |
<td nowrap>[% 'Payment Terms' | $T8 %]</td> |
|
118 |
<td align=right><input name="l_charts" class=checkbox type=checkbox value=Y></td> |
|
119 |
<td nowrap>[% 'Chart' | $T8 %]</td> |
|
120 |
<td align=right><input name="l_direct_debit" id="l_direct_debit" class=checkbox type=checkbox value=Y></td> |
|
121 |
<td nowrap>[% 'direct debit' | $T8 %]</td> |
|
122 |
</tr> |
|
123 |
<tr> |
|
124 |
<td colspan=4 align=left><b>[% 'Vendor' | $T8 %] </td> |
|
125 |
</tr> |
|
126 |
<tr> |
|
127 |
<td align=right><input name="l_vendornumber" class=checkbox type=checkbox value=Y></td> |
|
128 |
<td nowrap>[% 'Vendor Number' | $T8 %]</td> |
|
129 |
<td align=right><input name="l_country" class=checkbox type=checkbox value=Y></td> |
|
130 |
<td nowrap>[% 'Country' | $T8 %]</td> |
|
131 |
<td align=right><input name="l_ustid" class=checkbox type=checkbox value=Y></td> |
|
132 |
<td nowrap>[% 'USt-IdNr.' | $T8 %]</td> |
|
133 |
</tr> |
|
134 |
</table> |
|
135 |
</td> |
|
136 |
</tr> |
|
137 |
</table> |
|
138 |
</td> |
|
56 |
<th>[% 'Part Number' | $T8 %]</th> |
|
57 |
<td>[% L.input_tag("parts_partnumber", "", class="wi-small") %]</td> |
|
139 | 58 |
</tr> |
140 |
</table> |
|
141 |
</form> |
|
59 |
<tr> |
|
60 |
<th>[% 'Project Number' | $T8 %]</th> |
|
61 |
<td>[% P.project_picker("project_id", project_id, class="wi-small") %]</td> |
|
62 |
</tr> |
|
63 |
</tbody> |
|
64 |
</table> |
|
65 |
|
|
66 |
<input type="hidden" name="sort" value="transdate"> |
|
67 |
|
|
68 |
|
|
69 |
</div><!-- /.wrapper --> |
|
70 |
<div class="form-addition"> |
|
71 |
|
|
72 |
|
|
73 |
<h3>[% 'Include in Report' | $T8 %]</h3> |
|
74 |
|
|
75 |
<div class="list col"> |
|
76 |
<h4>[% 'Status' | $T8 %]</h4> |
|
77 |
<div> |
|
78 |
<input name="open" type="checkbox" value="Y" checked> |
|
79 |
[% 'Open' | $T8 %] |
|
80 |
</div> |
|
81 |
<div> |
|
82 |
<input name="closed" type="checkbox" value="Y"> |
|
83 |
[% 'Closed' | $T8 %] |
|
84 |
</div> |
|
85 |
<div> |
|
86 |
<input name="l_paid" type="checkbox" value="Y" checked> |
|
87 |
[% 'Paid' | $T8 %] |
|
88 |
</div> |
|
89 |
<div> |
|
90 |
<input name="l_due" type="checkbox" value="Y"> |
|
91 |
[% 'Amount Due' | $T8 %] |
|
92 |
</div> |
|
93 |
</div> |
|
94 |
|
|
95 |
<div class="list col"> |
|
96 |
<h4>[% 'Dates' | $T8 %]</h4> |
|
97 |
<div> |
|
98 |
<input name="l_transdate" type="checkbox" value="Y" checked> |
|
99 |
[% 'Invoice Date' | $T8 %] |
|
100 |
</div> |
|
101 |
<div> |
|
102 |
<input name="l_datepaid" type="checkbox" value="Y"> |
|
103 |
[% 'Date Paid' | $T8 %] |
|
104 |
</div> |
|
105 |
<div> |
|
106 |
<input name="l_duedate" type="checkbox" value="Y"> |
|
107 |
[% 'Due Date' | $T8 %] |
|
108 |
</div> |
|
109 |
</div> |
|
110 |
|
|
111 |
<div class="list col"> |
|
112 |
<h4>[% 'ID\'s & Numbers' | $T8 %]</h4> |
|
113 |
<div> |
|
114 |
<input name="l_id" type="checkbox" value="Y"> |
|
115 |
[% 'ID' | $T8 %] |
|
116 |
</div> |
|
117 |
<div> |
|
118 |
<input name="l_invnumber" type="checkbox" value="Y" checked> |
|
119 |
[% 'Invoice Number' | $T8 %] |
|
120 |
</div> |
|
121 |
<div> |
|
122 |
<input name="l_ordnumber" type="checkbox" value="Y"> |
|
123 |
[% 'Order Number' | $T8 %] |
|
124 |
</div> |
|
125 |
<div> |
|
126 |
<input name="l_vendornumber" type="checkbox" value="Y"> |
|
127 |
[% 'Vendor Number' | $T8 %] |
|
128 |
</div> |
|
129 |
<div> |
|
130 |
<input name="l_globalprojectnumber" type="checkbox" value="Y"> |
|
131 |
[% 'Document Project Number' | $T8 %] |
|
132 |
</div> |
|
133 |
</div> |
|
134 |
|
|
135 |
<div class="list col"> |
|
136 |
<h4>[% 'Amounts' | $T8 %]</h4> |
|
137 |
<div> |
|
138 |
<input name="l_netamount" type="checkbox" value="Y"> |
|
139 |
[% 'Amount' | $T8 %] |
|
140 |
</div> |
|
141 |
<div> |
|
142 |
<input name="l_tax" type="checkbox" value="Y"> |
|
143 |
[% 'Tax' | $T8 %] |
|
144 |
</div> |
|
145 |
<div> |
|
146 |
<input name="l_amount" type="checkbox" value="Y" checked> |
|
147 |
[% 'Total' | $T8 %] |
|
148 |
</div> |
|
149 |
<div> |
|
150 |
<input name="l_subtotal" type="checkbox" value="Y"> |
|
151 |
[% 'Subtotal' | $T8 %] |
|
152 |
</div> |
|
153 |
</div> |
|
154 |
|
|
155 |
<div class="list col"> |
|
156 |
<h4>[% 'Handling' | $T8 %]</h4> |
|
157 |
<div> |
|
158 |
<input name="l_employee" type="checkbox" value="Y"> |
|
159 |
[% 'Employee' | $T8 %] |
|
160 |
</div> |
|
161 |
<div> |
|
162 |
<input name="l_charts" type="checkbox" value="Y"> |
|
163 |
[% 'Chart' | $T8 %] |
|
164 |
</div> |
|
165 |
</div> |
|
166 |
|
|
167 |
<div class="list col"> |
|
168 |
<h4>[% 'Order' | $T8 %]</h4> |
|
169 |
<div> |
|
170 |
<input name="l_notes" type="checkbox" value="Y"> |
|
171 |
[% 'Notes' | $T8 %] |
|
172 |
</div> |
|
173 |
<div> |
|
174 |
<input name="l_taxzone" type="checkbox" value="Y"> |
|
175 |
[% 'Steuersatz' | $T8 %] |
|
176 |
</div> |
|
177 |
<div> |
|
178 |
<input name="l_payment_terms" type="checkbox" value="Y"> |
|
179 |
[% 'Payment Terms' | $T8 %] |
|
180 |
</div> |
|
181 |
<div> |
|
182 |
<input name="l_direct_debit" id="l_direct_debit" type="checkbox" value="Y"> |
|
183 |
[% 'direct debit' | $T8 %] |
|
184 |
</div> |
|
185 |
</div> |
|
186 |
|
|
187 |
<div class="list col"> |
|
188 |
<h4>[% 'Vendor' | $T8 %]</h4> |
|
189 |
<div> |
|
190 |
<input name="l_name" type="checkbox" value="Y" checked> |
|
191 |
[% 'Vendor' | $T8 %] |
|
192 |
</div> |
|
193 |
<div> |
|
194 |
<input name="l_country" type="checkbox" value="Y"> |
|
195 |
[% 'Country' | $T8 %] |
|
196 |
</div> |
|
197 |
<div> |
|
198 |
<input name="l_ustid" type="checkbox" value="Y"> |
|
199 |
[% 'USt-IdNr.' | $T8 %] |
|
200 |
</div> |
|
201 |
</div> |
|
202 |
|
|
203 |
|
|
204 |
</div><!-- /.form-addition --> |
|
205 |
|
|
206 |
|
|
207 |
|
|
208 |
</form> |
Auch abrufbar als: Unified diff
Aenderungen hpschlaepfer