X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;ds=sidebyside;f=templates%2Fwebpages%2Fis%2F_payments.html;h=93a0fb879775c36ac23aa81d4b23fe320f2d8e93;hb=3fa7a7a8e245681454e2bf11be50b4c305900511;hp=a872215029ef41a9f8aff06ad131cada7726fefb;hpb=469ca9fc3cac624073270fc3217766dbb7aba253;p=kivitendo-erp.git
diff --git a/templates/webpages/is/_payments.html b/templates/webpages/is/_payments.html
index a87221502..93a0fb879 100644
--- a/templates/webpages/is/_payments.html
+++ b/templates/webpages/is/_payments.html
@@ -18,6 +18,7 @@
[% 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,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) %]
+ [% IF $forex %]
+
+ [% LxERP.format_amount($forex, 5) %]
[% ELSE %]
[% IF $changeable %]
-
+
[% ELSE %]
-
- [% LxERP.format_amount($exchangerate, 2, 1) %]
+
+ [% LxERP.format_amount($exchangerate, 5, 1) %]
[% END %]
[% END %]
@@ -102,17 +112,6 @@
|
- [% IF $changeable %]
-