Bugzilla – Attachment 191133 Details for
Bug 41572
Tidy kohaTable block - members
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 41572: Tidy kohaTable - members/boraccount.tt
b6c48e6.patch (text/plain), 2.14 KB, created by
Jonathan Druart
on 2026-01-09 14:49:58 UTC
(
hide
)
Description:
Bug 41572: Tidy kohaTable - members/boraccount.tt
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2026-01-09 14:49:58 UTC
Size:
2.14 KB
patch
obsolete
>From b6c48e61e58efea28f4d394a91571f12d4d07555 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Thu, 8 Jan 2026 14:05:04 +0100 >Subject: [PATCH] Bug 41572: Tidy kohaTable - members/boraccount.tt > >--- > .../prog/en/modules/members/boraccount.tt | 16 ++++++++++++---- > 1 file changed, 12 insertions(+), 4 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/boraccount.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/boraccount.tt >index d4a337786ef..921a7901d60 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/boraccount.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/boraccount.tt >@@ -577,15 +577,23 @@ > [% INCLUDE 'format_price.inc' %] > [% INCLUDE 'str/members-menu.inc' %] > [% Asset.js("js/members-menu.js") | $raw %] >+ <script> >+ var table_settings = [% TablesSettings.GetTableSettings('members', 'fines', 'account-fines', 'json') | $raw %]; >+ addPrefs({ >+ FinePaymentAutoPopup: [% Koha.Preference('FinePaymentAutoPopup') ? 1 : 0 | html %], >+ }); >+ const change_given = "[% change_given | html %]"; >+ const payment_id = "[% payment_id | html %]"; >+ </script> >+ > <script> > $(document).ready(function() { >- [% IF payment_id && Koha.Preference('FinePaymentAutoPopup') %] >- window.open('/cgi-bin/koha/members/printfeercpt.pl?action=print&change_given=[% change_given | html %]&accountlines_id=[% payment_id | html %]', '_blank'); >- [% END %] >+ if (payment_id && prefs.FinePaymentAutoPopup){ >+ window.open(`/cgi-bin/koha/members/printfeercpt.pl?action=print&change_given=${change_given}&accountlines_id=${payment_id}`, '_blank'); >+ } > > var txtActivefilter = _("Filter paid transactions"); > var txtInactivefilter = _("Show all transactions"); >- var table_settings = [% TablesSettings.GetTableSettings('members', 'fines', 'account-fines', 'json') | $raw %]; > var table_account_fines = $("#table_account_fines").kohaTable( > { > pagingType: "full", >-- >2.43.0 >
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 41572
: 191133 |
191134
|
191135
|
191136
|
191137
|
191138