X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=templates%2Fwebpages%2Fir%2F_payments.html;h=6726c8b1dce915df6b982e788febf9f24b7338cb;hb=6d3c17768fc840f940a1d9cceb0d1a7bae3a7662;hp=63da6fcea4c151b74fb3e672128c76b78eb3f525;hpb=01678c873dfa6fcbe5003789e79d8b7ad7c93551;p=kivitendo-erp.git diff --git a/templates/webpages/ir/_payments.html b/templates/webpages/ir/_payments.html index 63da6fcea..6726c8b1d 100644 --- a/templates/webpages/ir/_payments.html +++ b/templates/webpages/ir/_payments.html @@ -6,19 +6,14 @@ -[% IF is_type_credit_note || vc == 'vendor' %] -[% ELSE %] - -[%- END %] - - + [% IF show_exchangerate %] [% END %] @@ -75,20 +70,25 @@ [% LxERP.format_amount($paid, 2, 1) %] [% END %] + [% IF show_exchangerate %] +
[% 'Payments' | $T8 %][% 'Incoming Payments' | $T8 %]
[% 'Date' | $T8 %] [% 'Source' | $T8 %] [% 'Memo' | $T8 %] [% 'Amount' | $T8 %][% 'Exch' | $T8 %] + [% IF $changeable && loop.last && paid_missing > 0 %] + + [% END %] + [% 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 %] @@ -129,3 +129,6 @@