3 [%- USE HTML %][%- USE LxERP %]
4 [%- IF vc == 'customer' %]
5 [%- SET is_customer = '1' %]
7 [%- SET is_customer = '0' %]
10 <script type="text/javascript">
11 $(function(){ document.Form.donumber.focus(); });
14 <style type="text/css">
20 <form method="post" action="do.pl" name="Form">
22 <div class="listtop">[% title %]</div>
27 <th align="right">[% IF is_customer %][% 'Customer' | $T8 %][% ELSE %][% 'Vendor' | $T8 %][% END %]</th>
29 [%- UNLESS SHOW_VC_DROP_DOWN %]
30 <input type="text" name="[% HTML.escape(vc) %]" class="fixed_width">
32 <select name="[% vc %]" class="fixed_width">
34 [%- FOREACH row = ALL_VC %]
35 <option>[% HTML.escape(row.name) %]--[% HTML.escape(row.id) %]</option>
38 <input type="hidden" name="select[% vc %]" value="1">
44 <th align="right">[% 'Delivery Order Number' | $T8 %]</th>
45 <td colspan="3"><input name="donumber" class="fixed_width"></td>
49 <th align="right">[% 'Order Number' | $T8 %]</th>
50 <td colspan="3"><input name="ordnumber" class="fixed_width"></td>
54 <th align="right">[% 'Customer Order Number' | $T8 %]</th>
55 <td colspan="3"><input name="cusordnumber" class="fixed_width"></td>
58 [%- IF ALL_DEPARTMENTS.size %]
60 <th align="right" nowrap>[% 'Department' | $T8 %]</th>
62 <select name="department" class="fixed_width">
64 [%- FOREACH row = ALL_DEPARTMENTS %]
65 <option[% IF department == row.id %] selected[% END %]>[% HTML.escape(row.description) %]--[% HTML.escape(row.id) %]</option>
73 <th align="right">[% 'Employee' | $T8 %]</th>
74 <td>[% L.select_tag('employee_id', ALL_EMPLOYEES, title_key = 'safe_name', with_empty = 1, class = 'fixed_width') %]</td>
79 <th align="right">[% 'Salesman' | $T8 %]</th>
80 <td>[% L.select_tag('salesman_id', ALL_EMPLOYEES, title_key = 'safe_name', with_empty = 1, class = 'fixed_width') %]</td>
85 <th align="right">[% 'Transaction description' | $T8 %]</th>
86 <td colspan="3"><input name="transaction_description" class="fixed_width"></td>
90 <th align="right">[% 'Project Number' | $T8 %]</th>
92 <select name="project_id" class="fixed_width">
94 [%- FOREACH row = ALL_PROJECTS %]
95 <option value="[% HTML.escape(row.id) %]">[% HTML.escape(row.projectnumber) %]</option>
102 <th align="right">[% 'Serial Number' | $T8 %]</th>
103 <td colspan="3"><input name="serialnumber" class="fixed_width"></td>
107 <th align="right">[% 'Delivery Order Date' | $T8 %] [% 'From' | $T8 %]</th>
109 [% L.date_tag('transdatefrom') %]
111 <th align="right">[% 'Bis' | $T8 %]</th>
113 [% L.date_tag('transdateto') %]
118 <th align="right">[% 'Reqdate' | $T8 %] [% 'From' | $T8 %]</th>
120 [% L.date_tag('reqdatefrom') %]
122 <th align="right">[% 'Bis' | $T8 %]</th>
124 [% L.date_tag('reqdateto') %]
129 <th align="right">[% 'Include in Report' | $T8 %]</th>
134 <input type="checkbox" name="open" value="1" id="open" checked>
135 <label for="open">[% 'Open' | $T8 %]</label>
138 <input type="checkbox" name="closed" value="1" id="closed">
139 <label for="closed">[% 'Closed' | $T8 %]</label>
145 <input name="notdelivered" id="notdelivered" class="checkbox" type="checkbox" value="1" checked>
146 <label for="notdelivered">[% 'Not delivered' | $T8 %]</label>
149 <input name="delivered" id="delivered" class="checkbox" type="checkbox" value="1" checked>
150 <label for="delivered">[% 'Delivered' | $T8 %]</label></td>
155 <input name="l_id" id="l_id" class="checkbox" type="checkbox" value="Y">
156 <label for="l_id">[% 'ID' | $T8 %]</label>
160 <input name="l_donumber" id="l_donumber" class="checkbox" type="checkbox" value="Y" checked>
161 <label for="l_donumber">[% 'Delivery Order Number' | $T8 %]</label>
167 <input name="l_ordnumber" id="l_ordnumber" class="checkbox" type="checkbox" value="Y" checked>
168 <label for="l_ordnumber">[% 'Order Number' | $T8 %]</label>
172 <input name="l_cusordnumber" id="l_cusordnumber" class="checkbox" type="checkbox" value="Y" checked>
173 <label for="l_cusordnumber">[% 'Customer Order Number' | $T8 %]</label>
179 <input name="l_transdate" id="l_transdate" class="checkbox" type="checkbox" value="Y" checked>
180 <label for="l_transdate">[% 'Delivery Order Date' | $T8 %]</label>
183 <input name="l_reqdate" id="l_reqdate" class="checkbox" type="checkbox" value="Y" checked>
184 <label for="l_reqdate">[% 'Reqdate' | $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>
196 <input name="l_customernumber" id="l_customernumber" class="checkbox" type="checkbox" value="Y">
197 <label for="l_customernumber">[% 'Customer Number' | $T8 %]</label>
204 <input name="l_department" id="l_department" class="checkbox" type="checkbox" value="Y">
205 <label for="l_department">[% "Department" | $T8 %]</label>
209 <input name="l_shipvia" id="l_shipvia" class="checkbox" type="checkbox" value="Y">
210 <label for="l_shipvia">[% 'Ship via' | $T8 %]</label>
216 <input name="l_employee" id="l_employee" class="checkbox" type="checkbox" value="Y" checked>
217 <label for="l_employee">[% 'Employee' | $T8 %]</label>
221 <input name="l_salesman" id="l_salesman" class="checkbox" type="checkbox" value="Y">
222 <label for="l_salesman">[% 'Salesman' | $T8 %]</label>
228 <input name="l_globalprojectnumber" id="l_globalprojectnumber" class="checkbox" type="checkbox" value="Y">
229 <label for="l_globalprojectnumber">[% 'Project Number' | $T8 %]</label>
233 <input name="l_transaction_description" id="l_transaction_description" class="checkbox" type="checkbox" value="Y">
234 <label for="l_transaction_description">[% 'Transaction description' | $T8 %]</label>
244 <hr size="3" noshade>
247 <input type="hidden" name="nextsub" value="orders">
248 <input type="hidden" name="vc" value="[% HTML.escape(vc) %]">
249 <input type="hidden" name="type" value="[% HTML.escape(type) %]">
251 <input class="submit" type="submit" name="action" value="[% 'Continue' | $T8 %]">