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',
30 <th align=right nowrap>[% 'Department' | $T8 %]</th>
32 [%- INCLUDE 'generic/multibox.html'
34 select_name = 'department_id',
35 style = 'width: 250px',
36 DATA = ALL_DEPARTMENTS,
38 label_key = 'description',
45 <th align=right nowrap>[% 'Invoice Number' | $T8 %]</th>
46 <td colspan=3><input name=invnumber size=20></td>
49 <th align=right nowrap>[% 'Order Number' | $T8 %]</th>
50 <td colspan=3><input name=ordnumber size=20></td>
53 <th align="right">[% 'Employee' | $T8 %]</th>
55 [%- INCLUDE 'generic/multibox.html'
57 style = 'width: 250px',
60 label_sub = 'employee_labels',
69 <th align="right">[% 'Salesman' | $T8 %]</th>
71 [%- INCLUDE 'generic/multibox.html'
73 style = 'width: 250px',
76 label_sub = 'salesman_labels',
84 <th align=right nowrap>[% 'Transaction description' | $T8 %]</th>
85 <td colspan=3><input name=transaction_description size=40></td>
88 <th align=right nowrap>[% 'Notes' | $T8 %]</th>
89 <td colspan=3><input name=notes size=40></td>
92 <th align="right">[% 'Project Number' | $T8 %]</th>
94 [%- INCLUDE 'generic/multibox.html'
96 style = "width: 250px",
99 label_key = 'projectnumber',
106 [% IF SHOW_BUSINESS_TYPES %]
108 <th align="right" nowrap>[% 'Customer type' | $T8 %]</th>
110 [%- INCLUDE 'generic/multibox.html'
111 name = 'business_id',
112 style = "width: 250px",
113 DATA = ALL_BUSINESS_TYPES,
115 label_key = 'description',
124 <th align=right nowrap>[% 'From' | $T8 %]</th>
126 <input name=transdatefrom id=transdatefrom size=11 title="[% dateformat | html %]" onBlur="check_right_date_format(this)">
127 <input type=button name=transdatefrom id="trigger1" value=[% 'button' | $T8 %]>
129 <th align=right>[% 'Bis' | $T8 %]</th>
131 <input name=transdateto id=transdateto size=11 title="[% dateformat | html %]" onBlur="check_right_date_format(this)">
132 <input type=button name=transdateto name=transdateto id="trigger2" value=[% 'button' | $T8 %]>
135 <input type=hidden name=sort value=transdate>
143 <th align=right nowrap>[% 'Include in Report' | $T8 %]</th>
147 <td align=right><input name=open class=checkbox type=checkbox value=Y checked></td>
148 <td nowrap>[% 'Open' | $T8 %]</td>
149 <td align=right><input name=closed class=checkbox type=checkbox value=Y></td>
150 <td nowrap>[% 'Closed' | $T8 %]</td>
153 <td align=right><input name="l_id" class=checkbox type=checkbox value=Y></td>
154 <td nowrap>[% 'ID' | $T8 %]</td>
155 <td align=right><input name="l_invnumber" class=checkbox type=checkbox value=Y checked></td>
156 <td nowrap>[% 'Invoice Number' | $T8 %]</td>
157 <td align=right><input name="l_ordnumber" class=checkbox type=checkbox value=Y></td>
158 <td nowrap>[% 'Order Number' | $T8 %]</td>
159 <td align=right><input name="l_transdate" class=checkbox type=checkbox value=Y checked></td>
160 <td nowrap>[% 'Invoice Date' | $T8 %]</td>
163 <td align=right><input name="l_name" class=checkbox type=checkbox value=Y checked></td>
164 <td nowrap>[% 'Customer' | $T8 %]</td>
165 <td align=right><input name="l_netamount" class=checkbox type=checkbox value="Y" checked></td>
166 <td nowrap>[% 'Amount' | $T8 %]</td>
167 <td align=right><input name="l_tax" class=checkbox type=checkbox value=Y></td>
168 <td nowrap>[% 'Tax' | $T8 %]</td>
169 <td align=right><input name="l_amount" class=checkbox type=checkbox value="Y" checked></td>
170 <td nowrap>[% 'Total' | $T8 %]</td>
173 <td align=right><input name="l_datepaid" class=checkbox type=checkbox value=Y></td>
174 <td nowrap>[% 'Date Paid' | $T8 %]</td>
175 <td align=right><input name="l_paid" class=checkbox type=checkbox value=Y checked></td>
176 <td nowrap>[% 'Paid' | $T8 %]</td>
177 <td align=right><input name="l_duedate" class=checkbox type=checkbox value=Y></td>
178 <td nowrap>[% 'Due Date' | $T8 %]</td>
179 <td align=right><input name="l_due" class=checkbox type=checkbox value=Y></td>
180 <td nowrap>[% 'Amount Due' | $T8 %]</td>
183 <td align=right><input name="l_notes" class=checkbox type=checkbox value=Y></td>
184 <td nowrap>[% 'Notes' | $T8 %]</td>
185 <td align=right><input name="l_salesman" class=checkbox type=checkbox value=Y></td>
186 <td nowrap>[% 'Salesperson' | $T8 %]</td>
187 <td align=right><input name="l_shippingpoint" class=checkbox type=checkbox value=Y></td>
188 <td nowrap>[% 'Shipping Point' | $T8 %]</td>
189 <td align=right><input name="l_shipvia" class=checkbox type=checkbox value=Y></td>
190 <td nowrap>[% 'Ship via' | $T8 %]</td>
193 <td align=right><input name="l_marge_total" class=checkbox type=checkbox value=Y></td>
194 <td nowrap> [% 'Ertrag' | $T8 %]</td>
195 <td align=right><input name="l_marge_percent" class=checkbox type=checkbox value=Y></td>
196 <td nowrap> [% 'Ertrag prozentual' | $T8 %]</td>
197 <td align=right><input name="l_employee" class=checkbox type=checkbox value=Y></td>
198 <td nowrap>[% 'Employee' | $T8 %]</td>
201 <td align=right><input name="l_subtotal" class=checkbox type=checkbox value=Y></td>
202 <td nowrap>[% 'Subtotal' | $T8 %]</td>
203 <td align=right><input name="l_globalprojectnumber" class=checkbox type=checkbox value=Y></td>
204 <td nowrap>[% 'Project Number' | $T8 %]</td>
205 <td align=right><input name="l_transaction_description" class=checkbox type=checkbox value=Y></td>
206 <td nowrap>[% 'Transaction description' | $T8 %]</td>
209 <td colspan=4 align=left><b>[% 'Customer' | $T8 %] </td>
212 <td align=right><input name="l_customernumber" class=checkbox type=checkbox value=Y></td>
213 <td nowrap>[% 'Customer Number' | $T8 %]</td>
214 <td align=right><input name="l_country" class=checkbox type=checkbox value=Y></td>
215 <td nowrap>[% 'Country' | $T8 %]</td>
216 <td align=right><input name="l_ustid" class=checkbox type=checkbox value=Y></td>
217 <td nowrap>[% 'USt-IdNr.' | $T8 %]</td>
218 <td align=right><input name="l_taxzone" class=checkbox type=checkbox value=Y></td>
219 <td nowrap>[% 'Steuersatz' | $T8 %]</td>
222 <td align=right><input name="l_payment_terms" class=checkbox type=checkbox value=Y></td>
223 <td nowrap>[% 'Payment Terms' | $T8 %]</td>
224 <td align=right><input name="l_charts" class=checkbox type=checkbox value=Y></td>
225 <td nowrap>[% 'Buchungskonto' | $T8 %]</td>
234 <td><hr size=3 noshade></td>
237 <input type=hidden name=nextsub value=[% nextsub %]>
239 <input class=submit type=submit name=action value="[% 'Continue' | $T8 %]">
241 <script type="text/javascript">
243 Calendar.setup( { inputField : "transdatefrom", ifFormat :"[% myconfig_jsc_dateformat %]", align : "BR", button : "trigger1" });
244 Calendar.setup( { inputField : "transdateto", ifFormat :"[% myconfig_jsc_dateformat %]", align : "BL", button : "trigger2" });
245 $(document).ready(function(){
246 $('customer').focus();
247 setupDateFormat('[% dateformat | html %]','[% 'Falsches Datumsformat!' | $T8 %]');
248 setupPoints('[% numberformat | html %]','[% 'wrongformat' | $T8 %]');