GLN: neue Spalte bei customer, vendor und shipto; DB-Upgrade-Skript u. Rose
[kivitendo-erp.git] / templates / webpages / io / select_item.html
index a212163..f576486 100644 (file)
@@ -1,4 +1,4 @@
-[% USE LxERP %][% USE HTML %][% USE L %]
+[% USE LxERP %][% USE HTML %][% USE L %][% USE P %]
 <h1>[% title %]</h1>
 
  <form method="post" action="[% HTML.escape(script) %]">
@@ -12,7 +12,7 @@
     [%- END %]
     <th>[% LxERP.t8('Number') %]</th>
     <th>[% LxERP.t8('Part Description') %]</th>
-    [%- IF SHOW_NOTES %]
+    [%- IF INSTANCE_CONF.get_show_longdescription_select_item %]
       <th>[% LxERP.t8('Long Description') %]</th>
     [%- END %]
     <th>[% LxERP.t8('Other Matches') %]</th>
@@ -33,9 +33,8 @@
     [%- END %]
     <td>[% HTML.escape(item.partnumber) %]</td>
     <td>[% HTML.escape(item.description) %]</td>
-    [%- IF SHOW_NOTES %]
-      [% USE P %]
-      <td>[% P.restricted_html(item.notes) %]</td>
+    [%- IF INSTANCE_CONF.get_show_longdescription_select_item %]
+      <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>