[% USE raw %]
[% USE Asset %]
[% USE Koha %]
[% USE KohaDates %]
[% USE Branches %]
[% USE ItemTypes %]
[% USE Price %]
[% USE AuthorisedValues %]
[% USE AdditionalContents %]
[% SET OpacNav = AdditionalContents.get( location => "OpacNav", lang => lang, library => logged_in_user.branchcode, blocktitle => 0 ) %]
[% SET OpacNavBottom = AdditionalContents.get( location => "OpacNavBottom", lang => lang, library => logged_in_user.branchcode, blocktitle => 0 ) %]
[% SET borrower_club_enrollments = logged_in_user.get_club_enrollments %]
[% SET borrower_enrollable_clubs = logged_in_user.get_enrollable_clubs(1) %]
[% INCLUDE 'doc-head-open.inc' %]
Your library home › [% IF ( LibraryNameTitle ) %][% LibraryNameTitle | html %][% ELSE %]Koha online[% END %] catalog
[% INCLUDE 'doc-head-close.inc' %]
[% Asset.css("css/overdrive.css") | $raw %]
[% BLOCK cssinclude %][% END %]
[% INCLUDE 'bodytag.inc' bodyid='opac-user' bodyclass='scrollto' %]
[% INCLUDE 'masthead.inc' %]
[% IF Koha.Preference('AmazonAssocTag') %]
[% AmazonAssocTag = '?tag=' _ Koha.Preference('AmazonAssocTag') %]
[% ELSE %]
[% AmazonAssocTag = '' %]
[% END %]
Your corrections have been submitted to the library, and a staff member will update your record as soon as possible.
[% END %]
[% IF failed_holds %]
Notice:
One or more holds were not placed due to existing holds.
[% END %]
[% IF ( borrower.blockedonfines ) %]
Please note: Your account has outstanding fees & charges of [% amountoutstanding | $Price %]. Holds are blocked because your fine balance is over the limit.
[% END %]
[% IF ( borrower.warndeparture ) %]
Please note: Your library card will expire on [% borrower.warndeparture | $KohaDates %]. Please contact the library for more information.
[% IF ( borrower.returnbeforeexpiry ) %] Also note that you must return all checked out items before your library card expires.[% END %]
[% END %]
[% IF ( borrower.warnexpired ) %]
Please note: Your account has expired as of [% borrower.warnexpired | $KohaDates %]. Please contact the library if you wish to renew your account.
[% END %]
[% IF ( RENEW_ERROR ) %]
Please note:
Your loan renewal failed because of the following reason(s):
[% FOREACH error IN RENEW_ERROR.split('\|') %]
[% IF error == 'card_expired' %]
Your account has expired. Please contact the library for more information.
[% ELSIF error == 'too_many' %]
You have renewed this item the maximum number of times allowed.
[% ELSIF error == 'too_unseen' %]
You have renewed this item the maximum number of consecutive times without it being seen by the library.
[% ELSIF error == 'too_soon' %]
It is too soon after the checkout date for this item to be renewed.
[% ELSIF error == 'on_reserve' %]
This item is on hold for another borrower.
[% ELSIF error == 'item_denied_renewal' %]
Item renewal is not allowed.
[% ELSIF error == 'auto_too_soon' %]
This item is scheduled for auto renewal.
[% END %]
[% END %]
[% END %]
[% IF ( patron_flagged ) %]
[% IF ( userdebarred ) %]
[% IF ( discharge_available ) %]
Please note: Your account is frozen because it has been discharged. Get your discharge
[% ELSE %]
Please note: Your account has been frozen.
[% IF ( borrower.debarredcomment ) %]
Comment:
[% IF borrower.debarredcomment.search('OVERDUES_PROCESS') %]
Restriction added by overdues process [% borrower.debarredcomment.remove('OVERDUES_PROCESS ') | html_line_break %]
[% ELSE %]
[% borrower.debarredcomment | html_line_break %]
[% END %]
[% END %]
[% IF ( borrower.userdebarreddate && debarred_date != '9999-12-31' ) %]
End date:
[% borrower.userdebarreddate | $KohaDates %]
[% END %]
Usually the reason for freezing an account is old overdues or damage fees. If your account shows to be clear, please contact the library.Go to your account page
[% END %]
[% END %]
[% IF ( borrower.gonenoaddress ) %]
Please note: Your library card has been marked as lost or stolen. If this is an error, please contact the library.
[% END %]
[% IF ( renewal_blocked_fines.defined ) && ( OpacRenewalAllowed ) %]
Please note: You cannot renew your books online. Reason: [% IF ( renewal_blocked_fines ) > 0 %]Your fines exceed [% renewal_blocked_fines | $Price %].[% ELSE %]You have fines.[% END %]
[% END %]
[% END # / IF patron_flagged %]
[% IF Koha.Preference('OPACMySummaryNote') %]
[% Koha.Preference('OPACMySummaryNote') | $raw %]
[% END %]
[% IF Koha.Preference('AllowPatronToControlAutorenewal') %]
[% END %]
[% IF ( OPACAmazonCoverImages ) %]
[% IF ( OVERDUE.normalized_isbn ) %]
[% ELSE %]
No cover image available
[% END %]
[% END %]
[% IF ( GoogleJackets ) %]
[% IF ( OVERDUE.normalized_isbn ) %]
[% ELSE %]
No cover image available
[% END %]
[% END %]
[% IF ( BakerTaylorEnabled ) %]
[% bt_id = ( OVERDUE.normalized_upc || OVERDUE.normalized_isbn ) %]
[% IF ( bt_id ) %]
[% ELSE %]
No cover image available
[% END %]
[% END %]
[% IF ( SyndeticsCoverImages ) %]
[% END %]
[% IF ( OVERDUE.imageurl && !Koha.Preference('OpacNoItemTypeImages') ) %]
[% END %] [% OVERDUE.description | html %]
[% END %]
[% IF ( show_barcode ) %]
Barcode:
[% OVERDUE.barcode | html %]
[% END %]
Call number:
[% OVERDUE.itemcallnumber | html %]
Date due:
[% OVERDUE.date_due | $KohaDates as_due_date => 1 %]
[% IF ( OpacRenewalAllowed ) %]
[% IF ( OVERDUE.debarred ) %]
Account frozen
[% ELSIF ( OVERDUE.status ) %]
[% IF ( canrenew ) %]
Renew
[% END %]
(
[% OVERDUE.renewsleft | html %] of [% OVERDUE.renewsallowed | html %] renewals remaining
[% IF Koha.Preference('UnseenRenewals') && ISSUE.unseenallowed %]
/ [% OVERDUE.unseenleft | html %] of [% OVERDUE.unseenallowed | html %] renewals left before the item must be seen by the library
[% END %]
)
[% ELSIF ( OVERDUE.norenew_overdue ) %]
Not allowed(overdue)
[% ELSIF ( OVERDUE.onreserve ) %]
On hold
[% ELSE %]
No renewals left
[% END %]
[% END %]
[% IF ( OPACFinesTab ) %]
Fines:
[% IF ( OVERDUE.charges ) %]
Yes
[% ELSE %]
No
[% END %]
[% END %]
[% END %]
[% END # /overdues_count %]
[% PROCESS 'holds-table.inc' HOLDS = RESERVES, SuspendHoldsOpac = SuspendHoldsOpac, showpriority = showpriority, AutoResumeSuspendedHolds = AutoResumeSuspendedHolds %]
[% IF Koha.Preference('ArticleRequests') %]