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>[% 'Department' | $T8 %]</th>
44 [%- INCLUDE 'generic/multibox.html'
46 style = 'width: 250px',
47 DATA = ALL_DEPARTMENTS,
49 label_key = 'description',
56 <th align="right">[% 'Project Number' | $T8 %]</th>
58 [%- INCLUDE 'generic/multibox.html'
60 style = "width: 250px",
63 label_key = 'projectnumber',
71 <th align="right" nowrap>[% 'Part Number' | $T8 %]</th>
72 <td><input name="partnumber" size="20"></td>
75 <th align="right" nowrap>[% 'Part Description' | $T8 %]</th>
76 <td colspan="3"><input name="description" size="40"></td>
79 <th align=right nowrap>[% 'From' | $T8 %]</th>
81 <input name=transdatefrom id=transdatefrom size=11 title="[% dateformat | html %]" onBlur="check_right_date_format(this)">
82 <input type=button name=transdatefrom id="trigger1" value=[% 'button' | $T8 %]>
84 <th align=right>[% 'Bis' | $T8 %]</th>
86 <input name=transdateto id=transdateto size=11 title="[% dateformat | html %]" onBlur="check_right_date_format(this)">
87 <input type=button name=transdateto name=transdateto id="trigger2" value=[% 'button' | $T8 %]>
90 <input type=hidden name=sort value=transdate>
98 <th align=right nowrap>[% 'Include in Report' | $T8 %]</th>
102 <td align=right><input name="l_description" class=checkbox type=checkbox value=Y checked></td>
103 <td nowrap>[% 'Description' | $T8 %]</td>
104 <td align=right><input name="l_partnumber" class=checkbox type=checkbox value=Y></td>
105 <td nowrap>[% 'Part Number' | $T8 %]</td>
106 <td align=right><input name="l_invnumber" class=checkbox type=checkbox value=Y checked></td>
107 <td nowrap>[% 'Invnumber' | $T8 %]</td>
108 <td align=right><input name="l_transdate" class=checkbox type=checkbox value="Y" checked></td>
109 <td nowrap>[% 'Invdate' | $T8 %]</td>
112 <td align=right><input name="l_qty" class=checkbox type=checkbox value="Y" checked></td>
113 <td nowrap>[% 'Quantity' | $T8 %]</td>
114 <td align=right><input name="l_discount" class=checkbox type=checkbox value="Y"></td>
115 <td nowrap>[% 'Discount' | $T8 %]</td>
116 <td align=right><input name="l_unit" class=checkbox type=checkbox value="Y"></td>
117 <td nowrap>[% 'Unit' | $T8 %]</td>
120 <td align=right><input name="l_sellprice" class=checkbox type=checkbox value=Y checked></td>
121 <td nowrap>[% 'Sales price' | $T8 %]</td>
122 <td align=right><input name="l_sellprice_total" class=checkbox type=checkbox value=Y checked></td>
123 <td nowrap>[% 'Sales price total' | $T8 %]</td>
124 <td align=right><input name="l_lastcost" class=checkbox type=checkbox value=Y checked></td>
125 <td nowrap>[% 'Purchase price' | $T8 %]</td>
126 <td align=right><input name="l_lastcost_total" class=checkbox type=checkbox value=Y checked></td>
127 <td nowrap>[% 'Purchase price total' | $T8 %]</td>
130 <td align=right><input name="l_marge_total" class=checkbox type=checkbox value=Y checked></td>
131 <td nowrap>[% 'Margetotal' | $T8 %]</td>
132 <td align=right><input name="l_marge_percent" class=checkbox type=checkbox value=Y checked></td>
133 <td nowrap>[% 'Margepercent' | $T8 %]</td>
136 <td align=right><input name="l_subtotal" class=checkbox type=checkbox value=Y checked></td>
137 <td nowrap>[% 'Subtotal' | $T8 %]</td>
138 <td align=right><input name="l_total" class=checkbox type=checkbox value="Y" checked></td>
139 <td nowrap>[% 'Total' | $T8 %]</td>
140 <td align=right><input name="l_headers" class=checkbox type=checkbox value="Y" checked></td>
141 <td nowrap>[% 'Headings' | $T8 %]</td>
144 <th align="right" nowrap>[% 'Decimalplaces' | $T8 %]</th>
145 <td colspan="4"><input name="decimalplaces" size="2" value="2"></td>
154 <td><hr size=3 noshade></td>
157 <input type=hidden name=nextsub value=[% nextsub %]>
159 <input class=submit type=submit name=action value="[% 'Continue' | $T8 %]">
161 <script type="text/javascript">
163 Calendar.setup( { inputField : "transdatefrom", ifFormat :"[% myconfig_jsc_dateformat %]", align : "BR", button : "trigger1" });
164 Calendar.setup( { inputField : "transdateto", ifFormat :"[% myconfig_jsc_dateformat %]", align : "BL", button : "trigger2" });
165 $(document).ready(function(){
166 $('customer').focus();
167 setupDateFormat('[% dateformat | html %]','[% 'Falsches Datumsformat!' | $T8 %]');
168 setupPoints('[% numberformat | html %]','[% 'wrongformat' | $T8 %]');