X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=templates%2Fwebpages%2Fis%2F_payments.html;h=8072df314fcd4222278f0334f2165f601da76ffe;hb=9447acbeb7b1cd0bb4691aa1da8f533ca9099064;hp=e0da4e1a25d77fc07927e7c2749952180044a151;hpb=5058c99dba2ca85519c891465f86b4f3d7fcfce5;p=kivitendo-erp.git diff --git a/templates/webpages/is/_payments.html b/templates/webpages/is/_payments.html index e0da4e1a2..8072df314 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 %] @@ -71,26 +72,31 @@ [% IF $changeable %] - + [% ELSE %] [% 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 %] - - [% LxERP.format_amount($forex, 2) %] + + [% LxERP.format_amount($forex, 5) %] [% ELSE %] [% IF $changeable %] - + [% ELSE %] - - [% LxERP.format_amount($exchangerate, 2, 1) %] + + [% LxERP.format_amount($exchangerate, 5, 1) %] [% END %] [% END %] @@ -106,17 +112,6 @@ - [% IF $changeable %] - - - - - - [% END %] - [% END # foreach %] @@ -144,3 +139,6 @@ +