-[%- IF image && conf_parts_show_image %]
- <a href="[% image | html %]" target="_blank"><img style="[% conf_parts_image_css %]" src="[% image | html %]"/></a>
+[%- IF image && INSTANCE_CONF.get_parts_show_image %]
+ <a href="[% image | html %]" target="_blank"><img style="[% INSTANCE_CONF.get_parts_image_css %]" src="[% image | html %]"/></a>
<tr>
<th align="right" nowrap>[% 'On Hand' | $T8 %]</th>
<th align="left" nowrap class="plus[% IF onhand > 0 %]1[% ELSE %]0[% END %]"> [% LxERP.format_amount(onhand) %]</th>
<tr>
<th align="right" nowrap>[% 'On Hand' | $T8 %]</th>
<th align="left" nowrap class="plus[% IF onhand > 0 %]1[% ELSE %]0[% END %]"> [% LxERP.format_amount(onhand) %]</th>
<td>
<select name="warehouse_id" onchange="warehouse_selected(warehouses[this.selectedIndex]['id'], 0)">
[%- FOREACH warehouse = WAREHOUSES %]
<td>
<select name="warehouse_id" onchange="warehouse_selected(warehouses[this.selectedIndex]['id'], 0)">
[%- FOREACH warehouse = WAREHOUSES %]
<th align="right" nowrap="true">[% 'Default Bin' | $T8 %]</th>
<td><select id="bin_id" name="bin_id"></select></td>
</tr>
<th align="right" nowrap="true">[% 'Default Bin' | $T8 %]</th>
<td><select id="bin_id" name="bin_id"></select></td>
</tr>
<tr>
<th align="right" nowrap="true">[% 'Verrechnungseinheit' | $T8 %]</th>
<td><input name="ve" size="10" value="[% HTML.escape(ve) %]"></td>
<tr>
<th align="right" nowrap="true">[% 'Verrechnungseinheit' | $T8 %]</th>
<td><input name="ve" size="10" value="[% HTML.escape(ve) %]"></td>