4 <form method=post name="search_invoice" action=[% script %]>
7 <tr><th class=listtop>[% title %]</th></tr>
13 <td>[% 'Main sorting' | $T8 %]</td>
15 <input name="sortby" id="artikelsort" class="radio" type="radio" value="artikelsort" checked>
16 <label for="artikelsort">[% 'Parts' | $T8 %]</label>
17 <input name="sortby" id="customersort" class="radio" type="radio" value="customersort">
18 <label for="customersort">[% 'Customer' | $T8 %]</label>
25 <th align=right>[% 'Customer' | $T8 %]</th>
27 [%- INCLUDE 'generic/multibox.html'
29 default = oldcustomer,
30 style = 'width: 250px',
42 <th align="right" nowrap>[% 'Customer Number' | $T8 %]</th>
43 <td><input name="customernumber" size="20"></td>
46 <th align=right nowrap>[% 'Department' | $T8 %]</th>
48 [%- INCLUDE 'generic/multibox.html'
50 style = 'width: 250px',
51 DATA = ALL_DEPARTMENTS,
53 label_key = 'description',
60 <th align="right">[% 'Project Number' | $T8 %]</th>
62 [%- INCLUDE 'generic/multibox.html'
64 style = "width: 250px",
67 label_key = 'projectnumber',
75 <th align="right" nowrap>[% 'Part Number' | $T8 %]</th>
76 <td><input name="partnumber" size="20"></td>
79 <th align="right" nowrap>[% 'Part Description' | $T8 %]</th>
80 <td colspan="3"><input name="description" size="40"></td>
83 <th align=right nowrap>[% 'From' | $T8 %]</th>
85 <input name=transdatefrom id=transdatefrom size=11 title="[% dateformat | html %]" onBlur="check_right_date_format(this)">
86 <input type=button name=transdatefrom id="trigger1" value=[% 'button' | $T8 %]>
88 <th align=right>[% 'Bis' | $T8 %]</th>
90 <input name=transdateto id=transdateto size=11 title="[% dateformat | html %]" onBlur="check_right_date_format(this)">
91 <input type=button name=transdateto name=transdateto id="trigger2" value=[% 'button' | $T8 %]>
94 <input type=hidden name=sort value=transdate>
102 <th align=right nowrap>[% 'Include in Report' | $T8 %]</th>
106 <td align=right><input name="l_description" class=checkbox type=checkbox value=Y checked></td>
107 <td nowrap>[% 'Description' | $T8 %]</td>
108 <td align=right><input name="l_partnumber" class=checkbox type=checkbox value=Y></td>
109 <td nowrap>[% 'Part Number' | $T8 %]</td>
110 <td align=right><input name="l_invnumber" class=checkbox type=checkbox value=Y checked></td>
111 <td nowrap>[% 'Invnumber' | $T8 %]</td>
112 <td align=right><input name="l_transdate" class=checkbox type=checkbox value="Y" checked></td>
113 <td nowrap>[% 'Invdate' | $T8 %]</td>
116 <td align=right><input name="l_qty" class=checkbox type=checkbox value="Y" checked></td>
117 <td nowrap>[% 'Quantity' | $T8 %]</td>
118 <td align=right><input name="l_discount" class=checkbox type=checkbox value="Y"></td>
119 <td nowrap>[% 'Discount' | $T8 %]</td>
120 <td align=right><input name="l_unit" class=checkbox type=checkbox value="Y"></td>
121 <td nowrap>[% 'Unit' | $T8 %]</td>
124 <td align=right><input name="l_sellprice" class=checkbox type=checkbox value=Y checked></td>
125 <td nowrap>[% 'Sales price' | $T8 %]</td>
126 <td align=right><input name="l_sellprice_total" class=checkbox type=checkbox value=Y checked></td>
127 <td nowrap>[% 'Sales price total' | $T8 %]</td>
128 <td align=right><input name="l_lastcost" class=checkbox type=checkbox value=Y checked></td>
129 <td nowrap>[% 'Purchase price' | $T8 %]</td>
130 <td align=right><input name="l_lastcost_total" class=checkbox type=checkbox value=Y checked></td>
131 <td nowrap>[% 'Purchase price total' | $T8 %]</td>
134 <td align=right><input name="l_marge_total" class=checkbox type=checkbox value=Y checked></td>
135 <td nowrap>[% 'Margetotal' | $T8 %]</td>
136 <td align=right><input name="l_marge_percent" class=checkbox type=checkbox value=Y checked></td>
137 <td nowrap>[% 'Margepercent' | $T8 %]</td>
140 <td align=right><input name="l_subtotal" class=checkbox type=checkbox value=Y checked></td>
141 <td nowrap>[% 'Subtotal' | $T8 %]</td>
142 <td align=right><input name="l_total" class=checkbox type=checkbox value="Y" checked></td>
143 <td nowrap>[% 'Total' | $T8 %]</td>
144 <td align=right><input name="l_headers" class=checkbox type=checkbox value="Y" checked></td>
145 <td nowrap>[% 'Headings' | $T8 %]</td>
148 <td align=right><input name="l_customernumber" class=checkbox type=checkbox value=Y checked></td>
149 <td nowrap>[% 'Customer Number' | $T8 %]</td>
152 <th align="right" nowrap>[% 'Decimalplaces' | $T8 %]</th>
153 <td colspan="4"><input name="decimalplaces" size="2" value="2"></td>
162 <td><hr size=3 noshade></td>
165 <input type=hidden name=nextsub value=[% nextsub %]>
167 <input class=submit type=submit name=action value="[% 'Continue' | $T8 %]">
169 <script type="text/javascript">
171 Calendar.setup( { inputField : "transdatefrom", ifFormat :"[% myconfig_jsc_dateformat %]", align : "BR", button : "trigger1" });
172 Calendar.setup( { inputField : "transdateto", ifFormat :"[% myconfig_jsc_dateformat %]", align : "BL", button : "trigger2" });
173 $(document).ready(function(){
174 $('customer').focus();
175 setupDateFormat('[% dateformat | html %]','[% 'Falsches Datumsformat!' | $T8 %]');
176 setupPoints('[% numberformat | html %]','[% 'wrongformat' | $T8 %]');