X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=templates%2Fwebpages%2Fis%2F_payments.html;h=23400b5832a305548136f511f12749c9af0ff361;hb=78d813b90a293eafa7e17f711edeef5551f937d3;hp=a872215029ef41a9f8aff06ad131cada7726fefb;hpb=46bc75c8079099de22ccbc6281b04f42ade67f1a;p=kivitendo-erp.git
diff --git a/templates/webpages/is/_payments.html b/templates/webpages/is/_payments.html
index a87221502..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,18 +72,23 @@
|
[% 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 %]
+ [% IF $forex %]
[% LxERP.format_amount($forex, 2) %]
[% ELSE %]
@@ -102,17 +112,6 @@
|
- [% IF $changeable %]
-
-
-
- |
-
- [% END %]
-
[% END # foreach %]
@@ -140,3 +139,6 @@
+