]> wagnertech.de Git - mfinanz.git/blob - templates/design40_webpages/ap/search.html
date error in mapping
[mfinanz.git] / templates / design40_webpages / ap / search.html
1 [% USE T8 %]
2 [% USE L %]
3 [% USE P %]
4
5 <h1>[% title %]</h1>
6
7 <form method="post" name="search" action="ap.pl" id="form">
8  [% L.hidden_tag("sort", "transdate") %]
9
10
11 <div class="wrapper">
12
13 <table class="tbl-horizontal">
14   <caption>[% 'Vendor & Order' | $T8 %]</caption>
15   <colgroup> <col class="wi-small"><col class="wi-wide"> </colgroup>
16   <tbody>
17     <tr>
18       <th>[% 'Vendor' | $T8 %]</th>
19       <td>[% L.input_tag("vendor", vendor, class="initial_focus wi-normal") %]</td>
20     </tr>
21     <tr>
22       <th>[% 'Contact Person' | $T8 %]</th>
23       <td>[% L.input_tag("cp_name", '', class="wi-normal") %]</td>
24     </tr>
25     <tr>
26       <th>[% 'Department' | $T8 %]</th>
27       <td>[% L.select_tag('department_id', ALL_DEPARTMENTS, title_key = 'description', with_empty = 1, class="wi-normal") %]</td>
28     </tr>
29     <tr>
30       <th>[% 'Part Description' | $T8 %]</th>
31       <td>[% L.input_tag("parts_description", "", class="wi-normal") %]</td>
32     </tr>
33     <tr>
34       <th>[% 'Notes' | $T8 %]</th>
35       <td>[% L.input_tag("notes", "", class="wi-normal") %]</td>
36     </tr>
37     <tr>
38     <tr>
39       <th>[% 'Internal Notes' | $T8 %]</th>
40       <td>[% L.input_tag("intnotes", "", class="wi-normal") %]</td>
41     </tr>
42     <tr>
43       <th>[% 'Transaction description' | $T8 %]</th>
44       <td>[% L.input_tag("transaction_description", "", class="wi-normal") %]</td>
45     </tr>
46     <tr>
47       <th>[% 'Full Text' | $T8 %]</th>
48       <td>[% L.input_tag('fulltext', '', class="wi-lightwide") %]</td>
49     </tr>
50
51   </tbody>
52 </table>
53
54 <table class="tbl-horizontal">
55   <caption>[% 'Dates & Numbers' | $T8 %]</caption>
56   <colgroup> <col class="wi-small"><col class="wi-wide"> </colgroup>
57   <tbody>
58     <tr>
59       <th>[% 'Invoice Date' | $T8 %]</th>
60       <td><span class="wi-date">[% L.date_tag('transdatefrom') %] [% 'Bis' | $T8 %] [% L.date_tag('transdateto') %] </span></td>
61     </tr>
62     <tr>
63       <th>[% 'Due Date' | $T8 %]</th>
64       <td><span class="wi-date">[% L.date_tag('duedatefrom') %] [% 'Bis' | $T8 %] [% L.date_tag('duedateto') %] </span></td>
65     </tr>
66     <tr>
67       <th>[% 'Date Paid' | $T8 %]</th>
68       <td><span class="wi-date">[% L.date_tag('datepaidfrom') %] [% 'Bis' | $T8 %] [% L.date_tag('datepaidto') %]</span></td>
69     </tr>
70     <tr>
71       <th>[% 'Insert Date' | $T8 %]</th>
72       <td><span class="wi-date">[% L.date_tag('insertdatefrom') %] [% 'Bis' | $T8 %] [% L.date_tag('insertdateto') %] </span></td>
73     </tr>
74     <tr>
75       <th>[% 'Invoice Number' | $T8 %]</th>
76       <td>[% L.input_tag("invnumber", "", class="wi-normal") %]</td>
77     </tr>
78     <tr>
79       <th>[% 'Order Number' | $T8 %]</th>
80       <td>[% L.input_tag("ordnumber", "", class="wi-normal") %]</td>
81     </tr>
82     <tr>
83       <th>[% 'Part Number' | $T8 %]</th>
84       <td>[% L.input_tag("parts_partnumber", "", class="wi-normal") %]</td>
85     </tr>
86     <tr>
87       <th>[% 'Project Number' | $T8 %]</th>
88       <td>[% P.project.picker("project_id", project_id, active="both", valid="both", class="wi-normal") %]</td>
89     </tr>
90     <tr>
91       <th>[% 'Steuersatz' | $T8 %]</th>
92       <td>[% L.select_tag('taxzone_id', ALL_TAXZONES, with_empty=1, title_key='description', class="wi-normal") %]</td>
93     </tr>
94     <tr>
95       <th>[% 'Payment Term' | $T8 %]</th>
96       <td>[% L.select_tag('payment_id', ALL_PAYMENT_TERMS, with_empty=1, title_key='description', class="wi-normal") %]</td>
97     </tr>
98   </tbody>
99 </table>
100
101 <table class="tbl-horizontal">
102   <caption>[% 'Status' | $T8 %]</caption>
103   <colgroup> <col class="wi-small"><col class="wi-wide"> </colgroup>
104   <tbody>
105     <tr>
106       <th>[% 'Open' | $T8 %]</th>
107       <td><input name="open" id="open" type="checkbox" value="Y" checked></td>
108     </tr>
109     <tr>
110       <th>[% 'Closed' | $T8 %]</th>
111       <td><input name="closed" id="closed" type="checkbox" value="Y"></td>
112     </tr>
113   </tbody>
114 </table>
115
116 </div><!-- /.wrapper -->
117 <div class="form-addition control-panel">
118
119   <h3>[% 'Include in Report' | $T8 %]</h3>
120
121   <div class="list col">
122     <h4>[% 'Dates' | $T8 %]</h4>
123     <div>
124       <input name="l_transdate" id="l_transdate" type="checkbox" value="Y" checked><label for="l_transdate">[% 'Invoice Date' | $T8 %]</label>
125     </div>
126     <div>
127       <input name="l_datepaid" id="l_datepaid" type="checkbox" value="Y"><label for="l_datepaid">[% 'Date Paid' | $T8 %]</label>
128     </div>
129     <div>
130       <input name="l_duedate" id="l_duedate" type="checkbox" value="Y"><label for="l_duedate">[% 'Due Date' | $T8 %]</label>
131     </div>
132     <div>
133        <input name="l_insertdate" class=checkbox type=checkbox value=Y> [% 'Insert Date' | $T8 %]
134     </div>
135   </div>
136
137   <div class="list col">
138     <h4>[% 'Numbers & IDs' | $T8 %]</h4>
139     <div>
140       <input name="l_id" id="l_id" type="checkbox" value="Y"><label for="l_id">[% 'ID' | $T8 %]</label>
141     </div>
142     <div>
143       <input name="l_invnumber" id="l_invnumber" type="checkbox" value="Y" checked><label for="l_invnumber">[% 'Invoice Number' | $T8 %]</label>
144     </div>
145     <div>
146       <input name="l_ordnumber" id="l_ordnumber" type="checkbox" value="Y"><label for="l_ordnumber">[% 'Order Number' | $T8 %]</label>
147     </div>
148     <div>
149       <input name="l_globalprojectnumber" id="l_globalprojectnumber" type="checkbox" value="Y"><label for="l_globalprojectnumber">[% 'Document Project Number' | $T8 %]</label>
150     </div>
151     <div>
152       <input name="l_transaction_description" id="l_transaction_description" class=checkbox type=checkbox value=Y[% IF INSTANCE_CONF.get_require_transaction_description_ps %] checked[% END %]> [% 'Transaction description' | $T8 %]
153     </div>
154   </div>
155
156   <div class="list col">
157     <h4>[% 'Amounts' | $T8 %]</h4>
158     <div>
159       <input name="l_netamount" id="l_netamount" type="checkbox" value="Y"><label for="l_netamount">[% 'Amount' | $T8 %]</label>
160     </div>
161     <div>
162       <input name="l_tax" id="l_tax" type="checkbox" value="Y"><label for="l_tax">[% 'Tax' | $T8 %]</label>
163     </div>
164     <div>
165       <input name="l_subtotal" id="l_subtotal" type="checkbox" value="Y"><label for="l_subtotal">[% 'Subtotal' | $T8 %]</label>
166     </div>
167     <div>
168       <input name="l_amount" id="l_amount" type="checkbox" value="Y" checked><label for="l_amount">[% 'Total' | $T8 %]</label>
169     </div>
170     <div>
171       <input name="l_paid" id="l_paid" type="checkbox" value="Y" checked><label for="l_paid">[% 'Paid' | $T8 %]</label>
172     </div>
173     <div>
174       <input name="l_due" id="l_due" type="checkbox" value="Y"><label for="l_due">[% 'Amount Due' | $T8 %]</label>
175     </div>
176   </div>
177
178   <div class="list col">
179     <h4>[% 'Handling' | $T8 %]</h4>
180     <div>
181       <input name="l_employee" id="l_employee" type="checkbox" value="Y"><label for="l_employee">[% 'Employee' | $T8 %]</label>
182     </div>
183     <div>
184       <input name="l_notes" id="l_notes" type="checkbox" value="Y"><label for="l_notes">[% 'Notes' | $T8 %]</label>
185     </div>
186     <div>
187       <input name="l_intnotes" id="l_intnotes" type="checkbox" value="Y"><label for="l_intnotes">[% 'Internal Notes' | $T8 %]</label>
188     </div>
189   </div>
190
191   <div class="list col">
192     <h4>[% 'Miscellaneous' | $T8 %]</h4>
193     <div>
194       <input name="l_department" id="l_department" type="checkbox" value="Y"><label for="l_department">[% 'Department' | $T8 %]</label>
195     </div>
196     <div>
197       <input name="l_charts" id="l_charts" type="checkbox" value="Y"><label for="l_charts">[% 'Chart' | $T8 %]</label>
198     </div>
199     <div>
200       <input name="l_taxzone" id="l_taxzone" type="checkbox" value="Y"><label for="l_taxzone">[% 'Steuersatz' | $T8 %]</label>
201     </div>
202     <div>
203       <input name="l_payment_terms" id="l_payment_terms" type="checkbox" value="Y"><label for="l_payment_terms">[% 'Payment Terms' | $T8 %]</label>
204     </div>
205     <div>
206       <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>
207     </div>
208     <div>
209       <input name="l_debit_chart" class=checkbox type=checkbox value=Y> [% 'Debit Account' | $T8 %]
210     </div>
211     <div>
212       <input name="l_items" id="l_items" class=checkbox type=checkbox value=Y> [% 'Positions' | $T8 %]
213     </div>
214   </div>
215
216   <div class="list col">
217   <h4>[% 'Vendor' | $T8 %]</h4>
218   <div>
219     <input name="l_name" id="l_name" type="checkbox" value="Y" checked><label for="l_name">[% 'Vendor' | $T8 %]</label>
220   </div>
221   <div>
222     <input name="l_vendornumber" id="l_vendornumber" type="checkbox" value="Y"><label for="l_vendornumber">[% 'Vendor Number' | $T8 %]</label>
223   </div>
224   <div>
225     <input name="l_country" id="l_country" type="checkbox" value="Y"><label for="l_country">[% 'Country' | $T8 %]</label>
226   </div>
227   <div>
228     <input name="l_ustid" id="l_ustid" type="checkbox" value="Y"><label for="l_ustid">[% 'USt-IdNr.' | $T8 %]</label>
229   </div>
230 </div>
231
232 </div><!-- /.form-addition -->
233
234 </form>