behebt #243
[kivitendo-erp.git] / templates / webpages / ap / search.html
1 [%- USE T8 %]
2 [%- USE L %][%- USE P -%]
3 [% SET style="width: 250px" %]
4 <h1>[% title %]</h1>
5
6  <form method="post" name="search" action="ap.pl" id="form">
7
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>
16     <tr>
17      <th align="right" nowrap>[% 'Contact Person' | $T8 %]</th>
18      <td>[% L.input_tag("cp_name", '', style=style) %]</td>
19     </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>
51     </tr>
52    <input type=hidden name=sort value=transdate>
53    </table>
54     </td>
55     </tr>
56     <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>
139     </tr>
140    </table>
141   </form>