X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;ds=sidebyside;f=templates%2Fwebpages%2Fis%2F_payments.html;h=4a64d0db4893a80e5bfea79a7e6a6d81082bfb9f;hb=7482f315fbe357952e5446b02ef32c34e7923967;hp=2809c38645cd52a6e3a4077fe8c538e82136fcec;hpb=5f9465045129836e03c01a5c92301e42bc9ee8d8;p=kivitendo-erp.git
diff --git a/templates/webpages/is/_payments.html b/templates/webpages/is/_payments.html
index 2809c3864..4a64d0db4 100644
--- a/templates/webpages/is/_payments.html
+++ b/templates/webpages/is/_payments.html
@@ -24,42 +24,87 @@
[% FOREACH i = paid_indices %]
+ [% SET changeable = 'changeable_' _ i %]
+ [% SET acc_trans_id = 'acc_trans_id_' _ i %]
+ [% SET gldate = 'gldate_' _ i %]
[% SET datepaid = 'datepaid_' _ i %]
[% SET source = 'source_' _ i %]
[% SET memo = 'memo_' _ i %]
[% SET paid = 'paid_' _ i %]
+ [% SET AR_paid = 'AR_paid_' _ i %]
[% SET selectAR_paid_ref = 'selectAR_paid_' _ i %]
+
+
+
+
+ [% IF $changeable %]
+
+
+ [% ELSE %]
+ [% $datepaid %]
+ [% END %]
+ |
-
-
-
+ |
+ [% IF $changeable %]
+
+ [% ELSE %]
+ [% $source %]
+ [% END %]
+ |
+
+ [% IF $changeable %]
+
+ [% ELSE %]
+ [% $memo %]
+ [% END %]
+ |
+
+ [% IF $changeable %]
+
+ [% ELSE %]
+
+ [% LxERP.format_amount($paid, 2, 1) %]
+ [% END %]
|
- |
- |
- |
+
[% IF show_exchangerate %]
[% SET forex = 'forex_' _ i %]
[% SET exchangerate = 'exchangerate_' _ i %]
[% IF forex %]
- [% LxERP.format_amount(exchangerate, 2) %]
+ [% LxERP.format_amount($forex, 2) %]
[% ELSE %]
+ [% IF $changeable %]
+ [% ELSE %]
+
+ [% LxERP.format_amount($exchangerate, 2, 1) %]
+ [% END %]
[% END %]
|
[% END %]
- |
+
+
+ [% IF $changeable %]
+
+ [% ELSE %]
+ [% $AR_paid %]
+ [% END %]
+ |
+ [% IF $changeable %]
+ [% END %]
[% END # foreach %]
@@ -67,7 +112,7 @@
|
|
[%- 'Total' | $T8 %] |
- [% LxERP.foramt_amount(totalpaid, 2) | html %] |
+ [% LxERP.format_amount(totalpaid, 2) | html %] |
|