@@ -, +, @@ --- .../bootstrap/en/includes/account-table.inc | 40 +++++++++++++++++++ .../bootstrap/en/modules/opac-user.tt | 21 ++++++++++ opac/opac-account.pl | 28 +++++++++++++ opac/opac-user.pl | 13 ++++++ 4 files changed, 102 insertions(+) --- a/koha-tmpl/opac-tmpl/bootstrap/en/includes/account-table.inc +++ a/koha-tmpl/opac-tmpl/bootstrap/en/includes/account-table.inc @@ -116,6 +116,46 @@
Date | +Description | +Fine amount | +Amount outstanding | +||
---|---|---|---|---|---|
[% a.date | $KohaDates %] | ++ [% PROCESS account_type_description account=a %] + [%- IF a.payment_type %], [% AuthorisedValues.GetByCode('PAYMENT_TYPE', a.payment_type, 1) %][% END %] + [%- IF a.description %], [% a.description %][% END %] + [% IF a.itemnumber %]([% a.item.biblio.title %])[% END %] + | + [% IF ( a.amount < 0 ) %][% ELSE %] | [% END %][% a.amount | $Price %] | + [% IF ( a.amountoutstanding < 0 ) %][% ELSE %] | [% END %][% a.amountoutstanding | $Price %] | +
Total due | +[% account_sum | $Price %] | +
Amount | +|
---|---|
[% r.firstname %] [% r.surname %] currently owes fines and charges amounting to: | +[% r.account.balance | $Price %] | +