<table id="ic3">
<tr>
<th align="right">[% 'Part Number' | $T8 %]</th>
- [% SET readonly = 1 %]
- [% UNLESS SELF.part.id %][% readonly = 0 %][% END %]
- <td>[% L.input_tag("part.partnumber", SELF.part.partnumber, size=40, readonly=readonly class="initial_focus") %]</td>
+ <td>[% L.input_tag("part.partnumber", SELF.part.partnumber, size=40, class="initial_focus") %]</td>
+ </tr>
+ <tr>
+ <th align="right">[% 'Part Classification' | $T8 %]</th>
+ <td>[% P.part.select_classification('part.classification_id', default => SELF.part.classification_id, type => SELF.parts_classification_filter ) %]</td>
</tr>
<tr>
<th align="right">[% 'Part Description' | $T8 %]</th>
<td>
- [%- IF description_area %]
- <textarea name="description" rows="[% HTML.escape(rows) %]" cols="40" wrap="soft">[% HTML.escape(description) %]</textarea>
- [%- ELSE %]
- [% L.input_tag("part.description", SELF.part.description, size=40) %]</td>
- [%- END %]
+ [% L.areainput_tag("part.description", SELF.part.description, size=40) %]</td>
</td>
</tr>
<tr>
</tr>
<tr>
[%- IF SELF.all_partsgroups.size %]
- <th align="right">[% 'Group' | $T8 %]</th>
+ <th align="right">[% 'Partsgroup' | $T8 %]</th>
<td>[%- L.select_tag('part.partsgroup_id', SELF.all_partsgroups, default=SELF.part.partsgroup_id, title_key='partsgroup', value_key='id', with_empty=1 style='width: 200px') %]</td>
[% END %]
</tr>
[% IF SELF.all_warehouses.size %]
<tr>
<th align="right" nowrap="true">[% 'Default Warehouse' | $T8 %]</th>
- <td>[% L.select_tag('part.warehouse_id', SELF.all_warehouses, default=SELF.part.warehouse.id, title_key='description', with_empty=>1) %]
+ <td>[% L.select_tag('part.warehouse_id', SELF.all_warehouses, default=SELF.part.warehouse.id, title_key='description', with_empty=1) %]
</td>
</tr>
[% END %]
[% PROCESS 'part/_pricegroup_prices.html' %]
</div>
+<div id="customerprices">
+ [% PROCESS 'part/_customerprices.html' %]
+</div>
[%- UNLESS SELF.part.is_assembly %]
<div id="makemodel">
[% PROCESS 'part/_makemodel.html' %]
<td><hr size="3" noshade></td>
</tr>
</table>
-