4 [% PROCESS 'common/select_warehouse_bin.html' %]
5 <p><div class="listtop">[% title %] [% HTML.escape(partnumber) %] [% HTML.escape(description) %]</div></p>
7 [% PROCESS 'common/flash.html' %]
9 <form method="post" name="ic" action="[% script %]">
11 <input name="id" type="hidden" value="[% HTML.escape(id) %]">
12 <input name="item" type="hidden" value="[% HTML.escape(item) %]">
13 <input name="title" type="hidden" value="[% HTML.escape(title) %]">
14 <input name="makemodel" type="hidden" value="[% HTML.escape(makemodel) %]">
15 <input name="alternate" type="hidden" value="[% HTML.escape(alternate) %]">
16 <input name="onhand" type="hidden" value="[% HTML.escape(onhand) %]">
17 <input name="orphaned" type="hidden" value="[% HTML.escape(orphaned) %]">
18 <input name="taxaccounts" type="hidden" value="[% HTML.escape(taxaccounts) %]">
19 <input name="rowcount" type="hidden" value="[% HTML.escape(rowcount) %]">
20 <input name="eur" type="hidden" value="[% HTML.escape(eur) %]">
21 <input name="language_values" type="hidden" value="[% HTML.escape(language_values) %]">
22 <input name="original_partnumber" type="hidden" value="[% HTML.escape(original_partnumber) %]">
23 <input name="currow" type="hidden" value="[% HTML.escape(currow) %]">
25 <div class="tabwidget">
27 <li><a href="#master_data">[% 'Basic Data' | $T8 %]</a></li>
29 <li><a href="#sales_price_information">[% 'Price information' | $T8 %]</a></li>
31 [%- IF CUSTOM_VARIABLES.size %]
32 <li><a href="#custom_variables">[% 'Custom Variables' | $T8 %]</a></li>
36 <div id="master_data">
44 [%- IF image && INSTANCE_CONF.get_parts_show_image %]
45 <a href="[% image | html %]" target="_blank"><img style="[% INSTANCE_CONF.get_parts_image_css %]" src="[% image | html %]"/></a>
53 <th align="right">[% 'Part Number' | $T8 %]</th>
54 <td><input id='partnumber' name="partnumber" value="[% HTML.escape(partnumber) %]" size="40" class="initial_focus"></td>
57 <th align="right">[% 'Part Description' | $T8 %]</th>
59 [%- IF description_area %]
60 <textarea name="description" rows="[% HTML.escape(rows) %]" cols="40" wrap="soft">[% HTML.escape(description) %]</textarea>
62 <input name="description" size="40" value="[% HTML.escape(description) %]">
67 <th align="right">[% 'EAN-Code' | $T8 %]</th>
68 <td><input name="ean" size="40" value="[% HTML.escape(ean) %]"></td>
71 [%- IF all_partsgroup.size %]
72 <th align="right">[% 'Group' | $T8 %]</th>
74 [%- INCLUDE generic/multibox.html
76 DATA = all_partsgroup,
79 label_key = 'partsgroup',
83 <input type="hidden" name="oldpartsgroup" value="[% HTML.escape(oldpartsgroup) %]">
88 [%- IF BUCHUNGSGRUPPEN.size %]
90 <th align="right">[% 'Buchungsgruppe' | $T8 %]</th>
92 [%- INCLUDE generic/multibox.html
93 name = 'buchungsgruppen_id',
94 DATA = BUCHUNGSGRUPPEN,
96 label_key = 'description',
101 <input type="hidden" name="IC_income" value="[% HTML.escape(IC_income_default) %]">
102 [%- UNLESS is_assembly %]
103 <input type="hidden" name="IC_expense" value="[% HTML.escape(IC_expense_default) %]">
106 <input type="hidden" name="IC" value="[% HTML.escape(IC_default) %]">
109 <th align="right">[% 'Payment Terms' | $T8 %]</th>
111 [%- INCLUDE generic/multibox.html
113 DATA = payment_terms,
116 label_key = 'description',
117 style = 'width:250px'
127 <button type="button" onclick="parts_language_selection_window('language_values')">[% 'Set Language Values' | $T8 %]</button>
137 <th align="left">[% 'Part Notes' | $T8 %]</th>
138 <th align="left">[% 'Formula' | $T8 %]</th>
142 <textarea name="notes" rows="[% HTML.escape(notes_rows) %]" cols="45" wrap="soft">[% HTML.escape(notes) %]</textarea>
146 <layer onmouseover="this.T_STICKY=true;this.T_STATIC=true;return escape('[% '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>' | $T8 %]')">
147 <textarea name="formel" rows="[% HTML.escape(notes_rows) %]" cols="30" wrap="soft">[% HTML.escape(formel) %]</textarea></layer></ilayer>
159 <th align="right" nowrap="true">[% 'Updated' | $T8 %]</th>
161 <input name="priceupdate" id="priceupdate" size="11" title="[% HTML.escape(dateformat) %]" value="[% HTML.escape(priceupdate) %]" readonly>
166 <th align="right" nowrap="true">[% 'List Price' | $T8 %]</th>
167 <td><input name="listprice" size="11" value="[% LxERP.format_amount(listprice, 2) %]"></td>
171 <th align="right" nowrap="true">[% 'Sell Price' | $T8 %]</th>
172 <td><input name="sellprice" size="11" value="[% LxERP.format_amount(sellprice, 2) %]"></td>
175 [%- UNLESS is_assembly %]
177 <th align="right" nowrap="true">[% 'Last Cost' | $T8 %]</th>
178 <td><input name="lastcost" size="11" value="[% LxERP.format_amount(lastcost, 2) %]"></td>
182 [%- IF ALL_PRICE_FACTORS.size %]
184 <th align="right">[% 'Price Factor' | $T8 %]</th>
186 [%- INCLUDE generic/multibox.html
187 name = 'price_factor_id',
188 DATA = ALL_PRICE_FACTORS,
191 label_key = 'description',
192 style = 'width:100px'
199 <th align="right" nowrap="true">[% 'Unit' | $T8 %]</th>
201 <input type="hidden" name="unit_changeable" value="[% HTML.escape(unit_changeable) %]">
202 [%- UNLESS unit_changeable %]
203 <input type="hidden" name="unit" value="[% HTML.escape(unit) %]">[% HTML.escape(unit) %]
205 [%- INCLUDE generic/multibox.html
210 style = 'width:100px'
216 [%- UNLESS is_service %]
218 <th align="right" nowrap="true">[% 'Weight' | $T8 %]</th>
220 [%- IF is_assembly %] [% LxERP.format_amount(weight) %][%- END %]
221 <input[% IF is_assembly %] type="hidden"[% END %] size="10" name="weight" value="[% LxERP.format_amount(weight) %]">
222 [% HTML.escape(defaults.weightunit) %]
227 <th align="right" nowrap>[% 'On Hand' | $T8 %]</th>
228 <th align="left" nowrap class="plus[% IF onhand > 0 %]1[% ELSE %]0[% END %]"> [% LxERP.format_amount(onhand) %]</th>
231 <th align="right" nowrap="true">[% 'ROP' | $T8 %]</th>
232 <td><input name="rop" size="10" value="[% LxERP.format_amount(rop) %]"></td>
235 <th align="right" nowrap="true">[% 'Default Warehouse' | $T8 %]</th>
237 <select name="warehouse_id" onchange="warehouse_selected(warehouses[this.selectedIndex]['id'], 0)">
238 [%- FOREACH warehouse = WAREHOUSES %]
239 <option value="[% HTML.escape(warehouse.id) %]"[% IF warehouse_id == warehouse.id %] selected[% END %]>[% warehouse.description %]</option>
245 <th align="right" nowrap="true">[% 'Default Bin' | $T8 %]</th>
246 <td><select id="bin_id" name="bin_id"></select></td>
249 <th align="right" nowrap="true">[% 'Verrechnungseinheit' | $T8 %]</th>
250 <td><input name="ve" size="10" value="[% HTML.escape(ve) %]"></td>
253 <th align="right" nowrap="true">[% 'Business Volume' | $T8 %]</th>
254 <td><input name="gv" size="10" value="[% LxERP.format_amount(gv) %]"></td>
257 <th align="right" nowrap><label for="not_discountable">[% 'Not Discountable' | $T8 %]</label></th>
258 <td><input class="checkbox" type="checkbox" name="not_discountable" id="not_discountable" value="1" [% IF not_discountable %]checked[% END %]></td>
262 <th align="right" nowrap="true"><label for="obsolete">[% 'Obsolete' | $T8 %]</label></th>
263 <td><input name="obsolete" id="obsolete" type="checkbox" class="checkbox" value="1" [% IF obsolete %]checked[% END %]></td>
266 [%- UNLESS is_service %]
268 <th align="right" nowrap><label for="has_sernumber">[% 'Has serial number' | $T8 %]</label></th>
269 <td><input class="checkbox" type="checkbox" name="has_sernumber" id="has_sernumber" value="1" [% IF has_sernumber %]checked[% END %]></td>
273 <th align="right" nowrap><label for="shop">[% 'Shopartikel' | $T8 %]</label></th>
274 <td><input class="checkbox" type="checkbox" name="shop" id="shop" value="1" [% IF shop %]checked[% END %]></td>
288 <th align="right" nowrap>[% 'Image' | $T8 %]</th>
289 <td><input name="image" size="40" value="[% HTML.escape(image) %]"></td>
290 <th align="right" nowrap>[% 'Microfiche' | $T8 %]</th>
291 <td><input name="microfiche" size="20" value="[% HTML.escape(microfiche) %]"></td>
294 <th align="right" nowrap>[% 'Drawing' | $T8 %]</th>
295 <td><input name="drawing" size="40" value="[% HTML.escape(drawing) %]"></td>