]> wagnertech.de Git - mfinanz.git/blobdiff - templates/webpages/io/select_item.html
io/select_item um optional part.notes erweitert
[mfinanz.git] / templates / webpages / io / select_item.html
index 11dfbf609c8747551a1b83ca60418ebf5cfd20b5..566b1a1ce3f86b1b690ad0c20eb29cf19b3c27bc 100644 (file)
@@ -12,6 +12,9 @@
     [%- END %]
     <th>[% LxERP.t8('Number') %]</th>
     <th>[% LxERP.t8('Part Description') %]</th>
+    [%- IF SHOW_NOTES %]
+      <th>[% LxERP.t8('Long Description') %]</th>
+    [%- END %]
     <th>[% LxERP.t8('Other Matches') %]</th>
     <th>[% LxERP.t8('Price') %]</th>
     [%- IF IS_PURCHASE %]
     [%- 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>
+    [%- END %]
     <td>[% HTML.escape(item.matches).join('<br>') %]</td>
     <td align="right">[% LxERP.format_amount(item.display_sellprice, 2) %]</td>
     [%- IF IS_PURCHASE %]