1 [% USE HTML %][% USE LxERP %]<body onload="on_load();">
3 [%- IF vc == 'customer' %]
4 [%- SET is_customer = '1' %]
6 [%- SET is_customer = '0' %]
9 <script type="text/javascript">
12 Calendar.setup({ inputField : "transdatefrom", ifFormat :"[% myconfig_jsc_dateformat %]", align : "BL", button : "transdatefrom_trigger" });
13 Calendar.setup({ inputField : "transdateto", ifFormat :"[% myconfig_jsc_dateformat %]", align : "BL", button : "transdateto_trigger" });
14 document.Form.donumber.focus();
19 <style type="text/css">
25 <form method="post" action="do.pl" name="Form">
27 <div class="listtop">[% title %]</div>
32 <th align="right">[% IF is_customer %]<translate>Customer</translate>[% ELSE %]<translate>Vendor</translate>[% END %]</th>
34 [%- UNLESS SHOW_VC_DROP_DOWN %]
35 <input type="text" name="[% HTML.escape(vc) %]" class="fixed_width">
37 <select name="[% vc %]" class="fixed_width">
39 [%- FOREACH row = ALL_VC %]
40 <option>[% HTML.escape(row.name) %]--[% HTML.escape(row.id) %]</option>
43 <input type="hidden" name="select[% vc %]" value="1">
49 <th align="right"><translate>Delivery Order Number</translate></th>
50 <td colspan="3"><input name="donumber" class="fixed_width"></td>
54 <th align="right"><translate>Order Number</translate></th>
55 <td colspan="3"><input name="ordnumber" class="fixed_width"></td>
58 [%- IF ALL_DEPARTMENTS.size %]
60 <th align="right" nowrap><translate>Department</translate></th>
62 <select name="department" class="fixed_width">
64 [%- FOREACH row = ALL_DEPARTMENTS %]
65 <option[% IF department == row.value %] selected[% END %]>[% HTML.escape(row.description) %]--[% HTML.escape(row.id) %]</option>
73 <th align="right"><translate>Employee</translate></th>
75 <select name="employee_id" class="fixed_width">
77 [%- FOREACH row = ALL_EMPLOYEES %]
78 <option value="[% HTML.escape(row.id) %]">[% IF row.name %][% HTML.escape(row.name) %][% ELSE %][% HTML.escape(row.login) %][% END %]</option>
86 <th align="right"><translate>Salesman</translate></th>
88 <select name="salesman_id" class="fixed_width">
90 [%- FOREACH row = ALL_SALESMEN %]
91 <option value="[% HTML.escape(row.id) %]">[% IF row.name %][% HTML.escape(row.name) %][% ELSE %][% HTML.escape(row.login) %][% END %]</option>
99 <th align="right"><translate>Transaction description</translate></th>
100 <td colspan="3"><input name="transaction_description" class="fixed_width"></td>
104 <th align="right"><translate>Customer Order Number</translate></th>
105 <td colspan="3"><input name="cusordnumber" class="fixed_width"></td>
109 <th align="right"><translate>Project Number</translate></th>
111 <select name="project_id" class="fixed_width">
113 [%- FOREACH row = ALL_PROJECTS %]
114 <option value="[% HTML.escape(row.id) %]">[% HTML.escape(row.projectnumber) %]</option>
121 <th align="right"><translate>From</translate></th>
123 <input name="transdatefrom" id="transdatefrom" size="11" title="[% myconfig_dateformat %]" onBlur="check_right_date_format(this)">
124 <input type="button" name="transdatefrom_button" id="transdatefrom_trigger" value="?">
126 <th align="right"><translate>Bis</translate></th>
128 <input name="transdateto" id="transdateto" size="11" title="[% myconfig_dateformat %]" onBlur="check_right_date_format(this)">
129 <input type="button" name="transdateto_button" id="transdateto_trigger" value="?">
134 <th align="right"><translate>Include in Report</translate></th>
139 <input type="checkbox" name="open" value="1" id="open" checked>
140 <label for="open"><translate>Open</translate></label>
143 <input type="checkbox" name="closed" value="1" id="closed">
144 <label for="closed"><translate>Closed</translate></label>
150 <input name="notdelivered" id="notdelivered" class="checkbox" type="checkbox" value="1" checked>
151 <label for="notdelivered"><translate>Not delivered</translate></label>
154 <input name="delivered" id="delivered" class="checkbox" type="checkbox" value="1" checked>
155 <label for="delivered"><translate>Delivered</translate></label></td>
160 <input name="l_id" id="l_id" class="checkbox" type="checkbox" value="Y">
161 <label for="l_id"><translate>ID</translate></label>
165 <input name="l_donumber" id="l_donumber" class="checkbox" type="checkbox" value="Y" checked>
166 <label for="l_donumber"><translate>Delivery Order Number</translate></label>
172 <input name="l_ordnumber" id="l_ordnumber" class="checkbox" type="checkbox" value="Y" checked>
173 <label for="l_ordnumber"><translate>Order Number</translate></label>
177 <input name="l_cusordnumber" id="l_cusordnumber" class="checkbox" type="checkbox" value="Y">
178 <label for="l_cusordnumber"><translate>Customer Order Number</translate></label>
184 <input name="l_transdate" id="l_transdate" class="checkbox" type="checkbox" value="Y" checked>
185 <label for="l_transdate"><translate>Date</translate></label>
189 <input name="l_name" id="l_name" class="checkbox" type="checkbox" value="Y" checked>
190 <label for="l_name">[% IF is_customer %]<translate>Customer</translate>[% ELSE %]<translate>Vendor</translate>[% END %]</label>
196 <input name="l_employee" id="l_employee" class="checkbox" type="checkbox" value="Y" checked>
197 <label for="l_employee"><translate>Employee</translate></label>
201 <input name="l_salesman" id="l_salesman" class="checkbox" type="checkbox" value="Y">
202 <label for="l_salesman"><translate>Salesman</translate></label>
206 <input name="l_shipvia" id="l_shipvia" class="checkbox" type="checkbox" value="Y">
207 <label for="l_shipvia"><translate>Ship via</translate></label>
213 <input name="l_globalprojectnumber" id="l_globalprojectnumber" class="checkbox" type="checkbox" value="Y">
214 <label for="l_globalprojectnumber"><translate>Project Number</translate></label>
218 <input name="l_transaction_description" id="l_transaction_description" class="checkbox" type="checkbox" value="Y">
219 <label for="l_transaction_description"><translate>Transaction description</translate></label>
229 <hr size="3" noshade>
232 <input type="hidden" name="nextsub" value="orders">
233 <input type="hidden" name="vc" value="[% HTML.escape(vc) %]">
234 <input type="hidden" name="type" value="[% HTML.escape(type) %]">
236 <input class="submit" type="submit" name="action" value="<translate>Continue</translate>">