[% USE raw %] [% USE Asset %] [%# Includes %] [% USE Koha %] [% USE KohaDates %] [%# 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) [% ELSE %] (There was a problem returning this item, please see library staff for assistance) [% END %] [% END %] [% INCLUDE 'doc-head-open.inc' %] [% IF ( LibraryNameTitle ) %][% LibraryNameTitle | html %][% ELSE %]Koha [% END %] › Self check-in [% IF ( Koha.Preference('OpacFavicon') ) %] [% ELSE %] [% END %] [% Asset.css("lib/bootstrap/css/bootstrap.min.css") | $raw %] [% Asset.css("lib/jquery/jquery-ui.css") | $raw %] [% Asset.css("lib/font-awesome/css/font-awesome.min.css") | $raw %] [% Asset.css("css/sci.css") | $raw %] [% IF ( Koha.Preference('OPACUserCSS') ) %][% END %] [% IF ( Koha.Preference('SelfCheckInUserCSS') ) %][% END %] [% Asset.js("lib/modernizr.min.js") | $raw %] [% SET OpacLangSelectorMode = Koha.Preference('OpacLangSelectorMode') %]
[% IF Koha.Preference( 'opacheader' ) %]
[% Koha.Preference( 'opacheader' ) | $raw %]
[% END %]

[% 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 ( Koha.Preference('SelfCheckInMainUserBlock') ) %]
[% Koha.Preference('SelfCheckInMainUserBlock' ) | $raw %]
[% END %]
[% INCLUDE 'opac-bottom.inc' %] [% BLOCK jsinclude %] [% IF ( Koha.Preference('SelfCheckInUserJS') ) %][% END %] [% END %]