X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;ds=sidebyside;f=templates%2Fwebpages%2Fdo%2Fform_header.html;h=bee0ee6c4abd99bff565873abacaf261570978d2;hb=93f4876585007a50a0821ebe499a4153930ddc7d;hp=06ef6da0564203113245ecdbdf3b4d87288455c6;hpb=e6291b3ab19b0f14f39ef371cbb337d6e7667d1c;p=kivitendo-erp.git diff --git a/templates/webpages/do/form_header.html b/templates/webpages/do/form_header.html index 06ef6da05..bee0ee6c4 100644 --- a/templates/webpages/do/form_header.html +++ b/templates/webpages/do/form_header.html @@ -120,9 +120,7 @@ -[%- FOREACH row = HIDDENS %] - [% L.hidden_tag(row.name, row.value) %] -[%- END %] +

@@ -136,7 +134,7 @@ [% P.hidden_tag(vc_id, $vc_id) %] [% HTML.escape(VC_OBJ.name) %] [% ELSE %] - [% P.customer_vendor_picker(vc_id, $vc_id, type=vc, class="fixed_width", onchange="\$('#update_button').click()") %] + [% P.customer_vendor.picker(vc_id, $vc_id, type=vc, class="fixed_width", onchange="\$('#update_button').click()") %] [% END %] [% P.hidden_tag("previous_" _ vc_id, $vc_id) %] [% P.button_tag("show_vc_details('" _ HTML.escape(vc) _ "')", LxERP.t8("Details (one letter abbreviation)")) %] @@ -147,10 +145,8 @@ + [%- IF (vc == 'customer') && VC_OBJ.additional_billing_addresses.as_list.size %] + + + + + [%- END %] + [%- IF business %] @@ -191,6 +197,15 @@ [%- END %] + [%- IF ALL_LANGUAGES.size %] + + + + + [%- END %] + [%- IF ALL_DEPARTMENTS.size %] @@ -216,7 +231,7 @@ - +
[% 'Contact Person' | $T8 %] [%- IF delivered %] - - [%- IF cp_id == row.cp_id %] - [%- HTML.escape(row.cp_name) %][%- IF row.cp_abteilung %] ([% HTML.escape(row.cp_abteilung) %])[% END -%] - [%- END %] + [% L.hidden_tag("cp_id", cp_id) %] + [% HTML.escape(CONTACT_OBJ.full_name) %][% IF CONTACT_OBJ.cp_abteilung %] ([% HTML.escape(CONTACT_OBJ.cp_abteilung) %])[% END %] [%- ELSE %] [% L.select_tag('cp_id', ALL_CONTACTS, default = cp_id, value_key = 'cp_id', title_key = 'full_name_dep', with_empty = 1, style='width: 250px') %] [%- END %] @@ -173,6 +169,16 @@
[% 'Custom Billing Address' | $T8 %] + [% L.select_tag('billing_address_id', VC_OBJ.additional_billing_addresses, + with_empty=1, default=billing_address_id, value_key='id', title_key='displayable_id', style='width: 250px') %] +
[% IF is_customer %][% 'Customer type' | $T8 %][% ELSE %][% 'Vendor type' | $T8 %][% END %]
[% 'Language' | $T8 %] + [% L.select_tag('language_id', ALL_LANGUAGES, default = language_id, title_key = 'description', with_empty = 1, style = 'width: 250px' )%] +
[% 'Department' | $T8 %]
[% 'Transaction description' | $T8 %][% L.input_tag("transaction_description", transaction_description, size=35, "data-validate"=(INSTANCE_CONF.get_require_transaction_description_ps ? 'required' : ''), readonly=delivered) %]
@@ -288,7 +303,16 @@ [% 'Delivery Order Number' | $T8 %] - + +[%- IF !is_customer || INSTANCE_CONF.get_sales_purchase_record_numbers_changeable %] + [% L.input_tag("donumber", donumber, size="11", readonly=delivered) %] +[%- ELSIF id %] + [% HTML.escape(donumber) %] + [% L.hidden_tag("donumber", donumber) %] +[%- ELSE %] + [% LxERP.t8("will be set upon saving") %] +[%- END %] +