@@ -, +, @@
- Trailing spaces removed
- Indentation changed to a consistent 4 spaces
- Markup indentation made more consistent
- No card number submitted
- Name submitted (patron search results)
- Card number submitted
- Restricted patron
- Patron with circulation messages
- On-site checkouts
- Check all tabs: checkouts, relatives' checkouts holds, article
requests, restrictions, clubs
---
.../prog/en/modules/circ/circulation.tt | 1759 ++++++++++----------
1 file changed, 889 insertions(+), 870 deletions(-)
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt
+++ a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt
@@ -11,976 +11,995 @@
[% SET footerjs = 1 %]
[% INCLUDE 'doc-head-open.inc' %]
[% SET destination = "circ" %]
-
Koha › Circulation
-[% IF patron %]
- › Checking out to [% INCLUDE 'patron-title.inc' invert_name = 1 no_html = 1 %]
-[% END %]
+
+ Koha › Circulation
+ [% IF patron %]
+ › Checking out to [% INCLUDE 'patron-title.inc' invert_name = 1 no_html = 1 %]
+ [% END %]
[% INCLUDE 'doc-head-close.inc' %]
-[% INCLUDE 'header.inc' %]
-[% INCLUDE 'circ-search.inc' %]
-
-
Home › Circulation ›
-[% IF patron %]
- Checkouts › [% INCLUDE 'patron-title.inc' %]
-[% ELSE %]
- Checkouts
-[% END %]
-
-[% IF ( $borrowers ) %]
-
-
-
-
-
-[% ELSE %]
-
-
-
-
-
-[% END %]
-
-[% IF patron %]
-[% INCLUDE 'members-toolbar.inc' %]
-[% END %]
-
-
-[% IF ( was_renewed ) %]
Patron's account has been renewed until [% expiry | $KohaDates %]
[% END %]
-
-[% IF autoswitched %]
-
Patron was automatically switched by reading the patron card during checking out. Ensure you are working with the right patron.
-[% END %]
+ [% INCLUDE 'header.inc' %]
+ [% INCLUDE 'circ-search.inc' %]
-[% IF additional_materials %]
-
Note about the accompanying materials:
- [% additional_materials | html %]
+
+ Home ›
+ Circulation ›
+ [% IF patron %]
+ Checkouts › [% INCLUDE 'patron-title.inc' %]
+ [% ELSE %]
+ Checkouts
+ [% END %]
-[% END %]
-[% IF ( alert.ITEM_LOST ) %]
-
This item has been lost with a status of "[% alert.ITEM_LOST | html %]".
-[% END %]
-
-[% IF ( alert.OTHER_CHARGES ) %]
-
The patron has unpaid charges for holds, rentals etc of [% alert.OTHER_CHARGES | $Price %]
-[% END %]
-
-[% IF alert.HIGHHOLDS %]
-
High demand item. Loan period was not shortened due to override. Shortened due date would have been [% alert.HIGHHOLDS.returndate | $KohaDates %] ([% alert.HIGHHOLDS.duration | html %] days).
-[% END %]
-
-[% IF alert.RETURNED_FROM_ANOTHER %]
-
Item was checked out to [% INCLUDE 'patron-title.inc' patron = alert.RETURNED_FROM_ANOTHER.patron %] and was returned automatically.
-[% END %]
-
-[% IF ( nopermission ) %]
-
Staff members are not allowed to discharge borrowers, nor borrowers to request a discharge.
-[% END %]
-
-[% IF ( NEEDSCONFIRMATION ) %]
-
-
-
-[% IF CAN_user_circulate_force_checkout %]
-
Please confirm checkout
-[% ELSE %]
-
Cannot check out
-[% END %]
-
-
-[%IF ( AGE_RESTRICTION ) %]
-
Age restriction [% AGE_RESTRICTION | html %].
- [% IF CAN_user_circulate_force_checkout %]
- Check out anyway?
- [% END %]
-
-[% END %]
-
-[% IF ( DEBT ) %]
-
The patron has a debt of [% DEBT | $Price %].
-[% END %]
-
-[% IF ( DEBT_GUARANTEES ) %]
-
The patron's guarantees collectively have a debt of [% DEBT_GUARANTEES | $Price %].
-[% END %]
-
-[% IF ( RENTALCHARGE && RENTALCHARGE > 0 ) %]
-
Rental charge for this item: [% RENTALCHARGE | $Price %]
-[% END %]
-
-[% IF ( RENEW_ISSUE ) %]
-
Item [% getTitleMessageIteminfo | html %] ([% getBarcodeMessageIteminfo | html %]) is currently checked out to this patron. Renew?
-[% END %]
-
-[% IF ( RESERVE_WAITING ) %]
-
Item [% getTitleMessageIteminfo | html %] ([% getBarcodeMessageIteminfo | html %]) has been waiting for [% resfirstname | html %] [% ressurname | html %] ([% rescardnumber | html %]) at [% Branches.GetName( resbranchcode ) | html %] since [% reswaitingdate | $KohaDates %]
-[% END %]
-
-[% IF ( RESERVED ) %]
-
Item [% getTitleMessageIteminfo | html %] ([% getBarcodeMessageIteminfo | html %]) has been on hold for [% resfirstname | html %] [% ressurname | html %] ([% rescardnumber | html %]) at [% Branches.GetName( resbranchcode ) | html %] since [% resreservedate | $KohaDates %]
-[% END %]
-
-[% IF ( ISSUED_TO_ANOTHER ) %]
-
Item [% getTitleMessageIteminfo | html %] ([% getBarcodeMessageIteminfo | html %]) is checked out to [% issued_firstname | html %] [% issued_surname | html %] ([% issued_cardnumber | html %]).
- [% IF CAN_user_circulate_force_checkout %]
- Check in and check out?
- [% END %]
-
-[% END %]
+ [% IF ( $borrowers ) %]
+
+
+
+
+ [% ELSE %]
+
+
+
+
+ [% END %]
-[% IF TOO_MANY and TOO_MANY == 'TOO_MANY_CHECKOUTS' %]
-
Too many checked out. [% current_loan_count | html %] checked out, only [% max_loans_allowed | html %] are allowed.
-[% END %]
+ [% IF patron %]
+ [% INCLUDE 'members-toolbar.inc' %]
+ [% END %]
-[% IF TOO_MANY and TOO_MANY == 'TOO_MANY_ONSITE_CHECKOUTS' %]
-
Too many on-site checked out. [% current_loan_count | html %] on-site checked out, only [% max_loans_allowed | html %] are allowed.
-[% END %]
+
+ [% IF ( was_renewed ) %]
+
Patron's account has been renewed until [% expiry | $KohaDates %]
+ [% END %]
-[% IF ( BORRNOTSAMEBRANCH ) %]
-
This patron is from a different library ([% Branches.GetName( BORRNOTSAMEBRANCH ) | html %])
-[% END %]
+ [% IF autoswitched %]
+
Patron was automatically switched by reading the patron card during checking out. Ensure you are working with the right patron.
+ [% END %]
-[% IF ( PATRON_CANT ) %]
-
This patron can't check out this item per library circulation policy.
-[% END %]
+ [% IF additional_materials %]
+
Note about the accompanying materials:
+ [% additional_materials | html %]
+
+ [% END %]
-[% IF ( TOO_MANY and TOO_MANY == 'NO_RULE_DEFINED' ) %]
-
No circulation rule is defined for this patron and itemtype combination.
-[% END %]
+ [% IF ( alert.ITEM_LOST ) %]
+
This item has been lost with a status of "[% alert.ITEM_LOST | html %]".
+ [% END %]
-[% IF ( NOT_FOR_LOAN_FORCING ) %]
-
- [% IF ( itemtype_notforloan ) %]
- Item type is normally not for loan.
- [% ELSIF ( item_notforloan ) %]
- [% item_notforloan_lib = AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.notforloan', authorised_value => item.notforloan ) %]
- Item is normally not for loan[% IF (item_notforloan_lib) %] ([% item_notforloan_lib | html %])[% END %].
- [% END %]
- [% IF CAN_user_circulate_force_checkout %]
- Check out anyway?
- [% END %]
-
-[% END %]
+ [% IF ( alert.OTHER_CHARGES ) %]
+
The patron has unpaid charges for holds, rentals etc of [% alert.OTHER_CHARGES | $Price %]
+ [% END %]
-[% IF ( USERBLOCKEDOVERDUE ) %]
-
Patron has [% USERBLOCKEDOVERDUE %] overdue item(s).
- [% IF CAN_user_circulate_force_checkout %]
- Check out anyway?
- [% END %]
-
-[% END %]
+ [% IF alert.HIGHHOLDS %]
+
High demand item. Loan period was not shortened due to override. Shortened due date would have been [% alert.HIGHHOLDS.returndate | $KohaDates %] ([% alert.HIGHHOLDS.duration | html %] days).
+ [% END %]
-[% IF ( ITEM_LOST ) %]
-
This item has been lost with a status of "[% ITEM_LOST | html %]".
- [% IF CAN_user_circulate_force_checkout %]
- Check out anyway?
- [% END %]
-
-[% END %]
+ [% IF alert.RETURNED_FROM_ANOTHER %]
+
Item was checked out to [% INCLUDE 'patron-title.inc' patron = alert.RETURNED_FROM_ANOTHER.patron %] and was returned automatically.
+ [% END %]
-[% IF HIGHHOLDS %]
-
High demand item. Loan period shortened to [% HIGHHOLDS.duration | html %] days (due [% HIGHHOLDS.returndate | $KohaDates %]). Check out anyway?
-[% END %]
+ [% IF ( nopermission ) %]
+
Staff members are not allowed to discharge borrowers, nor borrowers to request a discharge.
+ [% END %]
-[% IF PREVISSUE %]
-
Patron has previously checked out this title: [% biblio.title | html %] [% IF biblio.author %] by [% biblio.author | html %][% END %]. Check out anyway?
-[% END %]
+ [% IF ( NEEDSCONFIRMATION ) %]
+
+
+ [% IF CAN_user_circulate_force_checkout %]
+
Please confirm checkout
+ [% ELSE %]
+
Cannot check out
+ [% END %]
+
+
+ [%IF ( AGE_RESTRICTION ) %]
+
+ Age restriction [% AGE_RESTRICTION | html %].
+ [% IF CAN_user_circulate_force_checkout %]
+ Check out anyway?
+ [% END %]
+
+ [% END %]
-[% IF BIBLIO_ALREADY_ISSUED %]
-
- Patron has already checked out another item from this record.
- [% IF CAN_user_circulate_force_checkout %]
- Check out anyway?
- [% END %]
-
-[% END %]
-
+ [% IF ( DEBT ) %]
+
The patron has a debt of [% DEBT | $Price %].
+ [% END %]
-[% IF CAN_user_circulate_force_checkout or HIGHHOLDS %]
-
-[% END %]
+ [% IF ( ISSUED_TO_ANOTHER ) %]
+
Item [% getTitleMessageIteminfo | html %] ([% getBarcodeMessageIteminfo | html %]) is checked out to [% issued_firstname | html %] [% issued_surname | html %] ([% issued_cardnumber | html %]).
+ [% IF CAN_user_circulate_force_checkout %]
+ Check in and check out?
+ [% END %]
+
+ [% END %]
-[% IF ( RESERVED ) %]
-
-[% END %]
+ [% IF TOO_MANY and TOO_MANY == 'TOO_MANY_CHECKOUTS' %]
+
Too many checked out. [% current_loan_count | html %] checked out, only [% max_loans_allowed | html %] are allowed.
+ [% END %]
-[% IF ( RESERVE_WAITING ) %]
-
-[% END %]
+ [% IF TOO_MANY and TOO_MANY == 'TOO_MANY_ONSITE_CHECKOUTS' %]
+
Too many on-site checked out. [% current_loan_count | html %] on-site checked out, only [% max_loans_allowed | html %] are allowed.
+ [% END %]
-
+ [% IF ( BORRNOTSAMEBRANCH ) %]
+
This patron is from a different library ([% Branches.GetName( BORRNOTSAMEBRANCH ) | html %])
+ [% END %]
-[% IF ( RESERVED || ISSUED_TO_ANOTHER ) && (CAN_user_reserveforothers_place_holds ) %]
- [% UNLESS noissues %]
-
- [% END %]
-[% END %]
-
-[% END %]
+ [% IF ( PATRON_CANT ) %]
+
This patron can't check out this item per library circulation policy.
+ [% END %]
- [% IF ( IMPOSSIBLE ) %]
+ [% IF ( TOO_MANY and TOO_MANY == 'NO_RULE_DEFINED' ) %]
+
No circulation rule is defined for this patron and itemtype combination.
+ [% END %]
-
-
- [% IF ( UNKNOWN_BARCODE ) %]
-
Barcode not found
- [% END %]
-
-
- [% IF ( STATS ) %]
-
Local use recorded
- [% END %]
+ [% IF ( NOT_FOR_LOAN_FORCING ) %]
+
+ [% IF ( itemtype_notforloan ) %]
+ Item type is normally not for loan.
+ [% ELSIF ( item_notforloan ) %]
+ [% item_notforloan_lib = AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.notforloan', authorised_value => item.notforloan ) %]
+ Item is normally not for loan[% IF (item_notforloan_lib) %] ([% item_notforloan_lib | html %])[% END %].
+ [% END %]
+ [% IF CAN_user_circulate_force_checkout %]
+ Check out anyway?
+ [% END %]
+
+ [% END %]
- [% IF ( INVALID_DATE ) %]
-
The due date "[% INVALID_DATE | html %]" is invalid
- [% END %]
+ [% IF ( USERBLOCKEDOVERDUE ) %]
+
Patron has [% USERBLOCKEDOVERDUE %] overdue item(s).
+ [% IF CAN_user_circulate_force_checkout %]
+ Check out anyway?
+ [% END %]
+
+ [% END %]
- [% IF ( UNKNOWN_BARCODE ) %]
-
The barcode was not found: [% barcode | html %]
+ [% IF ( ITEM_LOST ) %]
+
This item has been lost with a status of "[% ITEM_LOST | html %]".
+ [% IF CAN_user_circulate_force_checkout %]
+ Check out anyway?
+ [% END %]
+
+ [% END %]
-
- [% IF ( FALLBACK ) %]
- [% IF options %]
-
- [% ELSE %]
-
No items were found by searching.
- [% END %]
- [% END %]
+ [% IF HIGHHOLDS %]
+
High demand item. Loan period shortened to [% HIGHHOLDS.duration | html %] days (due [% HIGHHOLDS.returndate | $KohaDates %]). Check out anyway?
+ [% END %]
- [% IF ( fast_cataloging ) %]
- [% IF ( CAN_user_editcatalogue_fast_cataloging ) %]
- Add record using fast cataloging
- [% END %]
- [% END %]
-
+ [% IF PREVISSUE %]
+
Patron has previously checked out this title: [% biblio.title | html %] [% IF biblio.author %] by [% biblio.author | html %][% END %]. Check out anyway?
+ [% END %]
-
- [% END %]
+ [% IF BIBLIO_ALREADY_ISSUED %]
+
+ Patron has already checked out another item from this record.
+ [% IF CAN_user_circulate_force_checkout %]
+ Check out anyway?
+ [% END %]
+
+ [% END %]
+
+
+ [% IF CAN_user_circulate_force_checkout or HIGHHOLDS %]
+
+ [% END # /IF CAN_user_circulate_force_checkout or HIGHHOLDS %]
+
+ [% IF ( RESERVED ) %]
+
+ [% END %]
+
+ [% IF ( RESERVE_WAITING ) %]
+
+ [% END %]
+
+
- [% IF ( NOT_FOR_LOAN ) %]
-
- [% IF ( itemtype_notforloan ) %]
- Item type not for loan.
- [% ELSIF ( item_notforloan ) %]
- [% item_notforloan_lib = AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.notforloan', authorised_value => item.notforloan ) %]
- Item not for loan[% IF (item_notforloan_lib) %] ([% item_notforloan_lib | html %])[% END %].
- [% END %]
-
- [% END %]
+ [% IF ( RESERVED || ISSUED_TO_ANOTHER ) && (CAN_user_reserveforothers_place_holds ) %]
+ [% UNLESS noissues %]
+
+ [% END %]
+ [% END %]
+
+
+ [% END # /NEEDSCONFIRMATION %]
+
+ [% IF ( IMPOSSIBLE ) %]
+
+
+ [% IF ( UNKNOWN_BARCODE ) %]
+
Barcode not found
+ [% END %]
+
+
+
+ [% IF ( STATS ) %]
+
Local use recorded
+ [% END %]
- [% IF ( WTHDRAWN ) %]
-
- Item has been withdrawn
- [% item_withdrawn_lib = AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.withdrawn', authorised_value => item.withdrawn ) %]
- [% IF (item_withdrawn_lib) %]([% item_withdrawn_lib | html %])[% END %]
-
- [% END %]
+ [% IF ( INVALID_DATE ) %]
+
The due date "[% INVALID_DATE | html %]" is invalid
+ [% END %]
- [% IF ( RESTRICTED ) %]
-
Item is restricted
- [% END %]
+ [% IF ( UNKNOWN_BARCODE ) %]
+
The barcode was not found: [% barcode | html %]
+
+ [% IF ( FALLBACK ) %]
+ [% IF options %]
+
+ [% ELSE %]
+
No items were found by searching.
+ [% END %]
+ [% END %]
- [% IF ( GNA ) %]
-
Patron's address is in doubt
- [% END %]
+ [% IF ( fast_cataloging ) %]
+ [% IF ( CAN_user_editcatalogue_fast_cataloging ) %]
+ Add record using fast cataloging
+ [% END %]
+ [% END %]
+
+
+ [% END %]
- [% IF ( CARD_LOST ) %]
-
Patron's card is lost
- [% END %]
+ [% IF ( NOT_FOR_LOAN ) %]
+
+ [% IF ( itemtype_notforloan ) %]
+ Item type not for loan.
+ [% ELSIF ( item_notforloan ) %]
+ [% item_notforloan_lib = AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.notforloan', authorised_value => item.notforloan ) %]
+ Item not for loan[% IF (item_notforloan_lib) %] ([% item_notforloan_lib | html %])[% END %].
+ [% END %]
+
+ [% END %]
- [% IF ( DEBARRED ) %]
-
Patron is restricted
- [% END %]
+ [% IF ( WTHDRAWN ) %]
+
+ Item has been withdrawn
+ [% item_withdrawn_lib = AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.withdrawn', authorised_value => item.withdrawn ) %]
+ [% IF (item_withdrawn_lib) %]([% item_withdrawn_lib | html %])[% END %]
+
+ [% END %]
- [% IF ( NO_MORE_RENEWALS ) %]
-
No more renewals possible
- [% END %]
+ [% IF ( RESTRICTED ) %]
+
Item is restricted
+ [% END %]
- [% IF NO_RENEWAL_FOR_ONSITE_CHECKOUTS %]
-
This item can not be renewed, it's an on-site checkout
- [% END %]
+ [% IF ( GNA ) %]
+
Patron's address is in doubt
+ [% END %]
- [%IF ( AGE_RESTRICTION ) %]
-
Age restriction [% AGE_RESTRICTION | html %].
- [% END %]
+ [% IF ( CARD_LOST ) %]
+
Patron's card is lost
+ [% END %]
- [% IF ( EXPIRED ) %]
-
Patron's card is expired
- [% END %]
+ [% IF ( DEBARRED ) %]
+
Patron is restricted
+ [% END %]
- [% IF ( TOO_MANY ) %]
-
Too many checked out. [% current_loan_count | html %] checked out, only [% max_loans_allowed | html %] are allowed.
- [% END %]
+ [% IF ( NO_MORE_RENEWALS ) %]
+
No more renewals possible
+ [% END %]
- [% IF ( ITEMNOTSAMEBRANCH ) %]
-
This item belongs to [% Branches.GetName( itemhomebranch ) | html %] and cannot be checked out from this location.
- [% END %]
+ [% IF NO_RENEWAL_FOR_ONSITE_CHECKOUTS %]
+
This item can not be renewed, it's an on-site checkout
+ [% END %]
- [% IF RETURN_IMPOSSIBLE %]
-
This item must be returned to [% Branches.GetName( branch_to_return ) | html %].
- [% END %]
+ [%IF ( AGE_RESTRICTION ) %]
+
Age restriction [% AGE_RESTRICTION | html %].
+ [% END %]
- [% IF ( USERBLOCKEDWITHENDDATE ) %]
-
Patron has a restriction until [% USERBLOCKEDWITHENDDATE | $KohaDates %].
- [% END %]
+ [% IF ( EXPIRED ) %]
+
Patron's card is expired
+ [% END %]
- [% IF ( USERBLOCKEDNOENDDATE ) %]
-
Patron has an indefinite restriction.
- [% END %]
+ [% IF ( TOO_MANY ) %]
+
Too many checked out. [% current_loan_count | html %] checked out, only [% max_loans_allowed | html %] are allowed.
+ [% END %]
- [% IF ( USERBLOCKEDOVERDUE ) %]
-
Checkouts are BLOCKED because patron has overdue items.
- [% END %]
-
+ [% IF ( ITEMNOTSAMEBRANCH ) %]
+
This item belongs to [% Branches.GetName( itemhomebranch ) | html %] and cannot be checked out from this location.
+ [% END %]
- [% IF (forceallow) %]
-
Restriction overridden temporarily.
- [% END %]
+ [% IF RETURN_IMPOSSIBLE %]
+
This item must be returned to [% Branches.GetName( branch_to_return ) | html %].
+ [% END %]
-
-
- [% IF ( FALLBACK ) %]
- [% IF options %]
-
-
-
-
-
-
-
-
Barcode not found. The following items were found by searching:
+ [% END # /IF options %]
+ [% END # /IF FALLBACK %]
+
+ [% ELSE # IF IMPOSSIBLE %]
+ [% IF (forceallow) %]
+
Restriction overridden temporarily
+ [% END %]
+ [% END # /IF IMPOSSIBLE %]
-[% IF ( message ) %]
-[% INCLUDE 'patron-toolbar.inc' %]
-
-No patron matched [% message | html %]
-
-[% END %]
+
-[% IF ( borrowers ) %]
-[% INCLUDE 'patron-toolbar.inc' %]
+ [% IF ( issued ) %]
+
Item checked out
+ [% END %]
-
-[% ELSE %]
+ [% IF ( message ) %]
+ [% INCLUDE 'patron-toolbar.inc' %]
+
No patron matched [% message | html %]
+ [% END %]
-
+ [% IF ( borrowers ) %]
-[% IF patron %]
-
+ [% INCLUDE 'patron-toolbar.inc' %]
+
-[% IF privacy == 2 AND NOT Koha.Preference('AnonymousPatron') %]
-
Error: This patron has requested their circulation history be anonymized on check-in, but the AnonymousPatron system preference is empty or incorrect.
-[% END %]
+ [% ELSE %]
-[% IF ( !noissues ) || ( Koha.Preference('OnSiteCheckouts') && Koha.Preference('OnSiteCheckoutsForce') )%]
-
+
+
+ [% IF patron %]
+
+
+ [% IF privacy == 2 AND NOT Koha.Preference('AnonymousPatron') %]
+
+ Error: This patron has requested their circulation history be anonymized on check-in, but the AnonymousPatron system preference is empty or incorrect.
+
+ [% END %]
+
+ [% IF ( !noissues ) || ( Koha.Preference('OnSiteCheckouts') && Koha.Preference('OnSiteCheckoutsForce') )%]
+
+
+
+
+ [% END #/IF !noissues %]
+
+ [% IF ( noissues ) %]
+ [% IF ( Koha.Preference('OnSiteCheckouts') && Koha.Preference('OnSiteCheckoutsForce') ) %]
+
+ [% ELSE %]
+
+ [% END %]
+ [% ELSE %]
+
+ [% END %]
+
+ [% IF ( noissues ) %]
+ [% IF ( Koha.Preference('OnSiteCheckouts') && Koha.Preference('OnSiteCheckoutsForce') ) %]
+
+ [% ELSE %]
+
Checking out to [% INCLUDE 'patron-title.inc' %]
+
+ [% END %]
+
+ Cannot check out!
+ [% IF ( Koha.Preference('OnSiteCheckouts') && Koha.Preference('OnSiteCheckoutsForce') ) %]
+ Only on-site checkouts are allowed
+ [% END %]
+
+ [% ELSE %]
+
+
Attention:
+ [% END %]
+
+
+ [% IF ( has_modifications ) %]
+
Pending modifications: Patron has pending modifications.
+ [% IF CAN_user_borrowers_edit_borrowers && ( !Koha.Preference('IndependentBranchesPatronModifications') || borrower.branch == branch ) %]
+ View all pending patron modifications
+ [% END %]
+
+ [% END %]
- [% IF Koha.Preference('itemBarcodeFallbackSearch') %]
-
Enter item barcode or keyword:
- [% ELSE %]
-
Enter item barcode:
- [% END %]
+ [% IF ( warndeparture ) %]
+
+ Expiration: Patron's card will expire soon.
+ Patron's card expires on [% expiry | $KohaDates %] Renew or Edit details
- [% IF NEEDSCONFIRMATION %]
-
- [% ELSE %]
-
- [% END %]
-
+
+ Set due date to expiry: You have the ReturnBeforeExpiry system preference enabled this means if the expiry date is before the date due, the date due will be set to the expiry date
+
+ [% END %]
-
+ [% IF ( expired ) %]
+
+ Expiration: Patron's card has expired.
+ [% IF ( expiry ) %]
+ Patron's card expired on [% expiry | $KohaDates %]
+ [% END %]
+ Renew or Edit details
+
+ [% END %]
- [% IF Koha.Preference('OnSiteCheckouts') %]
-
- [% IF noissues %]
-
-
-
-
-
- [% ELSE %]
-
- [% END %]
-
- [% END %]
+ [% IF ( charges ) %]
+ [% INCLUDE 'blocked-fines.inc' fines = chargesamount %]
+ [% END %]
-
+ [% IF ( charges_guarantees ) %]
+
+ Fees & Charges: Patron's guarantees collectively owe [% chargesamount_guarantees | $Price %].
+ [% IF noissues %]
+ Checkouts are BLOCKED because fine balance is OVER THE LIMIT.
+ [% END %]
+
+ [% END %]
-
-
-
-
- [% IF ( CHARGES ) %]
-
- [% END %]
-
-[% IF ( issue ) %]
-
-
Checked out: [% issue.item.biblioitemnumber.biblionumber.title | html %] ([% issue.item.barcode | html %]). Due on [% issue.date_due | $KohaDates as_due_date => 1 %]
-
-[% END %]
-
-[% END %]
+ [% IF ( credits ) %]
+
+ Credits: Patron has a credit[% IF ( creditsamount ) %] of [% creditsamount | $Price %][% END %]
+
+ [% END %]
-[% IF ( noissues ) %]
- [% IF ( Koha.Preference('OnSiteCheckouts') && Koha.Preference('OnSiteCheckoutsForce') ) %]
-
- [% ELSE %]
-
- [% END %]
-[% ELSE %]
-
-[% END %]
+
+
+
+ [% IF WaitingHolds.count %]
+
+
Holds waiting:
+ [% FOREACH w IN WaitingHolds %]
+
+
+ [% w.biblio.title | html %]
+ ([% ItemTypes.GetDescription( w.item.effective_itemtype ) | html %]),
+ [% IF ( w.biblio.author ) %] by [% w.biblio.author | html %] [% END %]
+ [% IF ( w.item.itemcallnumber ) %] [[% w.item.itemcallnumber | html %]] [% END %]
+ Hold placed on [% w.reservedate | $KohaDates %].
+
+
+ [% IF ( w.branch.branchcode == Branches.GetLoggedInBranchcode() ) %][% ELSE %][% END %]
+ [% SET expires_on = w.expirationdate %]
+ Waiting at [% w.branch.branchname | html %] [% IF expires_on %] until [% expires_on | $KohaDates %] [% END %]
+
+
+
+ [% END %]
+
+ [% END # /IF WaitingHolds.count %]
+
+ [% IF ( notes ) %]
+
+
Notes:
+
[% notesmsg | $raw %]
+
+ [% END %]
- [% IF ( noissues ) %]
- [% IF ( Koha.Preference('OnSiteCheckouts') && Koha.Preference('OnSiteCheckoutsForce') ) %]
-
- [% ELSE %]
-
Checking out to [% INCLUDE 'patron-title.inc' %]
-
- [% END %]
-
- Cannot check out!
- [% IF ( Koha.Preference('OnSiteCheckouts') && Koha.Preference('OnSiteCheckoutsForce') ) %]
- Only on-site checkouts are allowed
- [% END %]
-
- [% ELSE %]
-
-
Attention:
- [% END %]
+
+
Messages:
+
+ [% FOREACH message IN messages %]
+
+ [% IF(message.message_type == "L") %]
+
+ [% ELSE %]
+
+ [% END %]
+ [% message.message_date | $KohaDates %]
+ [% Branches.GetName( message.branchcode ) | html %]
+ [% IF message.manager_id %]
+ ( [% message.get_column('manager_firstname') | html %] [% message.get_column('manager_surname') | html %] )
+ [% END %]
+ "[% message.message | html %]"
+
+ [% IF message.branchcode == branch OR Koha.Preference('AllowAllMessageDeletion') %]
+ Delete
+ [% END %]
+
+
+
+
+ [% INCLUDE "checkouts-table.inc" %]
+
+ [% IF ( relatives_issues_count ) %]
+
+
+
+
+
Due date (unformatted, hidden)
+
Due date
+
Title
+
Item type
+
Collection code
+
Location
+
Checked out on
+
Checked out from
+
Call no
+
Charge
+
Fine
+
Price
+
Patron
+
+
+
+
[% END %]
-
- [% END %]
-
- [% IF ( warndeparture ) %]
-
Expiration: Patron's card will expire soon.
- Patron's card expires on [% expiry | $KohaDates %] Renew or Edit details
-
-
- [% END %]
-
- [% IF ( returnbeforeexpiry ) %]
-
Set due date to expiry: You have the ReturnBeforeExpiry system preference enabled this means if the
- expiry date is before the date due, the date due will be set to the expiry date
-
- [% END %]
-
- [% IF ( expired ) %]
-
Expiration: Patron's card has expired.
- [% IF ( expiry ) %]Patron's card expired on [% expiry | $KohaDates %][% END %] Renew or Edit details
-
-
- [% END %]
-
- [% IF ( gna ) %]
-
Address: Patron's address in doubt
- [% END %]
-
- [% IF ( lost ) %]
-
Lost: Patron's card is lost
- [% END %]
-
- [% IF ( userdebarred ) %]
-
- Restricted: Patron's account is restricted
-
- [% IF ( userdebarreddate ) %]
- until [% userdebarreddate | $KohaDates %]
- [% END %]
-
- [% IF ( debarredcomment ) %]
- with the explanation:
- [% IF debarredcomment.search('OVERDUES_PROCESS') %]
- Restriction added by overdues process [% debarredcomment.remove('OVERDUES_PROCESS ') | $raw | html_line_break %]
- [% ELSE %]
- [% debarredcomment | $raw | html_line_break %]
- [% END %]
-
- [% END %]
-
- View restrictions
- [% IF (noissues && patron && CAN_user_circulate_force_checkout) %]
-
- Override restriction temporarily
-
- [% END %]
-
- [% END %]
- [% IF ( charges ) %]
- [% INCLUDE 'blocked-fines.inc' fines = chargesamount %]
- [% END %]
-
- [% IF ( charges_guarantees ) %]
-
- Fees & Charges: Patron's guarantees collectively owe [% chargesamount_guarantees | $Price %].
- [% IF noissues %]
- Checkouts are BLOCKED because fine balance is OVER THE LIMIT.
- [% END %]
-
- [% END %]
+ [% IF CAN_user_clubs && ( enrollable.count || enrollments.count ) %]
+
+ Loading...
+
+ [% END %]
+ [% INCLUDE borrower_debarments.inc %]
+
+
+ [% IF ( holds_count ) %]
+
+
+
+
+
+
Hold date
+
Title
+
Call number
+
Barcode
+
Pickup at
+
Expiration
+
Priority
+
Cancel?
+
Suspend?
+
Status
+
+
+
+
+
+
+
+ [% IF Koha.Preference('SuspendHoldsIntranet') %]
+
+
+
+ [% END # /IF SuspendHoldsIntranet %]
+
+ [% ELSE # IF holds_count %]
+
Patron has nothing on hold.
+ [% END # /IF holds_count %]
+
+
+ [% IF Koha.Preference('ArticleRequests') %]
+ [% INCLUDE 'patron-article-requests.inc' %]
+ [% END %]
- [% IF ( credits ) %]
-
- Credits: Patron has a credit[% IF ( creditsamount ) %] of [% creditsamount | $Price %][% END %]
-
- [% END %]
+ [% ELSIF borrowernumber # IF patron %]
+