From 4f283ebba5ded2e64e8df26d19e24310234956c9 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 --- .../opac-tmpl/bootstrap/en/includes/account-table.inc | 8 +------- 1 file changed, 1 insertion(+), 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..8f38a70d7d 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,5 @@ [%- CASE 'LOST' -%] (Lost) [%- CASE -%] [%- END -%] + [%- END -%] -- 2.39.5