2 [%- USE L %][%- USE P -%]
3 [% SET style="width: 250px" %]
6 <form method="post" name="search" action="ap.pl" id="form">
13 <th align=right>[% 'Vendor' | $T8 %]</th>
14 <td>[% L.input_tag("vendor", vendor, style=style, class="initial_focus") %]</td>
17 <th align="right" nowrap>[% 'Contact Person' | $T8 %]</th>
18 <td>[% L.input_tag("cp_name", '', style=style) %]</td>
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>
25 <th align=right nowrap>[% 'Invoice Number' | $T8 %]</th>
26 <td>[% L.input_tag("invnumber", "", style=style) %]</td>
29 <th align=right nowrap>[% 'Order Number' | $T8 %]</th>
30 <td>[% L.input_tag("ordnumber", "", style=style) %]</td>
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>
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>
45 <th align=right nowrap>[% 'Invoice Date' | $T8 %]</th>
47 [% L.date_tag('transdatefrom') %]
49 [% L.date_tag('transdateto') %]
52 <input type=hidden name=sort value=transdate>
60 <th align=right nowrap>[% 'Include in Report' | $T8 %]</th>
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>
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>
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>
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>
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>
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>
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>
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>
124 <td colspan=4 align=left><b>[% 'Vendor' | $T8 %] </td>
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>