[% USE raw %] [% USE Asset %] [%# Includes %] [% USE Koha %] [% USE KohaDates %] [% USE KohaNews %] [%# Helper template functions %] [% BLOCK error_message %] [% IF messages.BadBarcode %] (Barcode not found on the database, please see library staff for assistance) [% ELSIF messages.Wrongbranch %] (The item cannot be returned at this library, please see library staff for assistance) [% ELSIF messages.withdrawn %] (Item is withdrawn and check-in blocked by policy, please see library staff for assistance) [% ELSIF messages.NotIssued %] (The book is not currently on loan, please see library staff for assistance) [% ELSIF messages.additional_materials %] (The item cannot be returned at a self service terminal, please see library staff for assistance) [% ELSE %] (There was a problem returning this item, please see library staff for assistance) [% END %] [% END %] [% PROCESS 'html_helpers.inc' %] [% SET OpacHeader = KohaNews.get( location => "opacheader", lang => lang, library => branchcode, blocktitle => 0 ) %] [% INCLUDE 'doc-head-open.inc' %] [% SET OpacLangSelectorMode = Koha.Preference('OpacLangSelectorMode') %] [% IF ( LibraryNameTitle ) %][% LibraryNameTitle | html %][% ELSE %]Koha [% END %] › Self check-in [% IF ( Koha.Preference('OpacFavicon') ) %] [% ELSE %] [% END %] [% IF ( bidi ) %] [% Asset.css("lib/jquery/jquery-ui-rtl-1.12.1.min.css") | $raw %] [% Asset.css("css/sco-rtl.css") | $raw %] [% ELSE %] [% Asset.css("lib/jquery/jquery-ui-1.12.1.css") | $raw %] [% Asset.css("css/sco.css") | $raw %] [% END %] [% IF ( Koha.Preference('OPACUserCSS') ) %][% END %] [% IF ( Koha.Preference('SelfCheckInUserCSS') ) %][% END %] [% Asset.js("lib/modernizr.min.js") | $raw %] [% INCLUDE 'masthead-sci.inc' %]

[% LibraryName | html %] Self check-in

[% IF ( nopermission ) %] [%# This is what is displayed if user doesn't have permission %]

Access denied

Sorry, this self check-in station has lost authentication. Please contact the administrator to resolve this problem.

[% ELSIF ( different_ip ) %] [%# This is what is displayed if user doesn't have permission %]

Session lost

You are accessing self check-in from a different IP address! Please log in again.

[% ELSIF ( checkins ) %] [%# We have results from a check-in attempt %]
[% IF ( success && success.size > 0 || errors && errors.size > 0 ) %]

Results

[% FOREACH success_line IN success %] [% END %] [% FOREACH error IN errors %] [% END %]
[% ELSE %]

Your request included no check-ins.

[% END %]
[% ELSE %] [%# Prompt for barcodes %]
[% END # /IF ( nopermission ) %]
[% IF ( Koha.Preference('SelfCheckInMainUserBlock') ) %]
[% Koha.Preference('SelfCheckInMainUserBlock' ) | $raw %]
[% END %]
[% # Help modal %] [% INCLUDE 'opac-bottom.inc' %] [% BLOCK jsinclude %] [% IF ( Koha.Preference('SelfCheckInUserJS') ) %] [% END %] [% END %]