X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/69a44d3b470358fcd7e473d38fb5dfd5c62c8b50..c5d397d9b1c2e13dfdaf644fbd98cd41d00a2909:/templates/webpages/ir/_payments.html diff --git a/templates/webpages/ir/_payments.html b/templates/webpages/ir/_payments.html index 51a1fdd18..bef8c338e 100644 --- a/templates/webpages/ir/_payments.html +++ b/templates/webpages/ir/_payments.html @@ -1,5 +1,7 @@ [%- USE T8 %] [%- USE LxERP %] +[%- USE L %] +[%- USE HTML %]
| [% 'Source' | $T8 %] | [% 'Memo' | $T8 %] | [% 'Amount' | $T8 %] | +[% IF show_exchangerate %] | [% 'Exch' | $T8 %] | [% END %] @@ -42,8 +45,11 @@[% IF $changeable %] - - + [% IF $datepaid %] + [% L.date_tag('datepaid_'_ i, $datepaid) %] + [% ELSE %] + [% L.date_tag('datepaid_'_ i, today) %] + [% END %] [% ELSE %] [% $datepaid %] [% END %] @@ -70,14 +76,19 @@ [% 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(exchangerate, 2) %] + [% LxERP.format_amount($forex, 2) %] [% ELSE %] [% IF $changeable %] @@ -86,7 +97,7 @@ [% LxERP.format_amount($exchangerate, 2, 1) %] [% END %] [% END %] - ; + | [% END %] @@ -99,13 +110,6 @@ - [% IF $changeable %] - - [% END %] [% END # foreach %] @@ -113,7 +117,7 @@[% 'Total' | $T8 %] | -[% LxERP.foramt_amount(totalpaid, 2) | html %] | +[% LxERP.format_amount(totalpaid, 2) | html %] |
|---|
| @@ -131,3 +135,6 @@ |