From 742d0d7d66991fc6850b2c5ed8b60f2a77ebb35e Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Wed, 18 Jan 2023 13:12:08 +0000 Subject: [PATCH] Bug 32634: (follow-up) Restructure page headings An error in template logic is preventing the page's h1 from displaying. Rather than fixing this I have changed the h1 to display a generic "Transaction details" h1. The h2 shows the transaction type (credit or debit). The h2 is now inside the .page-section. --- .../en/modules/members/accountline-details.tt | 23 ++++++++----------- 1 file changed, 9 insertions(+), 14 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/accountline-details.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/accountline-details.tt index ac3969dd60..067b868dbe 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/accountline-details.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/accountline-details.tt @@ -63,25 +63,20 @@
-

- [% IF type == 'credit' %] - Details of payment - [% ELSIF type == 'debit' %] - Details of fee - [% END %] -

- [% INCLUDE 'members-toolbar.inc' borrowernumber=patron.borrowernumber %] +

Transaction details

+ [% IF accountline %] - [% af_values = accountline.additional_field_values %] - [% IF accountline.credit_type_code %] -

Details of credit

- [% ELSIF accountline.debit_type_code %] -

Details of debit

- [% END %]
+ [% af_values = accountline.additional_field_values %] + [% IF accountline.credit_type_code %] +

Details of credit

+ [% ELSIF accountline.debit_type_code %] +

Details of debit

+ [% END %] + -- 2.20.1