From 68c8caba405b404b3df3e30ea9b2442b45ed33e1 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Fri, 24 Jan 2020 15:38:48 +0100 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)" --- koha-tmpl/opac-tmpl/bootstrap/en/includes/account-table.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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..de063accf4 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/includes/account-table.inc +++ b/koha-tmpl/opac-tmpl/bootstrap/en/includes/account-table.inc @@ -115,6 +115,7 @@ [% a.date | $KohaDates %] [% PROCESS account_type_description account=a %] + [%- PROCESS account_status_description account=a -%] [%- IF a.payment_type %], [% AuthorisedValues.GetByCode('PAYMENT_TYPE', a.payment_type, 1) | html %][% END %] [%- IF a.description %], [% a.description | html %][% END %] [% IF a.itemnumber %]([% a.item.biblio.title | html %])[% END %] @@ -198,7 +199,6 @@ [%- CASE -%][% account.debit_type.description | html %] [%- END -%] [%- END -%] - [%- PROCESS account_status_description account=account -%] [%- END -%] -- 2.11.0