X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/fc577cb1ed6f46e4779624b97dc87f30abbd8c1c..HEAD:/templates/webpages/ir/_payments.html diff --git a/templates/webpages/ir/_payments.html b/templates/webpages/ir/_payments.html index 6726c8b1d..df7a722c8 100644 --- a/templates/webpages/ir/_payments.html +++ b/templates/webpages/ir/_payments.html @@ -80,9 +80,17 @@ [% SET forex = 'forex_' _ i %] [% SET exchangerate = 'exchangerate_' _ i %] + [% SET defaultcurrency_paid = 'defaultcurrency_paid_' _ i %] + [% SET record_forex = 'record_forex_' _ i %] + [% SET fx_transaction = 'fx_transaction_' _ i %] [% IF $forex %] - [% LxERP.format_amount($forex, 5) %] + + + + + [% LxERP.format_amount($forex, 5) %] = [% LxERP.format_amount($defaultcurrency_paid, 5) %] [% defaultcurrency %]
+ [% IF $record_forex %][% 'bank transaction exchange rate' | $T8 %][%- ELSE %][% 'default exchange rate' | $T8 %][%- END %] [% ELSE %] [% IF $changeable %] @@ -110,15 +118,22 @@ - [% 'Total' | $T8 %] - [% LxERP.format_amount(totalpaid, 2) | html %] + [%- 'Total' | $T8 %] + [% LxERP.format_amount(totalpaid, 2) | html %] [% currency %] + + [% IF show_exchangerate %] + [% LxERP.format_amount(defaultcurrency_totalpaid, 2) | html %] [% defaultcurrency %] + + [% END %] +[% UNLESS show_exchangerate %] - [% 'Missing amount' | $T8 %] + [%- 'Missing amount' | $T8 %] [% LxERP.format_amount(paid_missing, 2) | html %] +[% END %] @@ -130,5 +145,5 @@