1 [%- USE HTML -%][%- USE LxERP -%][%- USE L -%][%- USE P -%]
3 [% LxERP.t8("Assign the following article to all sections") %]:
4 [% L.select_tag('quotations_and_orders_dummy', SELF.all_parts, default=INSTANCE_CONF.get_requirement_spec_section_order_part_id, title_sub=\make_part_title, id='quoations_and_orders_order_id') %]
5 [% L.button_tag('kivi.requirement_spec.assign_order_part_id_to_all()', LxERP.t8('Assign article')) %]
8 <form id="quotations_and_orders_article_assignment_form">
9 <table style="width: 100%">
11 <tr class="listheading">
12 <th>[% LxERP.t8("Number") %]</th>
13 <th>[% LxERP.t8("Title") %]</th>
14 <th>[% LxERP.t8("Description") %]</th>
15 <th>[% LxERP.t8("Article") %]</th>
20 [% FOREACH section = SELF.requirement_spec.sections_sorted %]
22 [% L.hidden_tag("sections[+].id", section.id, no_id=1) %]
23 <td>[% HTML.escape(section.fb_number) %]</td>
24 <td>[% HTML.escape(section.title) %]</td>
25 <td>[% HTML.escape(P.truncate(section.description)) %]</td>
26 <td>[% L.select_tag('sections[].order_part_id', SELF.all_parts, default=section.order_part_id, with_empty=1, title_sub=\make_part_title, no_id=1) %]</td>