@@ -, +, @@
- 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 | 1726 ++++++++++----------
1 file changed, 873 insertions(+), 853 deletions(-)
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt
+++ a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt
@@ -12,411 +12,424 @@
[% 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 %]
+ [% IF patron %]
+ › Checking out to [% INCLUDE 'patron-title.inc' invert_name = 1 no_html = 1 %]
+ [% END %]
[% INCLUDE 'doc-head-close.inc' %]
[% Asset.css("css/datatables.css") | $raw %]
-
-[% 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 %]
-
-[% IF additional_materials %]
-
Note about the accompanying materials:
- [% additional_materials | html %]
+ [% INCLUDE 'header.inc' %]
+ [% INCLUDE 'circ-search.inc' %]
+
+ 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 | html %]
-[% 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 ( 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 | html %]
-[% 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 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 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 ( PATRON_CANT ) %]
-
This patron can't check out this item per library circulation policy.
-[% END %]
-
-[% IF ( TOO_MANY and TOO_MANY == 'NO_RULE_DEFINED' ) %]
-
No circulation rule is defined for this patron and itemtype combination.
-[% END %]
-
-[% IF ( NOT_FOR_LOAN_FORCING ) %]
-
- [% IF ( itemtype_notforloan ) %]
- Item type is normally not for loan.
- [% ELSIF ( item_notforloan ) %]
- [% item_notforloan_lib = AuthorisedValues.GetByCode( authvalcode_notforloan, item_notforloan, 0 ) %]
- Item is normally not for loan [% IF (item_notforloan_lib) %]([% item_notforloan_lib | html %])[% END %].
+ [% IF ( $borrowers ) %]
+
+
+
+
+ [% ELSE %]
+
+
+
+
[% END %]
- [% IF CAN_user_circulate_force_checkout %]
- Check out anyway?
- [% END %]
-
-[% END %]
-
-[% IF ( USERBLOCKEDOVERDUE ) %]
-
Patron has [% USERBLOCKEDOVERDUE %] overdue item(s).
- [% IF CAN_user_circulate_force_checkout %]
- Check out anyway?
- [% END %]
-
-[% 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 HIGHHOLDS %]
-
High demand item. Loan period shortened to [% HIGHHOLDS.duration | html %] days (due [% HIGHHOLDS.returndate | $KohaDates %]). Check out anyway?
-[% 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 BIBLIO_ALREADY_ISSUED %]
-
- Patron has already checked out another item from this record.
- [% IF CAN_user_circulate_force_checkout %]
- Check out anyway?
+
+ [% IF patron %]
+ [% INCLUDE 'members-toolbar.inc' %]
[% END %]
-
-[% END %]
-
-
-[% IF CAN_user_circulate_force_checkout or HIGHHOLDS %]
-
-[% END %]
-
-[% IF ( RESERVED ) %]
-
-[% END %]
-
-[% IF ( RESERVE_WAITING ) %]
-
-[% END %]
-
-
-[% IF ( RESERVED || ISSUED_TO_ANOTHER ) && (CAN_user_reserveforothers_place_holds ) %]
- [% UNLESS noissues %]
-
+ [% IF ( alert.ITEM_LOST ) %]
+
This item has been lost with a status of "[% alert.ITEM_LOST | html %]".
[% END %]
-[% END %]
-
-[% END %]
- [% IF ( IMPOSSIBLE ) %]
+ [% IF ( alert.OTHER_CHARGES ) %]
+
The patron has unpaid charges for holds, rentals etc of [% alert.OTHER_CHARGES | html %]
+ [% END %]
-
-
- [% IF ( UNKNOWN_BARCODE ) %]
-
Barcode not found
+ [% 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 ( STATS ) %]
-
Local use recorded
- [% END %]
- [% IF ( INVALID_DATE ) %]
-
The due date "[% INVALID_DATE | html %]" is invalid
- [% 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 | html %]
+ [% 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 ( UNKNOWN_BARCODE ) %]
-
The barcode was not found: [% barcode | html %]
+ [% 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 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 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 ( PATRON_CANT ) %]
+
This patron can't check out this item per library circulation policy.
+ [% END %]
+
+ [% IF ( TOO_MANY and TOO_MANY == 'NO_RULE_DEFINED' ) %]
+
No circulation rule is defined for this patron and itemtype combination.
+ [% END %]
+
+ [% IF ( NOT_FOR_LOAN_FORCING ) %]
+
+ [% IF ( itemtype_notforloan ) %]
+ Item type is normally not for loan.
+ [% ELSIF ( item_notforloan ) %]
+ [% item_notforloan_lib = AuthorisedValues.GetByCode( authvalcode_notforloan, item_notforloan, 0 ) %]
+ 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 ( USERBLOCKEDOVERDUE ) %]
+
+ Patron has [% USERBLOCKEDOVERDUE %] overdue item(s).
+ [% IF CAN_user_circulate_force_checkout %]
+ Check out anyway?
+ [% END %]
+
+ [% 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 HIGHHOLDS %]
+
High demand item. Loan period shortened to [% HIGHHOLDS.duration | html %] days (due [% HIGHHOLDS.returndate | $KohaDates %]). Check out anyway?
+ [% 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 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 ( RESERVED || ISSUED_TO_ANOTHER ) && (CAN_user_reserveforothers_place_holds ) %]
+ [% UNLESS noissues %]
+
+ [% END %]
+ [% END %]
- [% IF ( NOT_FOR_LOAN ) %]
-
- [% IF ( itemtype_notforloan ) %]
- Item type not for loan.
- [% ELSIF ( item_notforloan ) %]
- [% item_notforloan_lib = AuthorisedValues.GetByCode( authvalcode_notforloan, item_notforloan, 0 ) %]
- Item not for loan [% IF (item_notforloan_lib) %]([% item_notforloan_lib | html %])[% END %].
- [% END %]
-
- [% END %]
+
+
+ [% END # /IF ( NEEDSCONFIRMATION ) %]
- [% IF ( WTHDRAWN ) %]
-
Item has been withdrawn
- [% END %]
+
+ [% IF ( IMPOSSIBLE ) %]
+
+
+ [% IF ( UNKNOWN_BARCODE ) %]
+
Barcode not found
+ [% END %]
+
+
+ [% IF ( STATS ) %]
+
Local use recorded
+ [% END %]
- [% IF ( RESTRICTED ) %]
-
Item is restricted
- [% END %]
+ [% IF ( INVALID_DATE ) %]
+
The due date "[% INVALID_DATE | html %]" is invalid
+ [% END %]
- [% IF ( GNA ) %]
-
Patron's address is in doubt
- [% 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 ( CARD_LOST ) %]
-
Patron's card is lost
- [% END %]
+ [% IF ( fast_cataloging ) %]
+ [% IF ( CAN_user_editcatalogue_fast_cataloging ) %]
+ Add record using fast cataloging
+ [% END %]
+ [% END %]
+
+
+ [% END # /UNKNOWN_BARCODE %]
+
+ [% IF ( NOT_FOR_LOAN ) %]
+
+ [% IF ( itemtype_notforloan ) %]
+ Item type not for loan.
+ [% ELSIF ( item_notforloan ) %]
+ [% item_notforloan_lib = AuthorisedValues.GetByCode( authvalcode_notforloan, item_notforloan, 0 ) %]
+ 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
+ [% 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 ( USERBLOCKEDWITHENDDATE ) %]
+
Patron has a restriction until [% USERBLOCKEDWITHENDDATE | $KohaDates %].
+ [% END %]
+
+ [% IF ( USERBLOCKEDNOENDDATE ) %]
+
Patron has an indefinite restriction.
+ [% END %]
+
+ [% IF ( USERBLOCKEDOVERDUE ) %]
+
Checkouts are BLOCKED because patron has overdue items.
+ [% END %]
+
+
+ [% IF (forceallow) %]
+
Restriction overridden temporarily.
+ [% END %]
+
+
[% IF ( FALLBACK ) %]
[% IF options %]
-
@@ -450,528 +463,531 @@
[% END %]
-
+
-
-
-
- [% END %]
+
+
+
+ [% END # /IF options %]
+ [% END # /IF FALLBACK%]
+ [% ELSE # IF IMPOSSIBLE %]
+ [% IF (forceallow) %]
+
Restriction overridden temporarily
[% END %]
+ [% END # /IF IMPOSSIBLE %]
-[% ELSE %]
- [% IF (forceallow) %]
-
Restriction overridden temporarily
- [% END %]
-[% END %]
-
-
-
-[% IF ( issued ) %]
-
Item checked out
-[% END %]
-
-[% IF ( message ) %]
-[% INCLUDE 'patron-toolbar.inc' %]
-
-No patron matched [% message | html %]
-
-[% END %]
-
-[% IF ( borrowers ) %]
-[% INCLUDE 'patron-toolbar.inc' %]
-
-
-[% ELSE %]
-
-
-
-[% 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') )%]
-