X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=templates%2Fwebpages%2Fdo%2Fform_header.html;h=cd8c6a46a3b1b738fe243c56b043ec7a1f4a76e1;hb=1ce68041a1923c60a6608a2ed6365f5915bacd9a;hp=9b4e9f26f0a5a9223b09af5ee96aeef8d930b7c1;hpb=3aa5cee2f12c1dff757539b60196bf5e1be0a5d6;p=kivitendo-erp.git diff --git a/templates/webpages/do/form_header.html b/templates/webpages/do/form_header.html index 9b4e9f26f..cd8c6a46a 100644 --- a/templates/webpages/do/form_header.html +++ b/templates/webpages/do/form_header.html @@ -1,15 +1,13 @@ [%- USE T8 %] [%- USE HTML %] [%- USE LxERP %] -[%- USE L %] +[%- USE L %][%- USE P -%]

[% title %]

- - @@ -22,18 +20,12 @@ [%- IF vc == 'customer' %] - [%- SET vc = 'customer' %] - [%- SET the_vc_id = customer_id %] - [%- SET the_vc = customer %] - [%- SET the_oldvc = oldcustomer %] [%- SET is_customer = '1' %] [%- ELSE %] [%- SET vc = 'vendor' %] - [%- SET the_vc_id = vendor_id %] - [%- SET the_vc = vendor %] - [%- SET the_oldvc = oldvendor %] [%- SET is_customer = '0' %] [%- END %] + [%- SET vc_id = vc _ "_id" %] [%- IF delivered %] [%- SET DISABLED = ' disabled' %] [%- END %] @@ -53,7 +45,11 @@ [%- IF INSTANCE_CONF.get_webdav %]
  • [% 'WebDAV' | $T8 %]
  • [%- END %] -[%- IF id %] +[%- IF id AND INSTANCE_CONF.get_doc_storage %] +
  • [% 'Documents' | $T8 %]
  • +
  • [% 'Attachments' | $T8 %]
  • +[%- END %] +[%- IF id AND AUTH.assert('record_links', 1) %]
  • [% 'Linked Records' | $T8 %]
  • [%- END %] @@ -73,7 +69,7 @@ - + @@ -92,6 +88,7 @@ + @@ -105,10 +102,13 @@ - + +[%- FOREACH row = HIDDENS %] + [% L.hidden_tag(row.name, row.value) %] +[%- END %]

    @@ -116,22 +116,16 @@
    - - - [%- IF ALL_CONTACTS.size %] @@ -197,8 +191,9 @@ [%- END %] @@ -314,6 +309,13 @@ + [%- IF is_customer %] + + + + + [%- END %] +
    [% IF is_customer %][% 'Customer' | $T8 %][% ELSE %][% 'Vendor' | $T8 %][% END %] - [%- UNLESS !delivered && SHOW_VC_DROP_DOWN %] - - [%- ELSE %] - - - [%- END %] - + [% IF RO %] + [% 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") %] + [% END %] + [% P.hidden_tag("previous_" _ vc_id, $vc_id) %] + [% P.button_tag("show_vc_details('" _ HTML.escape(vc) _ "')", LxERP.t8("Details (one letter abbreviation)")) %] [% IF ( delivered ) %] [% L.hidden_tag('department_id', department_id) %] + [% ELSE %] + [% L.select_tag('department_id', ALL_DEPARTMENTS, default = department_id, title_key = 'description', with_empty = 1, style = 'width: 250px', disabled = delivered )%] [% END %] - [% L.select_tag('department_id', ALL_DEPARTMENTS, default = department_id, title_key = 'description', with_empty = 1, style = 'width: 250px', disabled = delivered )%]
    [% 'Insert Date' | $T8 %][% insertdate %]
    [% 'Project Number' | $T8 %]