2 [% USE HTML %][% USE LxERP %]<body onload="on_load();">
4 [%- IF vc == 'customer' %]
5 [%- SET is_customer = '1' %]
7 [%- SET is_customer = '0' %]
10 <script type="text/javascript">
13 Calendar.setup({ inputField : "transdatefrom", ifFormat :"[% myconfig_jsc_dateformat %]", align : "BL", button : "transdatefrom_trigger" });
14 Calendar.setup({ inputField : "transdateto", ifFormat :"[% myconfig_jsc_dateformat %]", align : "BL", button : "transdateto_trigger" });
15 document.Form.donumber.focus();
20 <style type="text/css">
26 <form method="post" action="do.pl" name="Form">
28 <div class="listtop">[% title %]</div>
33 <th align="right">[% IF is_customer %][% 'Customer' | $T8 %][% ELSE %][% 'Vendor' | $T8 %][% END %]</th>
35 [%- UNLESS SHOW_VC_DROP_DOWN %]
36 <input type="text" name="[% HTML.escape(vc) %]" class="fixed_width">
38 <select name="[% vc %]" class="fixed_width">
40 [%- FOREACH row = ALL_VC %]
41 <option>[% HTML.escape(row.name) %]--[% HTML.escape(row.id) %]</option>
44 <input type="hidden" name="select[% vc %]" value="1">
50 <th align="right">[% 'Delivery Order Number' | $T8 %]</th>
51 <td colspan="3"><input name="donumber" class="fixed_width"></td>
55 <th align="right">[% 'Order Number' | $T8 %]</th>
56 <td colspan="3"><input name="ordnumber" class="fixed_width"></td>
59 [%- IF ALL_DEPARTMENTS.size %]
61 <th align="right" nowrap>[% 'Department' | $T8 %]</th>
63 <select name="department" class="fixed_width">
65 [%- FOREACH row = ALL_DEPARTMENTS %]
66 <option[% IF department == row.value %] selected[% END %]>[% HTML.escape(row.description) %]--[% HTML.escape(row.id) %]</option>
74 <th align="right">[% 'Employee' | $T8 %]</th>
76 <select name="employee_id" class="fixed_width">
78 [%- FOREACH row = ALL_EMPLOYEES %]
79 <option value="[% HTML.escape(row.id) %]">[% IF row.name %][% HTML.escape(row.name) %][% ELSE %][% HTML.escape(row.login) %][% END %]</option>
87 <th align="right">[% 'Salesman' | $T8 %]</th>
89 <select name="salesman_id" class="fixed_width">
91 [%- FOREACH row = ALL_SALESMEN %]
92 <option value="[% HTML.escape(row.id) %]">[% IF row.name %][% HTML.escape(row.name) %][% ELSE %][% HTML.escape(row.login) %][% END %]</option>
100 <th align="right">[% 'Transaction description' | $T8 %]</th>
101 <td colspan="3"><input name="transaction_description" class="fixed_width"></td>
105 <th align="right">[% 'Customer Order Number' | $T8 %]</th>
106 <td colspan="3"><input name="cusordnumber" class="fixed_width"></td>
110 <th align="right">[% 'Project Number' | $T8 %]</th>
112 <select name="project_id" class="fixed_width">
114 [%- FOREACH row = ALL_PROJECTS %]
115 <option value="[% HTML.escape(row.id) %]">[% HTML.escape(row.projectnumber) %]</option>
122 <th align="right">[% 'From' | $T8 %]</th>
124 <input name="transdatefrom" id="transdatefrom" size="11" title="[% myconfig_dateformat %]" onBlur="check_right_date_format(this)">
125 <input type="button" name="transdatefrom_button" id="transdatefrom_trigger" value="?">
127 <th align="right">[% 'Bis' | $T8 %]</th>
129 <input name="transdateto" id="transdateto" size="11" title="[% myconfig_dateformat %]" onBlur="check_right_date_format(this)">
130 <input type="button" name="transdateto_button" id="transdateto_trigger" value="?">
135 <th align="right">[% 'Include in Report' | $T8 %]</th>
140 <input type="checkbox" name="open" value="1" id="open" checked>
141 <label for="open">[% 'Open' | $T8 %]</label>
144 <input type="checkbox" name="closed" value="1" id="closed">
145 <label for="closed">[% 'Closed' | $T8 %]</label>
151 <input name="notdelivered" id="notdelivered" class="checkbox" type="checkbox" value="1" checked>
152 <label for="notdelivered">[% 'Not delivered' | $T8 %]</label>
155 <input name="delivered" id="delivered" class="checkbox" type="checkbox" value="1" checked>
156 <label for="delivered">[% 'Delivered' | $T8 %]</label></td>
161 <input name="l_id" id="l_id" class="checkbox" type="checkbox" value="Y">
162 <label for="l_id">[% 'ID' | $T8 %]</label>
166 <input name="l_donumber" id="l_donumber" class="checkbox" type="checkbox" value="Y" checked>
167 <label for="l_donumber">[% 'Delivery Order Number' | $T8 %]</label>
173 <input name="l_ordnumber" id="l_ordnumber" class="checkbox" type="checkbox" value="Y" checked>
174 <label for="l_ordnumber">[% 'Order Number' | $T8 %]</label>
178 <input name="l_cusordnumber" id="l_cusordnumber" class="checkbox" type="checkbox" value="Y">
179 <label for="l_cusordnumber">[% 'Customer Order Number' | $T8 %]</label>
185 <input name="l_transdate" id="l_transdate" class="checkbox" type="checkbox" value="Y" checked>
186 <label for="l_transdate">[% 'Date' | $T8 %]</label>
190 <input name="l_name" id="l_name" class="checkbox" type="checkbox" value="Y" checked>
191 <label for="l_name">[% IF is_customer %][% 'Customer' | $T8 %][% ELSE %][% 'Vendor' | $T8 %][% END %]</label>
197 <input name="l_employee" id="l_employee" class="checkbox" type="checkbox" value="Y" checked>
198 <label for="l_employee">[% 'Employee' | $T8 %]</label>
202 <input name="l_salesman" id="l_salesman" class="checkbox" type="checkbox" value="Y">
203 <label for="l_salesman">[% 'Salesman' | $T8 %]</label>
207 <input name="l_shipvia" id="l_shipvia" class="checkbox" type="checkbox" value="Y">
208 <label for="l_shipvia">[% 'Ship via' | $T8 %]</label>
214 <input name="l_globalprojectnumber" id="l_globalprojectnumber" class="checkbox" type="checkbox" value="Y">
215 <label for="l_globalprojectnumber">[% 'Project Number' | $T8 %]</label>
219 <input name="l_transaction_description" id="l_transaction_description" class="checkbox" type="checkbox" value="Y">
220 <label for="l_transaction_description">[% 'Transaction description' | $T8 %]</label>
230 <hr size="3" noshade>
233 <input type="hidden" name="nextsub" value="orders">
234 <input type="hidden" name="vc" value="[% HTML.escape(vc) %]">
235 <input type="hidden" name="type" value="[% HTML.escape(type) %]">
237 <input class="submit" type="submit" name="action" value="[% 'Continue' | $T8 %]">