X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;ds=sidebyside;f=templates%2Fwebpages%2Fir%2F_payments.html;h=bef8c338e727fa7f78390865802c02f43270320b;hb=2bc33284e526869f0de7aa0ddd5cdb141432f4e3;hp=c3c7ca2d36eb165d09a5a1a2aa9688b1c0a4096c;hpb=0f83109985b416d2e18e472ede54e4f633ed3596;p=kivitendo-erp.git diff --git a/templates/webpages/ir/_payments.html b/templates/webpages/ir/_payments.html index c3c7ca2d3..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 %] @@ -25,42 +28,88 @@ [% 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 %] + [% IF $datepaid %] + [% L.date_tag('datepaid_'_ i, $datepaid) %] + [% ELSE %] + [% L.date_tag('datepaid_'_ i, today) %] + [% END %] + [% ELSE %] + [% $datepaid %] + [% END %] + | ++ [% IF $changeable %] + + [% ELSE %] + [% $source %] + [% END %] + | ++ [% IF $changeable %] + + [% ELSE %] + [% $memo %] + [% END %] | -- | - | + | + [% 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 %] + [% 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 %] + | [% 'Total' | $T8 %] | -[% LxERP.foramt_amount(totalpaid, 2) | html %] | +[% LxERP.format_amount(totalpaid, 2) | html %] |
@@ -86,3 +135,6 @@ |