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