X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=templates%2Fwebpages%2Frequirement_spec_order%2F_assignment_form.html;h=9ec6d13d25bd614908a4b093bd273a3e6762a735;hb=53593baa211863fbf66540cf1bcc36c8fb37257f;hp=6a15f23709c507bf8730b7fbeaf1efdf6e8e58c7;hpb=90651b58b14d7e2dc26a996124d2ba2ef0ea42c2;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 6a15f2370..9ec6d13d2 100644 --- a/templates/webpages/requirement_spec_order/_assignment_form.html +++ b/templates/webpages/requirement_spec_order/_assignment_form.html @@ -1,7 +1,7 @@ [%- USE HTML -%][%- USE LxERP -%][%- USE L -%][%- USE P -%] [% SET style="width: 400px" %] -
+ [% IF for_new %] @@ -17,8 +17,8 @@ - @@ -31,6 +31,8 @@ + + @@ -40,10 +42,22 @@ [% L.hidden_tag("sections[+].id", section.id, no_id=1) %] - - + + + + [% END %]
[% LxERP.t8("Assign the following article to all sections") %]: - [% 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', 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')) %]
[% LxERP.t8("Title") %] [% LxERP.t8("Description") %] [% LxERP.t8("Article") %][% LxERP.t8("Unit") %][% LxERP.t8("Position type in quotation/order") %]
[% HTML.escape(section.fb_number) %] [% HTML.escape(section.title) %][% HTML.escape(P.truncate(section.description)) %][% L.select_tag('sections[].order_part_id', SELF.all_parts, default=section.order_part_id, with_empty=!for_new, title_sub=\make_part_title, style=style, no_id=1) %][% HTML.escape(P.truncate(section.description_as_stripped_html)) %][% 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 %] +
+ +

+ [% L.button_tag("kivi.requirement_spec.standard_quotation_order_ajax_call('" _ (for_new ? 'create' : 'save_assignment') _ "')", for_new ? LxERP.t8('Create') : LxERP.t8('Save')) %] +