X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=templates%2Fwebpages%2Frequirement_spec_order%2F_assignment_form.html;h=9990c55eafec329d87c00cdfd566f858e6033f29;hb=e41671e06344bfc4a1c5399f1c6014423bd2be29;hp=f32e71524db2f7a509e49794b80c69906e9ee7fd;hpb=c1f5a8f3f28952c290edb35ee3c0a37f5621ef69;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 f32e71524..9990c55ea 100644 --- a/templates/webpages/requirement_spec_order/_assignment_form.html +++ b/templates/webpages/requirement_spec_order/_assignment_form.html @@ -1,29 +1,29 @@ [%- USE HTML -%][%- USE LxERP -%][%- USE L -%][%- USE P -%] [% SET style="width: 400px" %] - -[% IF for_new %] - - - - + +
[% LxERP.t8("Record type to create") %]:[% L.select_tag('quotation', [ [ 1, LxERP.t8('Sales quotation') ], [ 0, LxERP.t8('Sales Order') ] ], style=style, no_id=1) %]
+ [% IF for_new %] + + + + - - - - -[% END %] + + + + + [% END %] - - - - -
[% LxERP.t8("Record type to create") %]:[% L.select_tag('quotation', [ [ 1, LxERP.t8('Sales quotation') ], [ 0, LxERP.t8('Sales Order') ] ], style=style, no_id=1) %]
[% LxERP.t8("Customer") %]:[% L.select_tag('customer_id', SELF.all_customers, default=SELF.requirement_spec.customer_id, title_key='name', style=style, no_id=1) %]
[% LxERP.t8("Customer") %]:[% L.select_tag('customer_id', SELF.all_customers, default=SELF.requirement_spec.customer_id, title_key='name', style=style, no_id=1) %]
[% 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) %] - [% L.button_tag('kivi.requirement_spec.assign_order_part_id_to_all()', LxERP.t8('Assign article')) %] -
+ + [% 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) %] + [% L.button_tag('kivi.requirement_spec.assign_order_part_id_to_all()', LxERP.t8('Assign article')) %] + + + - @@ -40,10 +40,14 @@ [% L.hidden_tag("sections[+].id", section.id, no_id=1) %] - - + + [% END %]
[% 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, convertible_unit=SELF.h_unit_name, id='quotations_and_orders_sections_order_pard_id_' _ loop.count, style=style) %]
+ +

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