Bugzilla – Attachment 192714 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
4994786.patch (text/plain), 2.18 KB, created by
Jonathan Druart
on 2026-02-09 09:09:05 UTC
(
hide
)
Description:
Bug 41572: Tidy kohaTable - members/boraccount.tt
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2026-02-09 09:09:05 UTC
Size:
2.18 KB
patch
obsolete
>From 4994786b64a8216a4bce18aad26f76e58e967316 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 > >Signed-off-by: Owen Leonard <oleonard@myacpl.org> >--- > .../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 6db3bb56424..0cd9a0d093f 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
|
191521
|
191522
|
191523
|
191524
|
191525
|
191526
|
191527
|
191528
| 192714 |
192715
|
192716
|
192717
|
192718
|
192719
|
192720
|
192721
|
192722