From 0b5ad87e54aef3a72c22dd82f7dd0e7725abb92b Mon Sep 17 00:00:00 2001 From: Nick Clemens Date: Mon, 27 Jan 2020 11:48:31 +0000 Subject: [PATCH] Bug 24486: Alternate Test plan: Create a manual invoice Pay it Void it Go to the opac, account => You should see only one "(Voided)" --- koha-tmpl/opac-tmpl/bootstrap/en/includes/account-table.inc | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/includes/account-table.inc b/koha-tmpl/opac-tmpl/bootstrap/en/includes/account-table.inc index 17f1ae3264..a3f7b50b7b 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/includes/account-table.inc +++ b/koha-tmpl/opac-tmpl/bootstrap/en/includes/account-table.inc @@ -29,7 +29,6 @@ [% ACCOUNT_LINE.date | $KohaDates %] [% PROCESS account_type_description account=ACCOUNT_LINE %] - [%- PROCESS account_status_description account=ACCOUNT_LINE -%] [%- IF ACCOUNT_LINE.payment_type %][% AuthorisedValues.GetByCode('PAYMENT_TYPE', ACCOUNT_LINE.payment_type, 1) | html %][% END %] @@ -59,7 +58,6 @@ [% outstanding_credit.date | $KohaDates %] [% PROCESS account_type_description account=outstanding_credit %] - [%- PROCESS account_status_description account=outstanding_credit -%] [%- IF outstanding_credit.payment_type %][% AuthorisedValues.GetByCode('PAYMENT_TYPE', outstanding_credit.payment_type, 1) | html %][% END %] @@ -198,11 +196,6 @@ [%- CASE -%][% account.debit_type.description | html %] [%- END -%] [%- END -%] - [%- PROCESS account_status_description account=account -%] - -[%- END -%] - -[%- BLOCK account_status_description -%] [%- SWITCH account.status -%] [%- CASE 'UNRETURNED' -%] (Accruing) [%- CASE 'RETURNED' -%] (Returned) @@ -212,4 +205,6 @@ [%- CASE 'LOST' -%] (Lost) [%- CASE -%] [%- END -%] + [%- END -%] + -- 2.11.0