Bugzilla – Attachment 193806 Details for
Bug 39658
Allow definition of non-hierarchical linked patron accounts
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 39658: Circulation UI: Add linked account fee/hold messages
Bug-39658-Circulation-UI-Add-linked-account-feehol.patch (text/plain), 3.41 KB, created by
Kellie Stephens
on 2026-02-24 21:13:44 UTC
(
hide
)
Description:
Bug 39658: Circulation UI: Add linked account fee/hold messages
Filename:
MIME Type:
Creator:
Kellie Stephens
Created:
2026-02-24 21:13:44 UTC
Size:
3.41 KB
patch
obsolete
>From 96364d86faf0b6c536f2185d16006600d2aec9a0 Mon Sep 17 00:00:00 2001 >From: Jacob O'Mara <Jacob.omara@openfifth.co.uk> >Date: Wed, 21 Jan 2026 15:36:16 +0000 >Subject: [PATCH] Bug 39658: Circulation UI: Add linked account fee/hold > messages > >Display warnings for combined debt and linked hold pickup. > >Signed-off-by: Trevor Diamond <trevor.diamond@mainlib.org> >Signed-off-by: Kellie Stephens <kellie.stephens@bywatersolutions.com> >--- > .../prog/en/modules/circ/circulation.tt | 20 +++++++++++++++++++ > 1 file changed, 20 insertions(+) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt >index 672d27da17..4b4469bb7e 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt >@@ -121,6 +121,16 @@ > <div class="alert alert-warning">Item is booked by this user</div> > [% END %] > >+ [% IF linked_account_checkout %] >+ <div class="alert alert-info"> >+ <strong>Linked account checkout:</strong> This item was on hold for a linked account. Checkout has been issued to >+ <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% linked_account_checkout.hold_patron.borrowernumber | uri %]" >+ >[% linked_account_checkout.hold_patron.firstname | html %] [% linked_account_checkout.hold_patron.surname | html %]</a >+ > >+ ([% linked_account_checkout.hold_patron.cardnumber | html %]) instead of [% linked_account_checkout.original_patron.firstname | html %] [% linked_account_checkout.original_patron.surname | html %]. >+ </div> >+ [% END %] >+ > [% IF ( nopermission ) %] > <div class="alert alert-warning">Staff members are not allowed to discharge borrowers, nor borrowers to request a discharge.</div> > [% END %] >@@ -167,6 +177,10 @@ > <li class="needsconfirm debt_guarantors">The patron's guarantors and their other guarantees collectively have a debt of [% DEBT_GUARANTORS | $Price %].</li> > [% END %] > >+ [% IF ( DEBT_LINKED_ACCOUNTS ) %] >+ <li class="needsconfirm debt_linked_accounts">The patron's linked accounts collectively have a debt of [% DEBT_LINKED_ACCOUNTS | $Price %].</li> >+ [% END %] >+ > [% IF ( RENTALCHARGE && RENTALCHARGE > 0 ) %] > <li class="needsconfirm rentalcharge">Rental charge for this item: [% RENTALCHARGE | $Price %]</li> > [% END %] >@@ -539,6 +553,8 @@ > <div id="circ_impossible" class="alert alert-warning audio-alert-warning focus" tabindex="-1"> > [% IF ( UNKNOWN_BARCODE ) %] > <h3>Barcode not found</h3> >+ [% ELSIF ( DEBT_GUARANTORS || DEBT_LINKED_ACCOUNTS ) %] >+ <h3>Cannot check out</h3> > [% END %] > > <!-- RESULT OF ISSUING REQUEST --> >@@ -547,6 +563,10 @@ > <li>The patron's guarantors and their other guarantees collectively have a debt of [% DEBT_GUARANTORS | $Price %].</li> > [% END %] > >+ [% IF ( DEBT_LINKED_ACCOUNTS ) %] >+ <li>The patron's linked accounts collectively have a debt of [% DEBT_LINKED_ACCOUNTS | $Price %].</li> >+ [% END %] >+ > [% IF ( STATS ) %] > <li>Local use recorded</li> > [% IF ( CHECKEDIN ) %] >-- >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 39658
:
193344
|
193345
|
193346
|
193347
|
193348
|
193349
|
193350
|
193351
|
193352
|
193353
|
193354
|
193355
|
193356
|
193357
|
193358
|
193359
|
193462
|
193463
|
193464
|
193465
|
193466
|
193467
|
193468
|
193469
|
193470
|
193471
|
193472
|
193473
|
193474
|
193475
|
193476
|
193477
|
193478
|
193479
|
193781
|
193782
|
193783
|
193784
|
193785
|
193786
|
193787
|
193788
|
193789
|
193790
|
193791
|
193792
|
193793
|
193794
|
193795
|
193796
|
193797
|
193798
|
193800
|
193801
|
193802
|
193803
|
193804
|
193805
| 193806 |
193807
|
193808
|
193809
|
193810
|
193811
|
193812
|
193813
|
193814
|
193815
|
193816
|
193817