X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=templates%2Fwebpages%2Fir%2F_payments.html;h=cb4088622f3644bf995535847e2d93fcd9f442bd;hb=5e85b3263587809713a24e2cfe832940c60d2c3c;hp=179e65d5ecfd73104c176bb644423fb77075d809;hpb=2d3f862b7af94f31860dd264eef7c1bc7de7eae2;p=kivitendo-erp.git diff --git a/templates/webpages/ir/_payments.html b/templates/webpages/ir/_payments.html index 179e65d5e..cb4088622 100644 --- a/templates/webpages/ir/_payments.html +++ b/templates/webpages/ir/_payments.html @@ -1,10 +1,11 @@ [%- USE T8 %] [%- USE LxERP %] +[%- USE L %]
[% 'Payments' | $T8 %] | [% ELSE %][% 'Incoming Payments' | $T8 %] | @@ -25,42 +26,79 @@ [% FOREACH i = paid_indices %] + [% SET changeable = 'changeable_' _ i %] + [% SET acc_trans_id = 'acc_trans_id_' _ i %] + [% SET p_gldate = 'gldate_' _ i %] [% SET datepaid = 'datepaid_' _ i %] [% SET source = 'source_' _ i %] [% SET memo = 'memo_' _ i %] [% SET paid = 'paid_' _ i %] + [% SET AP_paid = 'AP_paid_' _ i %] [% SET selectAP_paid_ref = 'selectAP_paid_' _ i %] + + +||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
- - + [% IF $changeable %] + [% L.date_tag('datepaid_'_ i, $datepaid) %] + [% ELSE %] + [% $datepaid %] + [% END %] + | ++ [% IF $changeable %] + + [% ELSE %] + [% $source %] + [% END %] + | ++ [% IF $changeable %] + + [% ELSE %] + [% $memo %] + [% END %] + | ++ [% IF $changeable %] + + [% ELSE %] + + [% LxERP.format_amount($paid, 2, 1) %] + [% 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 %] + [% ELSE %] + + [% LxERP.format_amount($exchangerate, 2, 1) %] + [% END %] [% END %] - ; + | [% END %] -+ + | + [% IF $changeable %] + + [% ELSE %] + [% $AP_paid %] + [% END %] + |