X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/80913703fa88cf84a3e62becd9f988b4786efb16..c5d397d9b1c2e13dfdaf644fbd98cd41d00a2909:/templates/webpages/is/_payments.html diff --git a/templates/webpages/is/_payments.html b/templates/webpages/is/_payments.html index 4a64d0db4..ffab3210f 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 %] @@ -26,22 +29,28 @@ [% 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 %] [% SET paid = 'paid_' _ i %] [% SET AR_paid = 'AR_paid_' _ i %] [% SET selectAR_paid_ref = 'selectAR_paid_' _ i %] - - - +
|---|---|---|
| [% IF $changeable %] - - + [% IF $datepaid %] + [% L.date_tag('datepaid_'_ i, $datepaid) %] + [% ELSE %] + [% L.date_tag('datepaid_'_ i, today) %] + [% END %] [% ELSE %] [% $datepaid %] [% END %] @@ -69,12 +78,17 @@ [% 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($forex, 2) %] [% ELSE %] @@ -99,11 +113,14 @@ | [%- 'Missing amount' | $T8 %] | [% LxERP.format_amount(paid_missing, 2) | html %] | - +