X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/469ca9fc3cac624073270fc3217766dbb7aba253..c0ed7d2fa:/templates/webpages/is/_payments.html diff --git a/templates/webpages/is/_payments.html b/templates/webpages/is/_payments.html index a87221502..ffab3210f 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 %] @@ -73,12 +78,17 @@ [% LxERP.format_amount($paid, 2, 1) %] [% END %] + + [% IF $changeable && loop.last && paid_missing > 0 %] + + [% END %] + [% IF show_exchangerate %] [% SET forex = 'forex_' _ i %] [% SET exchangerate = 'exchangerate_' _ i %] - [% IF forex %] + [% IF $forex %] [% LxERP.format_amount($forex, 2) %] [% ELSE %] @@ -140,3 +150,6 @@ +