[%- USE T8 %] [% USE L %] [% USE HTML %][%- USE LxERP -%]

[% 'Show parts' | $T8 %]

[% L.hidden_tag("action", "LoginScreen/login") %] [% L.hidden_tag("upgrade_action", "filter_parts") %] [% L.hidden_tag("no_layout", 1) %]
[% 'Partnumber' | $T8 %] [% L.input_tag("filter_partnumber", filter_partnumber, size=20) %]
[% 'Description' | $T8 %] [% L.input_tag("filter_description", filter_description, size=20) %]
[% 'Notes' | $T8 %] [% L.input_tag("filter_notes", filter_notes, size=20) %]
[% 'EAN' | $T8 %] [% L.input_tag("filter_ean", filter_ean, size=20) %]
[% 'Service, assembly or part' | $T8 %]
[% 'Valid/Obsolete' | $T8 %]
[% SET row_odd = '1' %][% FOREACH row = ALL_PARTS %] [% END %]
[% 'Partnumber' | $T8 %] [% 'Description' | $T8 %] [% 'Unit' | $T8 %] [% 'Notes' | $T8 %] [% 'EAN' | $T8 %] [% 'Service, assembly or part' | $T8 %] [% 'Obsolete' | $T8 %]
[% HTML.escape(row.partnumber) %] [% HTML.escape(row.description) %] [% HTML.escape(row.unit) %] [% HTML.escape(row.notes) %] [% HTML.escape(row.ean) %] [% IF row.assembly %] [% 'assembly' | $T8 %] [% ELSE %] [% IF row.inventory_accno_id %] [% 'part' | $T8 %] [% ELSE %] [% 'service' | $T8 %] [% END %] [% END %] [% IF row.obsolete %][%- LxERP.t8("Obsolete") %][%- ELSE %][%- LxERP.t8("Not obsolete") %][%- END %]