qq|SELECT
p.id, p.partnumber, p.description, p.lastcost AS sellprice, p.listprice,
p.unit, p.assembly, p.onhand, p.formel,
- p.not_discountable,
+ p.notes AS partnotes, p.notes AS longdescription, p.not_discountable,
p.inventory_accno_id, p.price_factor_id,
- p.ean, p.notes,
+ p.ean,
pfac.factor AS price_factor,
-[% USE LxERP %][% USE HTML %][% USE L %]
+[% USE LxERP %][% USE HTML %][% USE L %][% USE P %]
<h1>[% title %]</h1>
<form method="post" action="[% HTML.escape(script) %]">
<td>[% HTML.escape(item.partnumber) %]</td>
<td>[% HTML.escape(item.description) %]</td>
[%- IF INSTANCE_CONF.get_show_longdescription_select_item %]
- [% USE P %]
- <td>[% P.restricted_html(item.notes) %]</td>
+ <td>[% P.restricted_html(item.longdescription) %]</td>
[%- END %]
<td>[% HTML.escape(item.matches).join('<br>') %]</td>
<td align="right">[% LxERP.format_amount(item.display_sellprice, 2) %]</td>