X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=templates%2Fwebpages%2Fis%2F_payments.html;h=93a0fb879775c36ac23aa81d4b23fe320f2d8e93;hb=811f204f533e250e9d883d78bef4ebd8defa5178;hp=01413ab2e790ab8c41577e9e60b58d8f1839d916;hpb=69a44d3b470358fcd7e473d38fb5dfd5c62c8b50;p=kivitendo-erp.git diff --git a/templates/webpages/is/_payments.html b/templates/webpages/is/_payments.html index 01413ab2e..93a0fb879 100644 --- a/templates/webpages/is/_payments.html +++ b/templates/webpages/is/_payments.html @@ -1,4 +1,6 @@ -[%- USE LxERP %][% USE T8 %] +[%- USE LxERP %] +[%- USE T8 %] +[%- USE L %]
[%- 'Source' | $T8 %] | [%- 'Memo' | $T8 %] | [%- 'Amount' | $T8 %] | +[% IF show_exchangerate %] | [%- 'Exch' | $T8 %] | [% END %] @@ -43,8 +46,11 @@
---|---|---|---|
[% IF $changeable %] - - + [% IF $datepaid %] + [% L.date_tag('datepaid_'_ i, $datepaid) %] + [% ELSE %] + [% L.date_tag('datepaid_'_ i, today) %] + [% END %] [% ELSE %] [% $datepaid %] [% END %] @@ -66,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 %] @@ -101,18 +112,6 @@ |