From: Moritz Bunkus Date: Thu, 1 Oct 2015 14:06:23 +0000 (+0200) Subject: Debitoren-/Kreditorenbuchungen: Kreditlimit-Anzeige angepasst/gefixt X-Git-Tag: release-3.4.1~677 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=f400636723fe7ead2396f6c9cf1e7207bfe75f8e;p=kivitendo-erp.git Debitoren-/Kreditorenbuchungen: Kreditlimit-Anzeige angepasst/gefixt Der Titel »Kreditlimit« wird nun wie andere Zeilentitel in der linken Spalte angezeigt, was den Blickfluss stabilisiert. Weiterhin wurde in der Debitorenbuchungsmaske auch ein negativer verbleibender Kredit in grün anstelle von rot angezeigt. Grund war ein Vergleich mit einer falschen Variablen. --- diff --git a/templates/webpages/ap/form_header.html b/templates/webpages/ap/form_header.html index 8fbd9c799..f65b3014b 100644 --- a/templates/webpages/ap/form_header.html +++ b/templates/webpages/ap/form_header.html @@ -108,16 +108,11 @@ - - - - - - - - - -
[% 'Credit Limit' | $T8 %][% creditlimit | html %][% 'Remaining' | $T8 %][% creditremaining | html %]
+ [% LxERP.t8("Credit Limit") %] + + [% creditlimit | html %]; + [% LxERP.t8("Remaining") %] + [% creditremaining | html %] diff --git a/templates/webpages/ar/form_header.html b/templates/webpages/ar/form_header.html index 03fb634fa..cef1f62f9 100644 --- a/templates/webpages/ar/form_header.html +++ b/templates/webpages/ar/form_header.html @@ -69,16 +69,11 @@ [%- END %] - - - - - - - - - -
[% 'Credit Limit' | $T8 %][% LxERP.format_amount(creditlimit, 0) %][% L.hidden_tag('creditlimit', LxERP.format_amount(creditlimit, 0)) %][% 'Remaining' | $T8 %][% LxERP.format_amount(creditremaining, 0) %][% L.hidden_tag('creditremaining', LxERP.format_amount(creditremaining, 0)) %]
+ [% LxERP.t8("Credit Limit") %] + + [% LxERP.format_amount(creditlimit, 0) %][% L.hidden_tag('creditlimit', LxERP.format_amount(creditlimit, 0)) %]; + [% LxERP.t8("Remaining") %] + [% LxERP.format_amount(creditremaining, 0) %][% L.hidden_tag('creditremaining', LxERP.format_amount(creditremaining, 0)) %]