X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=templates%2Fwebpages%2Foe%2Fform_header.html;h=83d1b6527e3290f8c1b76ade8560af4aee4486b4;hb=baf226d0b65e64f9475dea46b35d88d52fed1cc6;hp=497be459fe1f76b95452d7ea92af3717af6d2e7e;hpb=bb89cd364bde4dc194eefa7010880ecb046ce53a;p=kivitendo-erp.git diff --git a/templates/webpages/oe/form_header.html b/templates/webpages/oe/form_header.html index 497be459f..83d1b6527 100644 --- a/templates/webpages/oe/form_header.html +++ b/templates/webpages/oe/form_header.html @@ -1,14 +1,12 @@ [%- USE T8 %] [%- USE HTML %] [%- USE LxERP %] -[%- USE L %] +[%- USE L %][%- USE P -%]
- - [%- IF is_sales_ord %] [% L.javascript_tag("js/edit_periodic_invoices_config") %] @@ -54,18 +52,10 @@ [% IF vc == 'customer' %][% 'Customer' | $T8 %][% ELSE %][% 'Vendor' | $T8 %][% END %] - [%- INCLUDE 'generic/multibox.html' - name = vc, - style = 'width: 250px', - class = 'initial_focus', - 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();" -%] - + [%- SET vc_id = vc _ "_id" %] + [% P.customer_vendor_picker(vc_id, $vc_id, type=vc, style="width: 250px", class="initial_focus") %] + [% P.button_tag("show_vc_details('" _ HTML.escape(vc) _ "')", LxERP.t8("Details (one letter abbreviation)")) %] + [% P.hidden_tag("previous_" _ vc_id, $vc_id) %] [%- IF ALL_CONTACTS.size %]