X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/ad635c66023bc107d55b2f2f41f6fcadabd02cc3..0ea3d7bd2ed6feec7c25312a44f59cd4f01a1b98:/templates/webpages/gl/form_header.html diff --git a/templates/webpages/gl/form_header.html b/templates/webpages/gl/form_header.html index 2a34a69e9..2bf82588e 100644 --- a/templates/webpages/gl/form_header.html +++ b/templates/webpages/gl/form_header.html @@ -4,19 +4,13 @@ [%- USE L %]

[% title | html %]

- - +[%- INCLUDE 'common/flash.html' %] + + -
+ [% FOREACH name IN [ 'id', 'closedto', 'locked', 'storno', 'storno_id', 'previous_id', 'previous_gldate' ] %] [% L.hidden_tag(name, $name) %] @@ -34,6 +28,12 @@
  • [% 'Basic Data' | $T8 %]
  • [%- IF INSTANCE_CONF.get_webdav %]
  • [% 'WebDAV' | $T8 %]
  • +[%- END %] +[%- IF id %] +[%- IF INSTANCE_CONF.get_doc_storage %] +
  • [% 'Documents' | $T8 %]
  • +
  • [% 'Attachments' | $T8 %]
  • +[%- END %] [%- END %]
    @@ -58,33 +58,41 @@ - - + +
    [% 'Date' | $T8 %][% L.date_tag('transdate', transdate, readonly=readonly) %][% 'Transdate' | $T8 %][% L.date_tag('transdate', transdate, readonly=readonly) %]
    [%- IF id %] - [% 'Belegnummer' | $T8 %] + [% 'ID' | $T8 %] [% L.input_tag('id', id, size=20, readonly=readonly) %] - - + + [%-# hidden img to keep alignment -%] +
    [% 'Buchungsdatum' | $T8 %][% L.date_tag('gldate', gldate, readonly=1) %][% 'Gldate' | $T8 %][% L.date_tag('gldate', gldate, readonly=1) %]
    [%- END %] -[%- IF ALL_DEPARTMENTS %] + [% SET departments_style = ""; + SET departments_style = "style='visibility:hidden'" IF ALL_DEPARTMENTS.size == 0 %] - [% 'Department' | $T8 %] - [% L.select_tag('department_id', ALL_DEPARTMENTS, default = department_id, title_key = 'description', with_empty = 1) %] + [% 'Department' | $T8 %] + [% L.select_tag('department_id', ALL_DEPARTMENTS, default = department_id, title_key = 'description', with_empty = 1) %] + + + + + + +
    [% 'Delivery Date' | $T8 %][% L.date_tag('deliverydate', deliverydate) %]
    -[%- END %] [% 'Description' | $T8 %]