[% USE raw %] [% USE Asset %] [% USE KohaDates %] [% USE Branches %] [% USE Koha %] [% USE ItemTypes %] [% USE AuthorisedValues %] [% USE TablesSettings %] [% PROCESS 'i18n.inc' %] [% PROCESS 'member-display-address-style.inc' %] [% SET footerjs = 1 %] [% BLOCK display_bormessagepref %] [% IF ( bormessagepref ) %]
  • Patron notification: [% FOREACH mtt IN bormessagepref.keys %] [%~ IF ( mtt == 'email' ) %] Email[% END ~%] [%~ IF ( mtt == 'phone' ) %] Phone[% END ~%] [%~ IF ( mtt == 'sms' ) %] SMS[% END ~%] [%~ UNLESS loop.last %], [% ELSE %].[% END ~%] [% END %]
  • [% ELSE %]
  • Patron is not notified.
  • [% END %] [% END %] [% BLOCK display_holdpatron_address %] [% PROCESS 'display-address-style' %] [% END %] [% INCLUDE 'doc-head-open.inc' %] Check in [% title | html %] › Circulation › Koha [% INCLUDE 'doc-head-close.inc' %] [% WRAPPER 'header.inc' %] [% INCLUDE 'checkin-search.inc' %] [% END %] [% WRAPPER 'sub-header.inc' %] [% END %]
    [% IF Koha.Preference('CircSidebar') %]
    [% ELSE %]
    [% END %] [% BLOCK all_checkin_messages %] [% IF hold_auto_filled %]
    [% IF ( reservenotes ) %]

    Notes: [% reservenotes | html %]

    [% END %]

    Hold filled for:

    • [% INCLUDE 'patron-title.inc' patron=patron hide_patron_infos_if_needed=1 invert_name=1 %] - [% patron.category.description | html %]
    • [% INCLUDE display_holdpatron_address %] [% IF ( patron.phone ) %]
    • [% patron.phone | html %]
    • [% END %] [% IF ( patron.email ) %]
    • [% IF ( transfertodo ) %] [% patron.email | html %] [% ELSE %] [% patron.email | html %] [% END %]
    • [% END %] [% UNLESS ( transfertodo) %] [% INCLUDE display_bormessagepref %] [% END %] [% IF ( patron.is_debarred ) %]
    • Patron is RESTRICTED
    • [% END %] [% IF ( patron.gonenoaddress ) %]
    • Patron's address is in doubt
    • [% END %]
    [% IF ( transfertodo ) %]

    Transfer to: [% Branches.GetName( destbranch ) | html %]

    [% ELSE %]

    Hold at [% Branches.GetName( destbranch ) | html %]

    [% END %] Print
    [% END # /IF hold_auto_filled %] [% IF ( trigger ) %]

    Reason for transfer

    [%- SWITCH trigger -%] [%- CASE 'Manual' -%]Manual [%- CASE 'StockrotationAdvance' -%]Stock rotation advance [%- CASE 'StockrotationRepatriation' -%]Stock rotation repatriation [%- CASE 'ReturnToHome' -%]Return to home library [%- CASE 'ReturnToHolding' -%]Return to holding library [%- CASE 'RotatingCollection' -%]Rotating collection [%- CASE 'Reserve' -%]Hold [%- CASE 'LostReserve' -%]Lost hold [%- CASE 'CancelReserve' -%]Cancelled hold [%- CASE 'TransferCancellation' -%]Transfer was cancelled whilst in transit [%- END -%]

    [% END %] [% 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.
    [% ELSIF NOT Koha.Preference('AnonymousPatron') AND Koha.Preference('OPACPrivacy') %]
    Error: The system preference OPACPrivacy is set but AnonymousPatron is not! Please correct this before continuing circulation.
    [% END %] [% IF additional_materials && !needs_confirm && !multiple_confirmed %]
    Note about the accompanying materials: [% additional_materials | html %]
    [% END %] [% IF ( collectionItemNeedsTransferred ) %]

    Please transfer item to: [% Branches.GetName( collectionBranch ) | html %]

    [% item.barcode | html %]: [% title | html %]

    This item is part of a rotating collection.

    [% END %] [% IF ( issue.note) %]

    Patron note

    [% issue.notedate | $KohaDates %]

    [% title | html %] [% author | html %]

    [% issue.note | html %]

    [% END %] [% IF ( fines ) %]

    Patron has outstanding fines of [% fines | html %].

    Make payment.

    [% END %] [% IF ( ReturnClaims ) %]

    This item has been claimed as returned by:

      [% FOREACH rc IN ReturnClaims %]
    • [% INCLUDE 'patron-title.inc' patron=rc.patron hide_patron_infos_if_needed=1 invert_name=1 %] Resolve
    • [% END %]
    [% END %] [% IF ( waiting_holds ) %]

    [% INCLUDE 'patron-title.inc' patron=issue.patron hide_patron_infos_if_needed=1 invert_name=1 %] has [% waiting_holds | html %] hold(s) waiting for pickup.

    Check out to this patron.

    [% END %] [% IF return_date_was_overriden && issue.patron.is_debarred %]

    [% INCLUDE 'patron-title.inc' patron=issue.patron hide_patron_infos_if_needed=1 invert_name=1 %] is restricted. Please verify this patron should still be restricted.

    [% END %] [% IF missing_items %]

    Bundle had missing items

    Bundle contents list updated

    View updated contents list View list of missing items

    [% END %] [% IF unexpected_items %]

    Bundle had unexpected items

    Please place the following items to one side

      [% FOREACH unexpected_item IN unexpected_items %]
    • [% INCLUDE 'biblio-title.inc' biblio=unexpected_item.biblio %] - [% unexpected_item.barcode | html %]
    • [% END %]
    [% END %] [% IF InBundle %]

    Item belongs in bundle

    This item belongs to a bundle: [% INCLUDE 'biblio-title.inc' biblio=InBundle.biblio %] - [% InBundle.barcode | html %]

    [% END %] [% IF ( errmsgloop ) %]

    Check in message

    [% IF itembiblionumber %]

    [% item.barcode | html %]: [% title | html %]

    [% END %] [% FOREACH errmsgloo IN errmsgloop %] [% IF ( errmsgloo.NotForLoanStatusUpdated ) %]

    Not for loan status updated.
    Old value: [% IF errmsgloo.NotForLoanStatusUpdated.from %] [% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.notforloan', authorised_value => errmsgloo.NotForLoanStatusUpdated.from ) | html %]. [% ELSE %] Available for loan. [% END %]
    New value: [% IF errmsgloo.NotForLoanStatusUpdated.to %] [% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.notforloan', authorised_value => errmsgloo.NotForLoanStatusUpdated.to ) | html %]. [% ELSE %] Available for loan. [% END %]

    [% END %] [% IF ( errmsgloo.ItemLocationUpdated ) %]

    Item shelving location updated.
    Old value: [% IF errmsgloo.ItemLocationUpdated.from %] [% SET av_description = AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.location', authorised_value => errmsgloo.ItemLocationUpdated.from ) %] [% IF errmsgloo.ItemLocationUpdated.from == '' %] empty [% ELSIF av_description == '' %] [% errmsgloo.ItemLocationUpdated.from | html %] (No description available) [% ELSE %] [% av_description | html %] [% END %] [% ELSE %] "Blank" [% END %]
    New value: [% IF errmsgloo.ItemLocationUpdated.to %] [% SET av_description = AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.location', authorised_value => errmsgloo.ItemLocationUpdated.to ) %] [% IF errmsgloo.ItemLocationUpdated.to == '' %] empty [% ELSIF av_description == '' %] [% errmsgloo.ItemLocationUpdated.to | html %] (Not an authorized value) [% ELSE %] [% av_description | html %] [% END %] [% ELSE %] "Blank" [% END %]

    [% END %] [% IF ( errmsgloo.badbarcode ) %]

    No item with barcode: [% errmsgloo.msg | html %]

    [% END %] [% IF ( errmsgloo.ispermanent ) %]

    Please return item to: [% Branches.GetName( errmsgloo.msg ) | html %]

    [% END %] [% IF ( errmsgloo.notissued ) %]

    Not checked out.

    [% END %] [% IF ( errmsgloo.localuse) %]

    Local use recorded

    [% END %] [% IF ( errmsgloo.transferred ) %]

    Item received from [% Branches.GetName( errmsgloo.transferred ) | html %]

    [% END %] [% IF ( errmsgloo.waslost ) %] [% IF Koha.Preference('BlockReturnOfLostItems') %]

    Item is lost, cannot be checked in.

    [% ELSE %]

    Item was lost, now found.

    [% END %] [% IF LostItemFeeRefunded and not Koha.Preference('BlockReturnOfLostItems') %]

    A refund has been applied to the borrowing patron's account.

    [% ELSIF LostItemFeeCharged and not Koha.Preference('BlockReturnOfLostItems') %]

    A refund for the lost item charge has been applied to the borrowing patron's account, and new overdue charge has been calculated and applied.

    [% ELSIF LostItemFeeRestored and not Koha.Preference('BlockReturnOfLostItems') %]

    A refund for the lost item charge has been applied to the borrowing patron's account and if an overdue fine was forgiven when the item was marked as lost, it has been reverted.

    [% ELSIF Koha.Preference('BlockReturnOfLostItems') %]
    Cannot check in

    NOT CHECKED IN

    [% ELSE %]

    Any lost item fees for this item will remain on the patron's account.

    [% END %] [% END %] [% IF ( errmsgloo.withdrawn ) %] [% IF Koha.Preference('BlockReturnOfWithdrawnItems') %]
    Cannot check in

    NOT CHECKED IN

    [% END %]

    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 ( errmsgloo.debarred ) %]

    [% errmsgloo.debarname | html %]([% errmsgloo.debarcardnumber | html %]) is now debarred until [% errmsgloo.debarred | $KohaDates %].

    [% END %] [% IF ( errmsgloo.prevdebarred ) %]

    Reminder: Patron was earlier restricted until [% errmsgloo.prevdebarred | $KohaDates %].

    [% END %] [% IF ( errmsgloo.foreverdebarred ) %]

    Reminder: Patron has an indefinite restriction.

    [% END %] [% IF errmsgloo.data_corrupted %]

    The item has not been checked in due to a configuration issue in your system. You must ask an administrator to take a look at the about page and correct all errors shown on the "System information" tab

    [% END %] [% END # /FOREACH errmsgloo %]
    [% END #/IF errmsgloop %] [% IF ( checkinmsg ) %] [% IF ( checkinmsgtype == 'alert' ) %]
    [% ELSE %]
    [% END %]

    [% checkinmsg | html_line_break %]

    [% END # /IF checkinmsg %] [% IF bundle_items && !missing_items %]

    Bundle verified

    The bundle content was verified

    View contents list

    [% END %] [% END # /BLOCK all_checkin_messages %] [% IF needs_confirm %] [% END %] [% IF items_bundle_return_confirmation %] [% END %] [% IF wrongbranch %] [% END # /IF wrongbranch %] [% UNLESS ( hold_auto_filled && diffbranch ) %] [% IF WrongTransfer && !transfertodo %] [% IF Koha.Preference('TransfersBlockCirc') %] [% ELSE %]
    [% END %]
    [% IF ( ReturnClaims ) %] [% INCLUDE 'modals/resolve_return_claim.inc' %] [% END %] [% INCLUDE 'modals/bundle_contents.inc' %] [% IF ( missing_items ) %] [% END %] [% MACRO jsinclude BLOCK %] [% INCLUDE 'datatables.inc' %] [% INCLUDE 'columns_settings.inc' %] [% INCLUDE 'calendar.inc' %] [% Asset.js("js/pages/circulation.js") | $raw %] [% IF ( ReturnClaims ) %] [% Asset.js("js/resolve_claim_modal.js") | $raw %] [% END %] [% END %] [% INCLUDE 'intranet-bottom.inc' %]