X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;ds=sidebyside;f=templates%2Fwebpages%2Fir%2F_payments.html;h=bef8c338e727fa7f78390865802c02f43270320b;hb=e48eb4dc7e721dbdf15417167e9320fd12decf69;hp=6d7db5ea0f77eba2766d4a312d9ca31cbaf73137;hpb=f46dfda018cac3aeaa549d678ad036d0cfff2e6d;p=kivitendo-erp.git diff --git a/templates/webpages/ir/_payments.html b/templates/webpages/ir/_payments.html index 6d7db5ea0..bef8c338e 100644 --- a/templates/webpages/ir/_payments.html +++ b/templates/webpages/ir/_payments.html @@ -1,6 +1,7 @@ [%- USE T8 %] [%- USE LxERP %] [%- USE L %] +[%- USE HTML %]
[% 'Source' | $T8 %] | [% 'Memo' | $T8 %] | [% 'Amount' | $T8 %] | +[% IF show_exchangerate %] | [% 'Exch' | $T8 %] | [% END %] @@ -43,7 +45,11 @@[% IF $changeable %] - [% L.date_tag('datepaid_'_ i, $datepaid) %] + [% IF $datepaid %] + [% L.date_tag('datepaid_'_ i, $datepaid) %] + [% ELSE %] + [% L.date_tag('datepaid_'_ i, today) %] + [% END %] [% ELSE %] [% $datepaid %] [% END %] @@ -70,6 +76,11 @@ [% LxERP.format_amount($paid, 2, 1) %] [% END %] | ++ [% IF $changeable && loop.last && paid_missing > 0 %] + + [% END %] + | [% IF show_exchangerate %]@@ -99,12 +110,6 @@ | - [% IF $changeable %] - - [% END %] [% END # foreach %] @@ -112,7 +117,7 @@[% 'Total' | $T8 %] | -[% LxERP.foramt_amount(totalpaid, 2) | html %] | +[% LxERP.format_amount(totalpaid, 2) | html %] |
---|
@@ -130,3 +135,6 @@ |