3 <body onLoad="fokus()">
5 <script type="text/javascript" src="js/common.js"></script>
6 <script type="text/javascript" src="js/parts_language_selection.js"></script>
8 <form method="post" name="ic" action="[% script %]">
10 <input name="id" type="hidden" value="[% HTML.escape(id) %]">
11 <input name="item" type="hidden" value="[% HTML.escape(item) %]">
12 <input name="title" type="hidden" value="[% HTML.escape(title) %]">
13 <input name="makemodel" type="hidden" value="[% HTML.escape(makemodel) %]">
14 <input name="alternate" type="hidden" value="[% HTML.escape(alternate) %]">
15 <input name="onhand" type="hidden" value="[% HTML.escape(onhand) %]">
16 <input name="orphaned" type="hidden" value="[% HTML.escape(orphaned) %]">
17 <input name="taxaccounts" type="hidden" value="[% HTML.escape(taxaccounts) %]">
18 <input name="rowcount" type="hidden" value="[% HTML.escape(rowcount) %]">
19 <input name="eur" type="hidden" value="[% HTML.escape(eur) %]">
20 <input name="language_values" type="hidden" value="[% HTML.escape(language_values) %]">
21 <input name="original_partnumber" type="hidden" value="[% HTML.escape(original_partnumber) %]">
23 <div class="listtop">[% title %]</div>
31 <th align="left"><translate>Part Number</translate></th>
32 <th align="left"><translate>Part Description</translate></th>
33 [%- IF all_partsgroup.size %]
34 <th align="left"><translate>Group</translate></th>
39 <td><input name="partnumber" value="[% HTML.escape(partnumber) %]" size="20"></td>
41 [%- IF description_area %]
42 <textarea name="description" rows="[% HTML.escape(rows) %]" cols="40" wrap="soft">[% HTML.escape(description) %]</textarea>
44 <input name="description" size="40" value="[% HTML.escape(description) %]">
48 [%- IF all_partsgroup.size %]
50 [%- INCLUDE generic/multibox.html
51 name = 'selectpartsgroup',
52 DATA = all_partsgroup,
55 label_key = 'partsgroup',
59 <input type="hidden" name="oldpartsgroup" value="[% HTML.escape(oldpartsgroup) %]">
67 <table width="100%" height="100%">
70 <table width="100%" height="100%">
74 [%- IF BUCHUNGSGRUPPEN.size %]
76 <th align="right"><translate>Buchungsgruppe</translate></th>
78 [%- INCLUDE generic/multibox.html
79 name = 'buchungsgruppen_id',
80 DATA = BUCHUNGSGRUPPEN,
82 label_key = 'description',
86 <input type="hidden" name="IC_income" value="[% HTML.escape(IC_income_default) %]">
87 [%- UNLESS is_assembly %]
88 <input type="hidden" name="IC_expense" value="[% HTML.escape(IC_expense_default) %]">
91 <input type="hidden" name="IC" value="[% HTML.escape(IC_default) %]">
98 <th align="left"><translate>Notes</translate></th>
99 [%- UNLESS is_service %]
100 <th align="left"><translate>Formula</translate></th>
106 <textarea name="notes" rows="[% HTML.escape(notes_rows) %]" cols="45" wrap="soft">[% HTML.escape(notes) %]</textarea>
109 [%- UNLESS is_service %]
112 <layer onmouseover="this.T_STICKY=true;this.T_STATIC=true;return escape('<translate>The formula needs the following syntax:<br>For regular article:<br>Variablename= Variable Unit;<br>Variablename2= Variable2 Unit2;<br>...<br>###<br>Variable + ( Variable2 / Variable )<br><b>Please be beware of the spaces in the formula</b><br></translate>')">
113 <textarea name="formel" rows="4" cols="30" wrap="soft">[% HTML.escape(formel) %]</textarea></layer></ilayer>
119 <th align="left"></th>
120 <th align="left"><translate>EAN-Code</translate></th>
125 <button type="button" onclick="parts_language_selection_window('language_values')"><translate>Set Language Values</translate></button>
128 <input name="ean" size="40" value="[% HTML.escape(ean) %]">
136 <th align="right"><translate>Payment Terms</translate></th>
138 [%- INCLUDE generic/multibox.html
140 DATA = payment_terms,
143 label_key = 'description',
156 <th align="right" nowrap="true"><translate>Updated</translate></th>
158 <input name="priceupdate" id="priceupdate" size="11" title="[% HTML.escape(dateformat) %]" value="[% HTML.escape(priceupdate) %]">
159 <input type="button" name="priceupdate" id="trigger1" value="?">
164 <th align="right" nowrap="true"><translate>List Price</translate></th>
165 <td><input name="listprice" size="11" value="[% LxERP.format_amount(listprice) %]"></td>
169 <th align="right" nowrap="true"><translate>Sell Price</translate></th>
170 <td><input name="sellprice" size="11" value="[% LxERP.format_amount(sellprice) %]"></td>
173 [%- UNLESS is_assembly %]
175 <th align="right" nowrap="true"><translate>Last Cost</translate></th>
176 <td><input name="lastcost" size="11" value="[% LxERP.format_amount(lastcost) %]"></td>
180 [%- IF ALL_PRICE_FACTORS.size %]
182 <th align="right"><translate>Price Factor</translate></th>
184 [%- INCLUDE generic/multibox.html
185 name = 'price_factors_id',
186 DATA = ALL_PRICE_FACTORS,
189 label_key = 'description',
196 <th align="right" nowrap="true"><translate>Unit</translate></th>
198 <input type="hidden" name="unit_changeable" value="[% HTML.escape(unit_changeable) %]">
199 [%- UNLESS unit_changeable %]
200 <input type="hidden" name="unit" value="[% HTML.escape(unit) %]">[% HTML.escape(unit) %]
202 [%- INCLUDE generic/multibox.html
212 [%- UNLESS is_service %]
214 <th align="right" nowrap="true"><translate>Weight</translate></th>
216 [%- IF is_assembly %] [% LxERP.format_amount(weight) %][%- END %]
217 <input[% IF is_assembly %] type="hidden"[% END %] size="10" name="weight" value="[% LxERP.format_amount(weight) %]">
222 [%- UNLESS is_service %]
224 <th align="right" nowrap><translate>On Hand</translate></th>
225 <th align="left" nowrap class="plus[% IF onhand > 0 %]1[% ELSE %]0[% END %]"> [% LxERP.format_amount(onhand) %]</th>
228 [%- IF is_assembly %]
230 <th align="right" nowrap><translate>Stock</translate></th>
231 <td><input name="stock" size="10" value="[% LxERP.format_amount(stock) %]"></td>
236 <th align="right" nowrap="true"><translate>ROP</translate></th>
237 <td><input name="rop" size="10" value="[% LxERP.format_amount(rop) %]"></td>
241 <th align="right" nowrap="true"><translate>Bin</translate></th>
242 <td><input name="bin" size="10" value="[% HTML.escape(bin) %]"></td>
246 <th align="right" nowrap><label for="not_discountable"><translate>Not Discountable</translate></label></th>
247 <td><input class="checkbox" type="checkbox" name="not_discountable" id="not_discountable" value="1" [% IF not_discountable %]checked[% END %]></td>
251 <th align="right" nowrap="true"><translate>Verrechnungseinheit</translate></th>
252 <td><input name="ve" size="10" value="[% HTML.escape(ve) %]"></td>
256 <th align="right" nowrap="true"><translate>Business Volume</translate></th>
257 <td><input name="gv" size="10" value="[% LxERP.format_amount(gv) %]"></td>
263 <th align="right" nowrap="true"><label for="obsolete"><translate>Obsolete</translate></label></th>
264 <td><input name="obsolete" id="obsolete" type="checkbox" class="checkbox" value="1" [% IF obsolete %]checked[% END %]></td>
269 <th align="right" nowrap><label for="shop"><translate>Shopartikel</translate></label></th>
270 <td><input class="checkbox" type="checkbox" name="shop" id="shop" value="1" [% IF shop %]checked[% END %]></td>
279 [% UNLESS is_service %]
284 <th align="right" nowrap><translate>Image</translate></th>
285 <td><input name="image" size="40" value="[% HTML.escape(image) %]"></td>
286 <th align="right" nowrap><translate>Microfiche</translate></th>
287 <td><input name="microfiche" size="20" value="[% HTML.escape(microfiche) %]"></td>
290 <th align="right" nowrap><translate>Drawing</translate></th>
291 <td><input name="drawing" size="40" value="[% HTML.escape(drawing) %]"></td>
298 <script type="text/javascript">
299 <!-- Calendar.setup({ inputField : "priceupdate", ifFormat :"[% myconfig_jsc_dateformat %]", align : "BL", button : "trigger1" }); //-->