From b0eb18bf70bd3b27428a6cb6e15a31c9b468c75c Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Tue, 29 Sep 2015 16:24:59 +0200 Subject: [PATCH] Debitoren-/Kreditorenbuchungen: bei Zahlungen per Knopfdruck auf Fehlbetrag setzen --- templates/webpages/ap/form_header.html | 11 +++++++++++ templates/webpages/ar/form_header.html | 10 ++++++++++ 2 files changed, 21 insertions(+) diff --git a/templates/webpages/ap/form_header.html b/templates/webpages/ap/form_header.html index 4d81f9d94..8fbd9c799 100644 --- a/templates/webpages/ap/form_header.html +++ b/templates/webpages/ap/form_header.html @@ -268,6 +268,7 @@ [% 'Source' | $T8 %] [% 'Memo' | $T8 %] [% 'Amount' | $T8 %] + [% IF ( !defaultcurrency || (currency != defaultcurrency) ) %] [% 'Exch' | $T8 %] [% END %] @@ -320,6 +321,12 @@ [% END %] + + [% IF changeable && loop.last && paid_missing > 0 %] + + [% END %] + + [% IF ( !defaultcurrency || (currency != defaultcurrency) ) %] [% temp = "exchangerate_"_ i %] @@ -377,3 +384,7 @@ + + diff --git a/templates/webpages/ar/form_header.html b/templates/webpages/ar/form_header.html index 0f588671d..ee3aa5cd3 100644 --- a/templates/webpages/ar/form_header.html +++ b/templates/webpages/ar/form_header.html @@ -202,6 +202,7 @@ [% 'Source' | $T8 %] [% 'Memo' | $T8 %] [% 'Amount' | $T8 %] + [%- IF show_exch %] [% 'Exch' | $T8 %] [%- END %] @@ -239,6 +240,11 @@ [% row.paid | html %] [%- END %] + + [% IF row.changeable && loop.last && paid_missing > 0 %] + + [% END %] + [%- IF show_exch %] [%- IF row.forex || !row.changeable%] @@ -289,3 +295,7 @@ + + -- 2.20.1