From 08948b3fa161bc70456803990400f331f786e57f Mon Sep 17 00:00:00 2001 From: Nick Clemens Date: Mon, 27 Jan 2020 11:48:31 +0000 Subject: [PATCH] Bug 24486: Remove duplicated account information at the OPAC Test plan: Create a manual invoice Pay it Void it Go to the opac, account => You should see only one "(Voided)" Signed-off-by: Jonathan Druart Signed-off-by: Martin Renvoize Signed-off-by: Joy Nelson (cherry picked from commit 4f283ebba5ded2e64e8df26d19e24310234956c9) Signed-off-by: Lucas Gass --- .../opac-tmpl/bootstrap/en/includes/account-table.inc | 7 +------ 1 file changed, 1 insertion(+), 6 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 7dbf9ad18e..f4476885e0 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 %] @@ -140,10 +138,6 @@ [%- CASE 'Res' -%]Hold fee [%- CASE -%][% account.accounttype | html %] [%- END -%] - [%- PROCESS account_status_description account=account -%] -[%- END -%] - -[%- BLOCK account_status_description -%] [%- SWITCH account.status -%] [%- CASE 'UNRETURNED' -%] (Accruing) [%- CASE 'RETURNED' -%] (Returned) @@ -152,4 +146,5 @@ [%- CASE 'VOID' -%] (Voided) [%- CASE -%] [%- END -%] + [%- END -%] -- 2.39.5