3 <body onLoad="[% onload %]">
5 <form method=post name=oe action="[% script %]">
7 <script type="text/javascript" src="js/common.js"></script>
8 <script type="text/javascript" src="js/delivery_customer_selection.js"></script>
9 <script type="text/javascript" src="js/vendor_selection.js"></script>
10 <script type="text/javascript" src="js/calculate_qty.js"></script>
11 <script type="text/javascript" src="js/customer_or_vendor_selection.js"></script>
13 [%- FOREACH row = HIDDENS %]
14 <input type="hidden" name="[% HTML.escape(row.name) %]" value="[% HTML.escape(row.value) %]" >
19 <th class=listtop>[% HTML.escape(title) %]</th>
29 <th align="right">[% IF vc == 'customer' %]Kunde[% ELSE %]Lieferant[% END %]</th>
31 [%- INCLUDE 'generic/multibox.html'
33 style = 'width: 250px',
34 DATA = vc == 'customer' ? ALL_CUSTOMERS : ALL_VENDORS,
39 onChange = "document.getElementById('update_button').click();" -%]
40 <input type="button" value="D" onclick="show_vc_details('[% vc %]')">
43 [%- IF ALL_CONTACTS.size %]
45 <th align="right">Ansprechpartner</th>
47 [%- INCLUDE 'generic/multibox.html'
49 style = 'width: 250px',
52 label_sub = 'contact_labels',
59 <th align="right">Lieferadresse</th>
61 [%- INCLUDE 'generic/multibox.html'
63 style = 'width: 250px',
66 label_sub = 'shipto_labels',
68 onChange = "document.getElementById('update_button').click();" -%]
74 <td align="right">Kreditlimit</td>
75 <td>[% LxERP.format_amount(creditlimit, 0) %]; Rest <span class="plus[% is_credit_remaining_negativ %]">[% LxERP.format_amount(creditremaining, 0) %]</span></td>
80 <th align="right">[% business_label %]</th>
81 <td>[% HTML.escape(business) %]; Rabatt [% LxERP.format_percent(tradediscount) %] %</td>
84 [%- IF max_dunning_level %]
86 <th align="right">höchste Mahnstufe:</th>
88 <b>[% HTML.escape(max_dunning_level) %]</b>;
89 gemahnter Betrag: <b>[% LxERP.format_amount(dunning_amount, 2) %]</b>
94 <th align="right">Steuersatz</th>
96 [%- INCLUDE 'generic/multibox.html'
98 style = 'width: 250px',
101 label_key = 'description' -%]
104 [%- IF selectdepartment %]
106 <th align="right" nowrap>Abteilung</th>
107 <td colspan=3><select name=department style="width: 250px">[% selectdepartment %]</select>
108 <input type=hidden name=selectdepartment value="[% HTML.escape(selectdepartment) %]">
115 <th align="right">Währung</th>
116 <td>[% currencies %]</td>
119 [%- IF show_exchangerate %]
121 <th align=right>Wechselkurs</th>
124 [% LxERP.format_amount(exchangerate, 0) %]
126 <input name=exchangerate size=10 value="[% HTML.escape(LxERP.format_amount(exchangerate)) %]">
133 <th align=right>Motiv</th>
134 <td style="font-weight:bold" colspan=3><input name=motiv size=35 value="[% HTML.escape(motiv) %]"></td>
138 <th align=right>Versandort</th>
139 <td colspan=3><input name=shippingpoint size=35 value="[% HTML.escape(shippingpoint) %]"></td>
142 <th align=right>Transportmittel</th>
143 <td colspan=3><input name=shipvia size=35 value="[% HTML.escape(shipvia) %]"></td>
146 <th align="right">Vorgangsbezeichnung</th>
147 <td colspan="3"><input name="transaction_description" size="35" value="[% HTML.escape(transaction_description) %]"></td>
149 [%- IF show_delivery_customer %]
155 <button type="button" onclick="delivery_customer_selection_window('delivery_customer_string','delivery_customer_id')">Endkunde wählen:</button>
157 <td colspan=2><input type=hidden name=delivery_customer_id value="[% HTML.escape(delivery_customer_id) %]">
158 <input size=45 id=delivery_customer_string name=delivery_customer_string value="[% HTML.escape(delivery_customer_string) %]"></td>
162 <button type="button" onclick="vendor_selection_window('delivery_vendor_string','delivery_vendor_id')">Händler wählen</button>
164 <td colspan=2><input type=hidden name=delivery_vendor_id value="[% HTML.escape(delivery_vendor_id) %]">
165 <input size=45 id=vendor_string name=delivery_vendor_string value="[% HTML.escape(delivery_vendor_string) %]"></td>
177 <th align="right">Bearbeiter</th>
179 [%- INCLUDE 'generic/multibox.html'
180 name = 'employee_id',
181 DATA = ALL_EMPLOYEES,
183 label_sub = 'sales_employee_labels' -%]
186 [%- IF is_sales and ALL_SALESMEN.size %]
188 <th align="right">Verkäufer/in</th>
190 [%- INCLUDE 'generic/multibox.html'
191 name = 'salesman_id',
192 default = salesman_id ? salesman_id : employee_id,
195 label_sub = 'sales_employee_labels' -%]
201 <th width=70% align=right nowrap>Auftragsnummer</th>
202 <td><input name=ordnumber size=11 value="[% HTML.escape(ordnumber) %]"></td>
206 <th width=70% align=right nowrap>[% IF is_req_quo %]Anfragenummer[% ELSE %]Angebotsnummer[% END %]</th>
207 <td><input name=quonumber size=11 value="[% HTML.escape(quonumber) %]"></td>
211 <th width=70% align=right nowrap>Bestellnummer des Kunden</th>
212 <td><input name=cusordnumber size=11 value="[% HTML.escape(cusordnumber) %]"></td>
216 <th align=right nowrap>
226 <th align=right nowrap>
227 [%~ IF is_sales_quo ~%]
236 <th width="70%" align="right" nowrap>Projektnummer</th>
238 [%- INCLUDE 'generic/multibox.html'
239 name = 'globalproject_id',
242 label_key = 'projectnumber',
244 onChange = "document.getElementById('update_button').click();" -%]