Bugzilla – Attachment 189673 Details for
Bug 40836
Credit and debit types are not shown in patron account on OPAC
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 40836: (QA follow-up) Reduce params
Bug-40836-QA-follow-up-Reduce-params.patch (text/plain), 2.37 KB, created by
Jan Kissig
on 2025-11-18 16:32:43 UTC
(
hide
)
Description:
Bug 40836: (QA follow-up) Reduce params
Filename:
MIME Type:
Creator:
Jan Kissig
Created:
2025-11-18 16:32:43 UTC
Size:
2.37 KB
patch
obsolete
>From 29decd9d6cf67e216776d3c9258ade98d7237ac0 Mon Sep 17 00:00:00 2001 >From: Jan Kissig <bibliothek@th-wildau.de> >Date: Tue, 18 Nov 2025 13:39:26 +0000 >Subject: [PATCH] Bug 40836: (QA follow-up) Reduce params > >Reduce params given to process method. >--- > .../opac-tmpl/bootstrap/en/includes/accounts.inc | 12 ++++++------ > 1 file changed, 6 insertions(+), 6 deletions(-) > >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/includes/accounts.inc b/koha-tmpl/opac-tmpl/bootstrap/en/includes/accounts.inc >index bb345101f1b..66851f8a0c6 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/includes/accounts.inc >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/includes/accounts.inc >@@ -1,16 +1,16 @@ > [%- BLOCK account_type_description -%] > <span> > [%- IF account.credit_type_code -%] >- [%- PROCESS credit_type_description credit_type_code = account.credit_type_code account=account -%] >+ [%- PROCESS credit_type_description account=account -%] > [%- ELSIF account.debit_type_code -%] >- [%- PROCESS debit_type_description debit_type_code = account.debit_type_code account=account -%] >+ [%- PROCESS debit_type_description account=account -%] > [%- END -%] > [%- PROCESS account_status_description account=account -%] > </span> > [%- END -%] > > [%- BLOCK debit_type_description -%] >- [%- SWITCH debit_type_code -%] >+ [%- SWITCH account.debit_type_code -%] > > [%- CASE 'ACCOUNT' -%] > <span>Account creation fee</span> >@@ -49,14 +49,14 @@ > >[%- IF account && account.debit_type && account.debit_type.description -%] > [% account.debit_type.description | html %] > [%- ELSE -%] >- [% debit_type_code | html %] >+ [% account.debit_type_code | html %] > [%- END -%] > </span> > [%- END -%] > [%- END -%] > > [%- BLOCK credit_type_description -%] >- [%- SWITCH credit_type_code -%] >+ [%- SWITCH account.credit_type_code -%] > > [%- CASE 'CANCELLATION' -%] > <span>Cancelled charge</span> >@@ -85,7 +85,7 @@ > >[%- IF account && account.credit_type && account.credit_type.description -%] > [% account.credit_type.description | html %] > [%- ELSE -%] >- [% credit_type_code | html %] >+ [% account.credit_type_code | html %] > [%- END -%] > </span> > [%- END -%] >-- >2.39.5
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 40836
:
189349
|
189366
|
189672
| 189673