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 %]Kunde[% ELSE %]Lieferant[% 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">Lieferscheinnummer</th>
50 <td colspan="3"><input name="donumber" class="fixed_width"></td>
54 <th align="right">Auftragsnummer</th>
55 <td colspan="3"><input name="ordnumber" class="fixed_width"></td>
58 [%- IF ALL_DEPARTMENTS.size %]
60 <th align="right" nowrap>Abteilung</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">Bearbeiter</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">Verkäufer/in</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">Vorgangsbezeichnung</th>
100 <td colspan="3"><input name="transaction_description" class="fixed_width"></td>
104 <th align="right">Bestellnummer des Kunden</th>
105 <td colspan="3"><input name="cusordnumber" class="fixed_width"></td>
109 <th align="right">Projektnummer</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">Von</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">bis</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">In Bericht aufnehmen</th>
139 <input type="checkbox" name="open" value="1" id="open" checked>
140 <label for="open">Offen</label>
143 <input type="checkbox" name="closed" value="1" id="closed">
144 <label for="closed">Geschlossen</label>
150 <input name="notdelivered" id="notdelivered" class="checkbox" type="checkbox" value="1" checked>
151 <label for="notdelivered">Nicht geliefert</label>
154 <input name="delivered" id="delivered" class="checkbox" type="checkbox" value="1" checked>
155 <label for="delivered">Geliefert</label></td>
160 <input name="l_id" id="l_id" class="checkbox" type="checkbox" value="Y">
161 <label for="l_id">Buchungsnummer</label>
165 <input name="l_donumber" id="l_donumber" class="checkbox" type="checkbox" value="Y" checked>
166 <label for="l_donumber">Lieferscheinnummer</label>
172 <input name="l_ordnumber" id="l_ordnumber" class="checkbox" type="checkbox" value="Y" checked>
173 <label for="l_ordnumber">Auftragsnummer</label>
177 <input name="l_cusordnumber" id="l_cusordnumber" class="checkbox" type="checkbox" value="Y">
178 <label for="l_cusordnumber">Bestellnummer des Kunden</label>
184 <input name="l_transdate" id="l_transdate" class="checkbox" type="checkbox" value="Y" checked>
185 <label for="l_transdate">Datum</label>
189 <input name="l_name" id="l_name" class="checkbox" type="checkbox" value="Y" checked>
190 <label for="l_name">[% IF is_customer %]Kunde[% ELSE %]Lieferant[% END %]</label>
196 <input name="l_employee" id="l_employee" class="checkbox" type="checkbox" value="Y" checked>
197 <label for="l_employee">Bearbeiter</label>
201 <input name="l_salesman" id="l_salesman" class="checkbox" type="checkbox" value="Y">
202 <label for="l_salesman">Verkäufer/in</label>
206 <input name="l_shipvia" id="l_shipvia" class="checkbox" type="checkbox" value="Y">
207 <label for="l_shipvia">Transportmittel</label>
213 <input name="l_globalprojectnumber" id="l_globalprojectnumber" class="checkbox" type="checkbox" value="Y">
214 <label for="l_globalprojectnumber">Projektnummer</label>
218 <input name="l_transaction_description" id="l_transaction_description" class="checkbox" type="checkbox" value="Y">
219 <label for="l_transaction_description">Vorgangsbezeichnung</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="Weiter">