1 [%- USE LxERP -%][%- USE L -%][%- USE P -%][%- USE HTML -%]
2 [% SET parts = SELF.requirement_spec.parts_sorted %]
4 <div id="additional_parts_list_container" class="additional-parts-context-menu"[% IF initially_hidden %] style="display: none;"[% END %]>
6 <h2>[% LxERP.t8("Additional articles") %]</h2>
8 <div id="additional_parts_list_empty"[% IF parts.size %] style="display: none;"[% END %]>
9 [% LxERP.t8("No articles have been added yet.") %]
12 <table id="additional_parts_list"[% IF !parts.size %] style="display: none;"[% END %]>
14 <tr class="listheading">
15 <th>[%- LxERP.t8("Part Number") %]</th>
16 <th>[%- LxERP.t8("Description") %]</th>
17 <th>[%- LxERP.t8("Qty") %]</th>
22 [% FOREACH part = parts %]
24 <td>[% HTML.escape(part.part.partnumber) %]</td>
25 <td>[% HTML.escape(part.description) %]</td>
26 <td valign="right">[% HTML.escape(part.qty_as_number) %] [% HTML.escape(part.unit.name) %]</td>