[%# Includes %] [% USE Koha %] [% USE KohaDates %] [%# Helper template functions %] [% BLOCK error_message %] [% IF messages.BadBarcode %] (Barcode not found on the database) [% ELSIF messages.DataCorrupted %] (Data corruption detected. Contact your librarian) [% ELSIF messages.Wrongbranch %] (The item cannot be returned at this library) [% ELSIF messages.withdrawn %] (Item is withdrawn and check-in blocked by policy. Contact your librarian) [% ELSIF messages.NotIssued %] (The book is not currently on loan. Contact your librarian) [% END %] [% END %] [% INCLUDE 'doc-head-open.inc' %] [% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha [% END %] › Self check-in [% IF ( Koha.Preference('OpacFavicon') ) %] [% ELSE %] [% END %] [% IF ( Koha.Preference('OPACUserCSS') ) %][% END %] [% IF ( Koha.Preference('SelfCheckInUserCSS') ) %][% END %] [% SET OpacLangSelectorMode = Koha.Preference('OpacLangSelectorMode') %]
[% IF Koha.Preference( 'opacheader' ) %]
[% Koha.Preference( 'opacheader' ) %]
[% END %]

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