@@ -, +, @@ templates voided payment) ACCOUNt_LINE), so the status was not shown at all --- .../intranet-tmpl/prog/en/includes/accounts.inc | 43 +++++++++++----------- .../bootstrap/en/includes/account-table.inc | 17 +++++---- 2 files changed, 31 insertions(+), 29 deletions(-) --- a/koha-tmpl/intranet-tmpl/prog/en/includes/accounts.inc +++ a/koha-tmpl/intranet-tmpl/prog/en/includes/accounts.inc @@ -1,27 +1,28 @@ [%- BLOCK account_type_description -%] [%- SWITCH account.accounttype -%] - [%- CASE 'Pay' -%]Payment - [%- CASE 'Pay00' -%]Payment (cash via SIP2) - [%- CASE 'Pay01' -%]Payment (VISA via SIP2) - [%- CASE 'Pay02' -%]Payment (credit card via SIP2) - [%- CASE 'N' -%]New card - [%- CASE 'OVERDUE' -%]Fine[%- PROCESS account_status_description account=account -%] - [%- CASE 'A' -%]Account management fee - [%- CASE 'M' -%]Sundry - [%- CASE 'L' -%]Lost item - [%- CASE 'W' -%]Writeoff[%- PROCESS account_status_description account=account -%] - [%- CASE 'HE' -%]Hold waiting too long - [%- CASE 'Rent' -%]Rental fee - [%- CASE 'FOR' -%]Forgiven[%- PROCESS account_status_description account=account -%] - [%- CASE 'LR' -%]Lost item fee refund[%- PROCESS account_status_description account=account -%] - [%- CASE 'PF' -%]Lost item processing fee[%- PROCESS account_status_description account=account -%] - [%- CASE 'PAY' -%]Payment[%- PROCESS account_status_description account=account -%] - [%- CASE 'WO' -%]Writeoff[%- PROCESS account_status_description account=account -%] - [%- CASE 'C' -%]Credit[%- PROCESS account_status_description account=account -%] - [%- CASE 'CR' -%]Credit[%- PROCESS account_status_description account=account -%] - [%- CASE 'Res' -%]Hold fee - [%- CASE -%][% account.accounttype | html %] + [%- CASE 'Pay' -%]Payment + [%- CASE 'Pay00' -%]Payment (cash via SIP2) + [%- CASE 'Pay01' -%]Payment (VISA via SIP2) + [%- CASE 'Pay02' -%]Payment (credit card via SIP2) + [%- CASE 'N' -%]New card + [%- CASE 'OVERDUE' -%]Fine + [%- CASE 'A' -%]Account management fee + [%- CASE 'M' -%]Sundry + [%- CASE 'L' -%]Lost item + [%- CASE 'W' -%]Writeoff + [%- CASE 'HE' -%]Hold waiting too long + [%- CASE 'Rent' -%]Rental fee + [%- CASE 'FOR' -%]Forgiven + [%- CASE 'LR' -%]Lost item fee refund + [%- CASE 'PF' -%]Lost item processing fee + [%- CASE 'PAY' -%]Payment + [%- CASE 'WO' -%]Writeoff + [%- CASE 'C' -%]Credit + [%- CASE 'CR' -%]Credit + [%- CASE 'Res' -%]Hold fee + [%- CASE -%][% account.accounttype | html %] [%- END -%] + [%- PROCESS account_status_description account=account -%] [%- END -%] [%- BLOCK offset_type_description -%] --- a/koha-tmpl/opac-tmpl/bootstrap/en/includes/account-table.inc +++ a/koha-tmpl/opac-tmpl/bootstrap/en/includes/account-table.inc @@ -35,23 +35,24 @@ [% CASE 'Pay02' %]Payment (credit card via SIP2) [% CASE 'VOID' %]Voided [% CASE 'N' %]New card - [% CASE 'OVERDUE' %]Fine[%- PROCESS account_status_description account=account -%] + [% CASE 'OVERDUE' %]Fine [% CASE 'A' %]Account management fee [% CASE 'M' %]Sundry [% CASE 'L' %]Lost item - [% CASE 'W' %]Writeoff[%- PROCESS account_status_description account=account -%] + [% CASE 'W' %]Writeoff [% CASE 'HE' %]Hold waiting too long [% CASE 'Rent' %]Rental fee - [% CASE 'FOR' %]Forgiven[%- PROCESS account_status_description account=account -%] - [% CASE 'LR' %]Lost item fee refund[%- PROCESS account_status_description account=account -%] + [% CASE 'FOR' %]Forgiven + [% CASE 'LR' %]Lost item fee refund [% CASE 'PF' %]Lost item processing fee - [% CASE 'PAY' %]Payment[%- PROCESS account_status_description account=account -%] - [% CASE 'WO' %]Writeoff[%- PROCESS account_status_description account=account -%] - [% CASE 'C' %]Credit[%- PROCESS account_status_description account=account -%] - [% CASE 'CR' %]Credit[%- PROCESS account_status_description account=account -%] + [% CASE 'PAY' %]Payment + [% CASE 'WO' %]Writeoff + [% CASE 'C' %]Credit + [% CASE 'CR' %]Credit [%-CASE 'Res' %]Hold fee [% CASE %][% ACCOUNT_LINE.accounttype | html %] [%- END -%] + [%- PROCESS account_status_description account=ACCOUNT_LINE -%] [%- IF ACCOUNT_LINE.payment_type %][% AuthorisedValues.GetByCode('PAYMENT_TYPE', ACCOUNT_LINE.payment_type, 1) | html %][% END %] --