X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;ds=inline;f=templates%2Fwebpages%2Frequirement_spec_order%2F_assignment_form.html;h=634cb2446eaf0601a240776c607634f58a05684e;hb=511d3561ad2e8fd8bc16cffe9b085f043062f7f3;hp=9990c55eafec329d87c00cdfd566f858e6033f29;hpb=766f5705ecb9cd56adfbffd94c871959bb64c6fd;p=kivitendo-erp.git
diff --git a/templates/webpages/requirement_spec_order/_assignment_form.html b/templates/webpages/requirement_spec_order/_assignment_form.html
index 9990c55ea..634cb2446 100644
--- a/templates/webpages/requirement_spec_order/_assignment_form.html
+++ b/templates/webpages/requirement_spec_order/_assignment_form.html
@@ -17,8 +17,8 @@
[% LxERP.t8("Assign the following article to all sections") %]: |
-
- [% P.part_picker('quotations_and_orders_dummy', INSTANCE_CONF.get_requirement_spec_section_order_part_id, convertible_unit=SELF.h_unit_name, id='quotations_and_orders_order_id', style=style) %]
+ |
+ [% P.part_picker('quotations_and_orders_dummy', SELF.section_order_part.id, id='quotations_and_orders_order_id', style=style) %]
[% L.button_tag('kivi.requirement_spec.assign_order_part_id_to_all()', LxERP.t8('Assign article')) %]
|
@@ -31,6 +31,8 @@
[% LxERP.t8("Title") %] |
[% LxERP.t8("Description") %] |
[% LxERP.t8("Article") %] |
+ [% LxERP.t8("Unit") %] |
+ [% LxERP.t8("Position type in quotation/order") %] |
@@ -41,7 +43,15 @@
[% HTML.escape(section.fb_number) %] |
[% HTML.escape(section.title) %] |
[% HTML.escape(P.truncate(section.description_as_stripped_html)) %] |
- [% P.part_picker('sections[].order_part_id', section.order_part_id, convertible_unit=SELF.h_unit_name, id='quotations_and_orders_sections_order_pard_id_' _ loop.count, style=style) %] |
+ [% P.part_picker('sections[].order_part_id', section.order_part_id, id='quotations_and_orders_sections_order_pard_id_' _ loop.count, style=style) %] |
+ [% HTML.escape(section.order_part.unit) %] |
+
+ [% IF section.order_part_id && section.order_part.unit_obj.is_time_based %]
+ [% LxERP.t8("time and effort based position") %]
+ [% ELSIF section.order_part_id %]
+ [% LxERP.t8("flat-rate position") %]
+ [% END %]
+ |
[% END %]