4 <form method=post name="search" action=[% script %]>
6 <table width=100% border="0">
7 <tr><th class=listtop>[% title %]</th></tr>
13 <th align=right>[% 'Customer' | $T8 %]</th>
15 [%- INCLUDE 'generic/multibox.html'
17 default = oldcustomer,
18 style = 'width: 250px',
26 class = 'initial_focus',
31 <th align=right nowrap>[% 'Department' | $T8 %]</th>
33 [%- INCLUDE 'generic/multibox.html'
35 select_name = 'department_id',
36 style = 'width: 250px',
37 DATA = ALL_DEPARTMENTS,
39 label_key = 'description',
46 <th align=right nowrap>[% 'Invoice Number' | $T8 %]</th>
47 <td colspan=3><input name=invnumber size=20></td>
50 <th align=right nowrap>[% 'Order Number' | $T8 %]</th>
51 <td colspan=3><input name=ordnumber size=20></td>
54 <th align="right">[% 'Employee' | $T8 %]</th>
55 <td>[% L.select_tag('employee_id', ALL_EMPLOYEES, title_key = 'safe_name', with_empty = 1, style = 'width:250px') %]</td>
58 <th align="right">[% 'Salesman' | $T8 %]</th>
59 <td>[% L.select_tag('salesman_id', ALL_EMPLOYEES, title_key = 'safe_name', with_empty = 1, style = 'width:250px') %]</td>
62 <th align=right nowrap>[% 'Transaction description' | $T8 %]</th>
63 <td colspan=3><input name=transaction_description size=40></td>
66 <th align=right nowrap>[% 'Notes' | $T8 %]</th>
67 <td colspan=3><input name=notes size=40></td>
70 <th align="right">[% 'Project Number' | $T8 %]</th>
72 [%- INCLUDE 'generic/multibox.html'
74 style = "width: 250px",
77 label_key = 'projectnumber',
84 [% IF SHOW_BUSINESS_TYPES %]
86 <th align="right" nowrap>[% 'Customer type' | $T8 %]</th>
88 [%- INCLUDE 'generic/multibox.html'
90 style = "width: 250px",
91 DATA = ALL_BUSINESS_TYPES,
93 label_key = 'description',
102 <th align=right nowrap>[% 'From' | $T8 %]</th>
104 [% L.date_tag('transdatefrom') %]
106 <th align=right>[% 'Bis' | $T8 %]</th>
108 [% L.date_tag('transdateto') %]
111 <input type=hidden name=sort value=transdate>
119 <th align=right nowrap>[% 'Include in Report' | $T8 %]</th>
123 <td align=right><input name=open class=checkbox type=checkbox value=Y checked></td>
124 <td nowrap>[% 'Open' | $T8 %]</td>
125 <td align=right><input name=closed class=checkbox type=checkbox value=Y></td>
126 <td nowrap>[% 'Closed' | $T8 %]</td>
129 <td align=right><input name="l_id" class=checkbox type=checkbox value=Y></td>
130 <td nowrap>[% 'ID' | $T8 %]</td>
131 <td align=right><input name="l_invnumber" class=checkbox type=checkbox value=Y checked></td>
132 <td nowrap>[% 'Invoice Number' | $T8 %]</td>
133 <td align=right><input name="l_ordnumber" class=checkbox type=checkbox value=Y></td>
134 <td nowrap>[% 'Order Number' | $T8 %]</td>
135 <td align=right><input name="l_transdate" class=checkbox type=checkbox value=Y checked></td>
136 <td nowrap>[% 'Invoice Date' | $T8 %]</td>
139 <td align=right><input name="l_name" class=checkbox type=checkbox value=Y checked></td>
140 <td nowrap>[% 'Customer' | $T8 %]</td>
141 <td align=right><input name="l_customernumber" class=checkbox type=checkbox value=Y></td>
142 <td nowrap>[% 'Customer Number' | $T8 %]</td>
145 <td align=right><input name="l_netamount" class=checkbox type=checkbox value="Y" checked></td>
146 <td nowrap>[% 'Amount' | $T8 %]</td>
147 <td align=right><input name="l_tax" class=checkbox type=checkbox value=Y></td>
148 <td nowrap>[% 'Tax' | $T8 %]</td>
149 <td align=right><input name="l_amount" class=checkbox type=checkbox value="Y" checked></td>
150 <td nowrap>[% 'Total' | $T8 %]</td>
153 <td align=right><input name="l_datepaid" class=checkbox type=checkbox value=Y></td>
154 <td nowrap>[% 'Date Paid' | $T8 %]</td>
155 <td align=right><input name="l_paid" class=checkbox type=checkbox value=Y checked></td>
156 <td nowrap>[% 'Paid' | $T8 %]</td>
157 <td align=right><input name="l_duedate" class=checkbox type=checkbox value=Y></td>
158 <td nowrap>[% 'Due Date' | $T8 %]</td>
159 <td align=right><input name="l_due" class=checkbox type=checkbox value=Y></td>
160 <td nowrap>[% 'Amount Due' | $T8 %]</td>
163 <td align=right><input name="l_notes" class=checkbox type=checkbox value=Y></td>
164 <td nowrap>[% 'Notes' | $T8 %]</td>
165 <td align=right><input name="l_salesman" class=checkbox type=checkbox value=Y></td>
166 <td nowrap>[% 'Salesperson' | $T8 %]</td>
167 <td align=right><input name="l_shippingpoint" class=checkbox type=checkbox value=Y></td>
168 <td nowrap>[% 'Shipping Point' | $T8 %]</td>
169 <td align=right><input name="l_shipvia" class=checkbox type=checkbox value=Y></td>
170 <td nowrap>[% 'Ship via' | $T8 %]</td>
173 <td align=right><input name="l_marge_total" class=checkbox type=checkbox value=Y></td>
174 <td nowrap> [% 'Ertrag' | $T8 %]</td>
175 <td align=right><input name="l_marge_percent" class=checkbox type=checkbox value=Y></td>
176 <td nowrap> [% 'Ertrag prozentual' | $T8 %]</td>
177 <td align=right><input name="l_employee" class=checkbox type=checkbox value=Y></td>
178 <td nowrap>[% 'Employee' | $T8 %]</td>
181 <td align=right><input name="l_subtotal" class=checkbox type=checkbox value=Y></td>
182 <td nowrap>[% 'Subtotal' | $T8 %]</td>
183 <td align=right><input name="l_globalprojectnumber" class=checkbox type=checkbox value=Y></td>
184 <td nowrap>[% 'Document Project Number' | $T8 %]</td>
185 <td align=right><input name="l_transaction_description" class=checkbox type=checkbox value=Y></td>
186 <td nowrap>[% 'Transaction description' | $T8 %]</td>
189 <td colspan=4 align=left><b>[% 'Customer' | $T8 %] </td>
192 <td align=right><input name="l_customernumber" class=checkbox type=checkbox value=Y></td>
193 <td nowrap>[% 'Customer Number' | $T8 %]</td>
194 <td align=right><input name="l_country" class=checkbox type=checkbox value=Y></td>
195 <td nowrap>[% 'Country' | $T8 %]</td>
196 <td align=right><input name="l_ustid" class=checkbox type=checkbox value=Y></td>
197 <td nowrap>[% 'USt-IdNr.' | $T8 %]</td>
198 <td align=right><input name="l_taxzone" class=checkbox type=checkbox value=Y></td>
199 <td nowrap>[% 'Steuersatz' | $T8 %]</td>
202 <td align=right><input name="l_payment_terms" class=checkbox type=checkbox value=Y></td>
203 <td nowrap>[% 'Payment Terms' | $T8 %]</td>
204 <td align=right><input name="l_charts" class=checkbox type=checkbox value=Y></td>
205 <td nowrap>[% 'Buchungskonto' | $T8 %]</td>
214 <td><hr size=3 noshade></td>
217 <input type=hidden name=nextsub value=[% nextsub %]>
219 <input class=submit type=submit name=action value="[% 'Continue' | $T8 %]">
221 <script type="text/javascript">
223 $(document).ready(function(){
224 $('customer').focus();