X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;ds=sidebyside;f=templates%2Fwebpages%2Fis%2F_payments.html;h=ce4cb8ab44831c58941be2d269082de86f9e952f;hb=d2ab33ea45cee261d98267e4c336e5cd7be8521e;hp=73bd54f023c4ecb6c6792d4ff9ec8dae57b977e4;hpb=de0f9532013c861dae78aa01b9633284d1ceee7c;p=kivitendo-erp.git diff --git a/templates/webpages/is/_payments.html b/templates/webpages/is/_payments.html index 73bd54f02..ce4cb8ab4 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 %] @@ -24,42 +27,101 @@ [% 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 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 %] + | -- - + | + [% 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($forex, 2) %] [% ELSE %] + [% IF $changeable %] + [% ELSE %] + + [% LxERP.format_amount($exchangerate, 2, 1) %] + [% END %] [% END %] | [% END %] -+ + | + [% IF $changeable %] + + [% ELSE %] + [% $AR_paid %] + [% END %] + | [%- 'Total' | $T8 %] | -[% LxERP.foramt_amount(totalpaid, 2) | html %] | +[% LxERP.format_amount(totalpaid, 2) | html %] |
@@ -75,13 +137,19 @@ | [%- 'Missing amount' | $T8 %] | [% LxERP.format_amount(paid_missing, 2) | html %] |