<tr>
<th align="right">[% 'Part Description' | $T8 %]</th>
<td>
- [% L.areainput_tag("part.description", SELF.part.description, size=40) %]</td>
+ [% L.areainput_tag("part.description", SELF.part.description, size=40) %]
</td>
</tr>
<tr>
<tr>
<th align="right">[% 'Price Factor' | $T8 %]</th>
<td>
- [%- L.select_tag('part.price_factor_id', SELF.all_price_factors, default=SELF.part.price_factor_id, title_key='description', value_key='id', with_empty=1) %]</td>
+ [%- L.select_tag('part.price_factor_id', SELF.all_price_factors, default=SELF.part.price_factor_id, title_key='description', value_key='id', with_empty=1) %]
</td>
</tr>
[%- END %]
<th align="right" nowrap="true">[% 'Unit' | $T8 %]</th>
<td>
[%- IF !SELF.part.id or SELF.part.orphaned # same logic as unit_changable %]
- [%- L.select_tag('part.unit', SELF.all_units, default=SELF.part.unit, title_key='name', value_key='name') %]</td>
+ [%- L.select_tag('part.unit', SELF.all_units, default=SELF.part.unit, title_key='name', value_key='name') %]
[%- ELSE %]
[% L.hidden_tag('part.unit', SELF.part.unit) %] [% HTML.escape(SELF.part.unit) %]
[%- END %]
[% 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 %]
</td>
</tr>
-<div id="pricegroups">
[% PROCESS 'part/_pricegroup_prices.html' %]
-</div>
-
+ [% PROCESS 'part/_customerprices.html' %]
[%- UNLESS SELF.part.is_assembly %]
-<div id="makemodel">
[% PROCESS 'part/_makemodel.html' %]
-</div>
[% END %]
<tr>