3 <body onLoad="fokus()">
4 <script type="text/javascript" src="js/common.js"></script>
5 <script type="text/javascript" src="js/parts_language_selection.js"></script>
7 <form method=post name="ic" action="[% script %]">
9 <input name=id type=hidden value="[% id %]">
10 <input name=item type=hidden value="[% item %]">
11 <input name=title type=hidden value="[% title %]">
12 <input name=makemodel type=hidden value="[% makemodel %]">
13 <input name=alternate type=hidden value="[% alternate %]">
14 <input name=onhand type=hidden value="[% onhand %]">
15 <input name=orphaned type=hidden value="[% orphaned %]">
16 <input name=taxaccounts type=hidden value="[% taxaccounts %]">
17 <input name=rowcount type=hidden value="[% rowcount %]">
18 <input name=eur type=hidden value="[% eur %]">
19 <input name=language_values type=hidden value="[% language_values %]">
20 <input name="original_partnumber" type="hidden" value="[% HTML.escape(original_partnumber) %]">
24 <th class=listtop>[% title %]</th>
31 <th align=left>Artikelnummer</th>
32 <th align=left>Artikelbeschreibung</th>
33 [%- IF all_partsgroup.size %]
34 <th align=left>Warengruppe</th>
38 <td><input name=partnumber value="[% HTML.escape(partnumber) %]" size=20></td>
40 [%- IF description_area %]
41 <textarea name="description" rows="[% rows %]" cols=40 wrap=soft>[% HTML.escape(description) %]</textarea>
43 <input name=description size=40 value="[% HTML.escape(description) %]">
46 [%- IF all_partsgroup.size %]
48 [%- INCLUDE generic/multibox.html
49 name = 'selectpartsgroup',
50 DATA = all_partsgroup,
53 label_key = 'partsgroup',
57 <input type=hidden name=oldpartsgroup value="[% oldpartsgroup %]">
64 <table width="100%" height="100%">
67 <table width="100%" height="100%">
71 [%- IF BUCHUNGSGRUPPEN.size %]
73 <th align=right>Buchungsgruppe</th>
75 [%- INCLUDE generic/multibox.html
76 name = 'buchungsgruppen_id',
77 DATA = BUCHUNGSGRUPPEN,
79 label_key = 'description',
83 <input type=hidden name=IC_income value="[% IC_income_default %]">
84 [%- UNLESS is_assembly %]
85 <input type=hidden name=IC_expense value="[% IC_expense_default %]">
88 <input type=hidden name=IC value="[% IC_default %]">
94 <th align="left">Bemerkungen</th>
95 [%- UNLESS is_service %]
96 <th align="left">Formel</th>
101 <textarea name=notes rows=[% notes_rows %] cols=45 wrap=soft>[% HTML.escape(notes) %]</textarea>
103 [%- UNLESS is_service %]
106 <layer onmouseover="this.T_STICKY=true;this.T_STATIC=true;return escape('Die Formeln müssen in der folgenden Syntax eingegeben werden:<br>Bei normalen Artikeln:<br>Variablenname= Variable Einheit;<br>Variablenname2= Variable2 Einheit2;<br>...<br>###<br>Variable + Variable2 * ( Variable - Variable2 )<br>Bitte achten Sie auf die Leerzeichen in der Formel<br>Es muss jeweils die Gesamte Zeile eingegeben werden')">
107 <textarea name=formel rows=4 cols=30 wrap=soft>[% formel %]</textarea></layer><ilayer>
112 <th align="left"></th>
113 <th align="left">EAN-Code</th>
117 <button type="button" onclick="parts_language_selection_window('language_values')">Spracheinstellungen</button>
120 <input name=ean size=40 value="[% ean %]">
127 <th align=right>Zahlungskonditionen</th>
129 [%- INCLUDE generic/multibox.html
131 DATA = payment_terms,
134 label_key = 'description',
146 <th align="right" nowrap="true">Erneuert am</th>
147 <td width="13"><input name=priceupdate id=priceupdate size=11 title="[% dateformat %]" value="[% priceupdate %]"></td>
148 <td width="4" align="left"><input type=button name=priceupdate id="trigger1" value=?></td>
151 <th align="right" nowrap="true">Listenpreis</th>
152 <td><input name=listprice size=11 value=[% LxERP.format_amount(listprice) %]></td>
155 <th align="right" nowrap="true">Verkaufspreis</th>
156 <td><input name=sellprice size=11 value=[% LxERP.format_amount(sellprice) %]></td>
158 [%- UNLESS is_assembly %]
160 <th align="right" nowrap="true">Einkaufspreis</th>
161 <td><input name=lastcost size=11 value=[% LxERP.format_amount(lastcost) %]></td>
164 [%- IF ALL_PRICE_FACTORS.size %]
166 <th align="right">Preisfaktor</th>
168 [%- INCLUDE generic/multibox.html
169 name = 'price_factors_id',
170 DATA = ALL_PRICE_FACTORS,
173 label_key = 'description',
179 <th align="right" nowrap="true">Einheit</th>
181 <input type="hidden" name="unit_changeable" value="[% unit_changeable %]">
182 [%- UNLESS unit_changeable %]
183 <input type="hidden" name="unit" value="[% unit%]">[% unit %]
185 <!-- [% unit_select %] -->
186 [%- INCLUDE generic/multibox.html
195 [%- UNLESS is_service %]
197 <th align="right" nowrap="true">Gewicht</th>
199 <table><tr><td>[% IF is_assembly %] [% LxERP.format_amount(weight) %][% END %]<input [% IF is_assembly %]type=hidden [% END %] size=10 name=weight value="[% LxERP.format_amount(weight) %]"></td></tr></table>
203 [%- UNLESS is_service %]
205 <th align="right" nowrap>Auf Lager</th>
206 <th align=left nowrap class="plus[% IF onhand > 0 %]1[% ELSE %]0[% END %]"> [% LxERP.format_amount(onhand) %]</th>
209 [%- IF is_assembly %]
211 <th align="right" nowrap>einlagern</th>
212 <td><input name=stock size=10 value="[% LxERP.format_amount(stock) %]"></td>
216 <th align="right" nowrap="true">Mindestlagerbestand</th>
217 <td><input name=rop size=10 value="[% LxERP.format_amount(rop) %]"></td>
220 <th align="right" nowrap="true">Lagerplatz</th>
221 <td><input name=bin size=10 value="[% bin %]"></td>
224 <th align=right nowrap>Nicht rabattierfähig</th>
225 <td><input class=checkbox type=checkbox name=not_discountable value=1 [% IF not_discountable %]checked[% END %]></td>
228 <th align="right" nowrap="true">Verrechnungseinheit</th>
229 <td><input name=ve size=10 value="[% ve %]"></td>
232 <th align="right" nowrap="true">Geschäftsvolumen</th>
233 <td><input name=gv size=10 value="[% LxERP.format_amount(gv) %]"></td>
238 <th align="right" nowrap="true">Ungültig</th>
239 <td><input name=obsolete type=checkbox class=checkbox value=1 [% IF obsolete %]checked[% END %]></td>
243 <th align=right nowrap>Shopartikel</th>
244 <td><input class=checkbox type=checkbox name=shop value=1 [% IF shop %]checked[% END %]></td>
252 [% UNLESS is_service %]
257 <th align=right nowrap>Grafik</th>
258 <td><input name=image size=40 value="[% image %]"></td>
259 <th align=right nowrap>Mikrofilm</th>
260 <td><input name=microfiche size=20 value="[% microfiche %]"></td>
263 <th align=right nowrap>Zeichnung</th>
264 <td><input name=drawing size=40 value="[% drawing %]"></td>
271 <script type="text/javascript">
275 inputField : "priceupdate",
276 ifFormat :"%d.%m.%Y",