From 305caca1735053562089b3aab41855f6227305b9 Mon Sep 17 00:00:00 2001 From: Jacob O'Mara 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. --- .../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 672d27da176..4b4469bb7e4 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 @@
Item is booked by this user
[% END %] + [% IF linked_account_checkout %] +
+ Linked account checkout: This item was on hold for a linked account. Checkout has been issued to + [% linked_account_checkout.hold_patron.firstname | html %] [% linked_account_checkout.hold_patron.surname | html %] + ([% linked_account_checkout.hold_patron.cardnumber | html %]) instead of [% linked_account_checkout.original_patron.firstname | html %] [% linked_account_checkout.original_patron.surname | html %]. +
+ [% END %] + [% IF ( nopermission ) %]
Staff members are not allowed to discharge borrowers, nor borrowers to request a discharge.
[% END %] @@ -167,6 +177,10 @@
  • The patron's guarantors and their other guarantees collectively have a debt of [% DEBT_GUARANTORS | $Price %].
  • [% END %] + [% IF ( DEBT_LINKED_ACCOUNTS ) %] +
  • The patron's linked accounts collectively have a debt of [% DEBT_LINKED_ACCOUNTS | $Price %].
  • + [% END %] + [% IF ( RENTALCHARGE && RENTALCHARGE > 0 ) %]
  • Rental charge for this item: [% RENTALCHARGE | $Price %]
  • [% END %] @@ -539,6 +553,8 @@
    [% IF ( UNKNOWN_BARCODE ) %]

    Barcode not found

    + [% ELSIF ( DEBT_GUARANTORS || DEBT_LINKED_ACCOUNTS ) %] +

    Cannot check out

    [% END %] @@ -547,6 +563,10 @@
  • The patron's guarantors and their other guarantees collectively have a debt of [% DEBT_GUARANTORS | $Price %].
  • [% END %] + [% IF ( DEBT_LINKED_ACCOUNTS ) %] +
  • The patron's linked accounts collectively have a debt of [% DEBT_LINKED_ACCOUNTS | $Price %].
  • + [% END %] + [% IF ( STATS ) %]
  • Local use recorded
  • [% IF ( CHECKEDIN ) %] -- 2.39.5