3 [% USE HTML %][% USE LxERP %]<body onload="on_load();">
5 [%- IF vc == 'customer' %]
6 [%- SET is_customer = '1' %]
8 [%- SET is_customer = '0' %]
11 <script type="text/javascript">
14 Calendar.setup({ inputField : "transdatefrom", ifFormat :"[% myconfig_jsc_dateformat %]", align : "BL", button : "transdatefrom_trigger" });
15 Calendar.setup({ inputField : "transdateto", ifFormat :"[% myconfig_jsc_dateformat %]", align : "BL", button : "transdateto_trigger" });
16 document.Form.donumber.focus();
21 <style type="text/css">
27 <form method="post" action="do.pl" name="Form">
29 <div class="listtop">[% title %]</div>
34 <th align="right">[% IF is_customer %][% 'Customer' | $T8 %][% ELSE %][% 'Vendor' | $T8 %][% END %]</th>
36 [%- UNLESS SHOW_VC_DROP_DOWN %]
37 <input type="text" name="[% HTML.escape(vc) %]" class="fixed_width">
39 <select name="[% vc %]" class="fixed_width">
41 [%- FOREACH row = ALL_VC %]
42 <option>[% HTML.escape(row.name) %]--[% HTML.escape(row.id) %]</option>
45 <input type="hidden" name="select[% vc %]" value="1">
51 <th align="right">[% 'Delivery Order Number' | $T8 %]</th>
52 <td colspan="3"><input name="donumber" class="fixed_width"></td>
56 <th align="right">[% 'Order Number' | $T8 %]</th>
57 <td colspan="3"><input name="ordnumber" class="fixed_width"></td>
60 [%- IF ALL_DEPARTMENTS.size %]
62 <th align="right" nowrap>[% 'Department' | $T8 %]</th>
64 <select name="department" class="fixed_width">
66 [%- FOREACH row = ALL_DEPARTMENTS %]
67 <option[% IF department == row.value %] selected[% END %]>[% HTML.escape(row.description) %]--[% HTML.escape(row.id) %]</option>
75 <th align="right">[% 'Employee' | $T8 %]</th>
76 <td>[% L.select_tag('employee_id', L.options_for_select(ALL_EMPLOYEES, title='safe_name', with_empty=1), class='fixed_width') %]</td>
81 <th align="right">[% 'Salesman' | $T8 %]</th>
82 <td>[% L.select_tag('salesman_id', L.options_for_select(ALL_EMPLOYEES, title='safe_name', with_empty=1), class='fixed_width') %]</td>
87 <th align="right">[% 'Transaction description' | $T8 %]</th>
88 <td colspan="3"><input name="transaction_description" class="fixed_width"></td>
92 <th align="right">[% 'Customer Order Number' | $T8 %]</th>
93 <td colspan="3"><input name="cusordnumber" class="fixed_width"></td>
97 <th align="right">[% 'Project Number' | $T8 %]</th>
99 <select name="project_id" class="fixed_width">
101 [%- FOREACH row = ALL_PROJECTS %]
102 <option value="[% HTML.escape(row.id) %]">[% HTML.escape(row.projectnumber) %]</option>
109 <th align="right">[% 'From' | $T8 %]</th>
111 <input name="transdatefrom" id="transdatefrom" size="11" title="[% myconfig_dateformat %]" onBlur="check_right_date_format(this)">
112 <input type="button" name="transdatefrom_button" id="transdatefrom_trigger" value="?">
114 <th align="right">[% 'Bis' | $T8 %]</th>
116 <input name="transdateto" id="transdateto" size="11" title="[% myconfig_dateformat %]" onBlur="check_right_date_format(this)">
117 <input type="button" name="transdateto_button" id="transdateto_trigger" value="?">
122 <th align="right">[% 'Include in Report' | $T8 %]</th>
127 <input type="checkbox" name="open" value="1" id="open" checked>
128 <label for="open">[% 'Open' | $T8 %]</label>
131 <input type="checkbox" name="closed" value="1" id="closed">
132 <label for="closed">[% 'Closed' | $T8 %]</label>
138 <input name="notdelivered" id="notdelivered" class="checkbox" type="checkbox" value="1" checked>
139 <label for="notdelivered">[% 'Not delivered' | $T8 %]</label>
142 <input name="delivered" id="delivered" class="checkbox" type="checkbox" value="1" checked>
143 <label for="delivered">[% 'Delivered' | $T8 %]</label></td>
148 <input name="l_id" id="l_id" class="checkbox" type="checkbox" value="Y">
149 <label for="l_id">[% 'ID' | $T8 %]</label>
153 <input name="l_donumber" id="l_donumber" class="checkbox" type="checkbox" value="Y" checked>
154 <label for="l_donumber">[% 'Delivery Order Number' | $T8 %]</label>
160 <input name="l_ordnumber" id="l_ordnumber" class="checkbox" type="checkbox" value="Y" checked>
161 <label for="l_ordnumber">[% 'Order Number' | $T8 %]</label>
165 <input name="l_cusordnumber" id="l_cusordnumber" class="checkbox" type="checkbox" value="Y">
166 <label for="l_cusordnumber">[% 'Customer Order Number' | $T8 %]</label>
172 <input name="l_transdate" id="l_transdate" class="checkbox" type="checkbox" value="Y" checked>
173 <label for="l_transdate">[% 'Date' | $T8 %]</label>
177 <input name="l_name" id="l_name" class="checkbox" type="checkbox" value="Y" checked>
178 <label for="l_name">[% IF is_customer %][% 'Customer' | $T8 %][% ELSE %][% 'Vendor' | $T8 %][% END %]</label>
184 <input name="l_employee" id="l_employee" class="checkbox" type="checkbox" value="Y" checked>
185 <label for="l_employee">[% 'Employee' | $T8 %]</label>
189 <input name="l_salesman" id="l_salesman" class="checkbox" type="checkbox" value="Y">
190 <label for="l_salesman">[% 'Salesman' | $T8 %]</label>
194 <input name="l_shipvia" id="l_shipvia" class="checkbox" type="checkbox" value="Y">
195 <label for="l_shipvia">[% 'Ship via' | $T8 %]</label>
201 <input name="l_globalprojectnumber" id="l_globalprojectnumber" class="checkbox" type="checkbox" value="Y">
202 <label for="l_globalprojectnumber">[% 'Project Number' | $T8 %]</label>
206 <input name="l_transaction_description" id="l_transaction_description" class="checkbox" type="checkbox" value="Y">
207 <label for="l_transaction_description">[% 'Transaction description' | $T8 %]</label>
217 <hr size="3" noshade>
220 <input type="hidden" name="nextsub" value="orders">
221 <input type="hidden" name="vc" value="[% HTML.escape(vc) %]">
222 <input type="hidden" name="type" value="[% HTML.escape(type) %]">
224 <input class="submit" type="submit" name="action" value="[% 'Continue' | $T8 %]">