From a20dc211b6055572314c22e816225a5451d19089 Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Wed, 21 Oct 2020 10:25:51 +0200 Subject: [PATCH] Dialogbuchen: HTML-Code vereinfacht --- templates/webpages/gl/form_header.html | 75 ++++++++------------------ 1 file changed, 21 insertions(+), 54 deletions(-) diff --git a/templates/webpages/gl/form_header.html b/templates/webpages/gl/form_header.html index 2bf82588e..8a53cab2b 100644 --- a/templates/webpages/gl/form_header.html +++ b/templates/webpages/gl/form_header.html @@ -48,83 +48,50 @@ - +
- + - + + [%- IF id %] - + - + + [%- END %] [% SET departments_style = ""; SET departments_style = "style='visibility:hidden'" IF ALL_DEPARTMENTS.size == 0 %] - + - + - - - - + + + + + [%- IF id %] - -[%- END %] + + + +[%- END %] -- 2.20.1
[% 'Previous transnumber text' | $T8 %] [% previous_id %] . [% 'Previous transdate text' | $T8 %] [% previous_gldate %]
[% 'Reference' | $T8 %][% 'Reference' | $T8 %] [% L.input_tag('reference', reference, size=20, readonly=readonly) %] - - - - - -
[% 'Transdate' | $T8 %][% L.date_tag('transdate', transdate, readonly=readonly) %]
-
[% 'Transdate' | $T8 %][% L.date_tag('transdate', transdate, readonly=readonly) %]
[% 'ID' | $T8 %][% 'ID' | $T8 %] [% L.input_tag('id', id, size=20, readonly=readonly) %] - - - - [%-# hidden img to keep alignment -%] - - -
[% 'Gldate' | $T8 %][% L.date_tag('gldate', gldate, readonly=1) %]
-
[% 'Gldate' | $T8 %][% L.date_tag('gldate', gldate, readonly=1) %]
[% 'Department' | $T8 %][% '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) %]
+
[% 'Delivery Date' | $T8 %][% L.date_tag('deliverydate', deliverydate) %]
[% 'Description' | $T8 %][% L.areainput_tag('description', description, cols=50, readonly=readonly) %] - - - - - -
[% 'MwSt. inkl.' | $T8 %][% L.checkbox_tag('taxincluded', checked=taxincluded) %]
-
[% 'Description' | $T8 %][% L.areainput_tag('description', description, cols=50, readonly=readonly) %][% 'MwSt. inkl.' | $T8 %][% L.checkbox_tag('taxincluded', checked=taxincluded) %]
- - - - - -
[% 'Mitarbeiter' | $T8 %][% L.input_tag('employee', employee, size=20, readonly=readonly) %]
-
[% 'Mitarbeiter' | $T8 %][% L.input_tag('employee', employee, size=20, readonly=readonly) %]
- - - - - -
[% 'OB Transaction' | $T8 %] [% L.checkbox_tag('ob_transaction' checked=ob_transaction) %][% 'CB Transaction' | $T8 %] [% L.checkbox_tag('cb_transaction' checked=cb_transaction) %]
+ [% 'OB Transaction' | $T8 %] [% L.checkbox_tag('ob_transaction' checked=ob_transaction) %] + [% 'CB Transaction' | $T8 %] [% L.checkbox_tag('cb_transaction' checked=cb_transaction) %]