X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;ds=sidebyside;f=templates%2Fwebpages%2Fir%2F_payments.html;h=6726c8b1dce915df6b982e788febf9f24b7338cb;hb=f70c8fa479417e7c20108a23c18c0c6e5e683c6a;hp=277d4db49e9c4aea6247ccc356fb11b7e5d7b133;hpb=b56c0cd76508a8d39e080f316285db1c52c17255;p=kivitendo-erp.git diff --git a/templates/webpages/ir/_payments.html b/templates/webpages/ir/_payments.html index 277d4db49..6726c8b1d 100644 --- a/templates/webpages/ir/_payments.html +++ b/templates/webpages/ir/_payments.html @@ -1,22 +1,19 @@ [%- USE T8 %] [%- USE LxERP %] +[%- USE L %] +[%- USE HTML %]
[% 'Payments' | $T8 %] | -[% ELSE %] -[% 'Incoming Payments' | $T8 %] | -[%- END %]||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
[% 'Date' | $T8 %] | [% 'Source' | $T8 %] | [% 'Memo' | $T8 %] | [% 'Amount' | $T8 %] | +[% IF show_exchangerate %] | [% 'Exch' | $T8 %] | [% END %] @@ -27,7 +24,7 @@ [% FOREACH i = paid_indices %] [% SET changeable = 'changeable_' _ i %] [% SET acc_trans_id = 'acc_trans_id_' _ i %] - [% SET gldate = 'gldate_' _ i %] + [% SET p_gldate = 'gldate_' _ i %] [% SET datepaid = 'datepaid_' _ i %] [% SET source = 'source_' _ i %] [% SET memo = 'memo_' _ i %] @@ -36,14 +33,17 @@ [% SET selectAP_paid_ref = 'selectAP_paid_' _ i %] - +||||||
[% IF $changeable %] - - + [% IF $datepaid %] + [% L.date_tag('datepaid_'_ i, $datepaid) %] + [% ELSE %] + [% L.date_tag('datepaid_'_ i, today) %] + [% END %] [% ELSE %] [% $datepaid %] [% END %] @@ -70,23 +70,28 @@ [% 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(exchangerate, 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 %] - ; + | [% END %] @@ -99,13 +104,6 @@[% 'Total' | $T8 %] | -[% LxERP.foramt_amount(totalpaid, 2) | html %] | +[% LxERP.format_amount(totalpaid, 2) | html %] | ||||||
@@ -131,3 +129,6 @@ |