X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/f46dfda018cac3aeaa549d678ad036d0cfff2e6d..bcc996e65643:/templates/webpages/is/_payments.html diff --git a/templates/webpages/is/_payments.html b/templates/webpages/is/_payments.html index 41b018615..23400b583 100644 --- a/templates/webpages/is/_payments.html +++ b/templates/webpages/is/_payments.html @@ -18,6 +18,7 @@ [%- 'Source' | $T8 %] [%- 'Memo' | $T8 %] [%- 'Amount' | $T8 %] + [% IF show_exchangerate %] [%- 'Exch' | $T8 %] [% END %] @@ -45,7 +46,11 @@ [% IF $changeable %] - [% L.date_tag('datepaid_'_ i, $datepaid) %] + [% IF $datepaid %] + [% L.date_tag('datepaid_'_ i, $datepaid) %] + [% ELSE %] + [% L.date_tag('datepaid_'_ i, today) %] + [% END %] [% ELSE %] [% $datepaid %] [% END %] @@ -67,12 +72,17 @@ [% IF $changeable %] - + [% ELSE %] [% LxERP.format_amount($paid, 2, 1) %] [% END %] + + [% IF $changeable && loop.last && paid_missing > 0 %] + + [% END %] + [% IF show_exchangerate %] @@ -102,17 +112,6 @@ - [% IF $changeable %] - - - - - - [% END %] - [% END # foreach %] @@ -140,3 +139,6 @@ +