X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=templates%2Fwebpages%2Fis%2F_payments.html;h=23400b5832a305548136f511f12749c9af0ff361;hb=85743ebe243343d54454245d295aa436945b598d;hp=01413ab2e790ab8c41577e9e60b58d8f1839d916;hpb=6a8e9b7d59c490093be1315d22fd8d675b6bc930;p=kivitendo-erp.git diff --git a/templates/webpages/is/_payments.html b/templates/webpages/is/_payments.html index 01413ab2e..23400b583 100644 --- a/templates/webpages/is/_payments.html +++ b/templates/webpages/is/_payments.html @@ -1,4 +1,6 @@ -[%- USE LxERP %][% USE T8 %] +[%- USE LxERP %] +[%- USE T8 %] +[%- USE L %] @@ -16,6 +18,7 @@ + [% IF show_exchangerate %] [% END %] @@ -43,8 +46,11 @@ + [% IF show_exchangerate %] - [% IF $changeable %] - - - - [% END %] - [% END # foreach %] @@ -140,3 +139,6 @@ +
[%- 'Source' | $T8 %] [%- 'Memo' | $T8 %] [%- 'Amount' | $T8 %][%- 'Exch' | $T8 %]
[% IF $changeable %] - - + [% IF $datepaid %] + [% L.date_tag('datepaid_'_ i, $datepaid) %] + [% ELSE %] + [% L.date_tag('datepaid_'_ i, today) %] + [% END %] [% ELSE %] [% $datepaid %] [% END %] @@ -66,18 +72,23 @@ [% IF $changeable %] - + [% ELSE %] [% LxERP.format_amount($paid, 2, 1) %] [% END %] + [% IF $changeable && loop.last && paid_missing > 0 %] + + [% END %] + [% SET forex = 'forex_' _ i %] [% SET exchangerate = 'exchangerate_' _ i %] - [% IF forex %] + [% IF $forex %] [% LxERP.format_amount($forex, 2) %] [% ELSE %] @@ -101,18 +112,6 @@
- -