X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=templates%2Fwebpages%2Foe%2Fform_header_master.html;h=27ae25031b6fe1f5e1249e1aaa0bfe799b5597a7;hb=b65cc47a206d0b5df78123d9b36c1867928bf684;hp=f5df7d6488d1e496dcf38c2a6d8cafe1ff01861c;hpb=2a5030b2dcfe53c431a7498b7bae56939020643b;p=kivitendo-erp.git diff --git a/templates/webpages/oe/form_header_master.html b/templates/webpages/oe/form_header_master.html index f5df7d648..27ae25031 100644 --- a/templates/webpages/oe/form_header_master.html +++ b/templates/webpages/oe/form_header_master.html @@ -15,6 +15,8 @@ [%- END %] + + @@ -34,15 +36,16 @@ [% IF vc == 'customer' %]Customer[% ELSE %]Vendor[% END %] [%- INCLUDE 'generic/multibox.html' - name = vc, - style = 'width: 250px', - DATA = vc == 'customer' ? ALL_CUSTOMERS : ALL_VENDORS, - id_sub = 'vc_keys', - label_key = 'name', - select = vc_select, - limit = vclimit, - onChange = "document.getElementById('update_button').click();" -%] - + name = vc, + style = 'width: 250px', + DATA = vc == 'customer' ? ALL_CUSTOMERS : ALL_VENDORS, + id_sub = 'vc_keys', + label_key = 'name', + select = vc_select, + limit = vclimit, + allow_textbox = 1, + onChange = "document.getElementById('update_button').click();" -%] + [%- IF ALL_CONTACTS.size %] @@ -106,11 +109,17 @@ label_key = 'description' -%] -[%- IF selectdepartment %] +[%- IF ALL_DEPARTMENTS %] Department - - + + [%- INCLUDE 'generic/multibox.html' + name = 'department_id', + style = 'width: 250px', + DATA = ALL_DEPARTMENTS, + id_key = 'id', + label_sub = 'department_labels', + show_empty = 1 -%] [%- END %] @@ -126,18 +135,12 @@ Exchangerate [%- IF forex %] - [% LxERP.format_amount(exchangerate, 0) %] + [% LxERP.format_amount(exchangerate, 2) %] [%- ELSE %] [%- END %] -[%- END %] -[%- IF is_sales %] - - Motiv - - [%- END %] Shipping Point @@ -225,7 +228,10 @@ Quotation Date [%- END %] - [% button1 %] + + + + @@ -235,7 +241,10 @@ Required by [%- END %] - [% button2 %] + + + + Project Number @@ -256,4 +265,9 @@ - [% jsscript %] +