[% USE raw %] [% USE Koha %] [% USE KohaDates %] [% USE TablesSettings %] [% USE AdditionalContents %] [% USE Asset %] [% USE Price %] [% SET OpacNav = AdditionalContents.get( location => "OpacNav", lang => lang, library => logged_in_user.branchcode || default_branch, blocktitle => 0 ) %] [% SET OpacNavBottom = AdditionalContents.get( location => "OpacNavBottom", lang => lang, library => logged_in_user.branchcode || default_branch, blocktitle => 0 ) %] [% INCLUDE 'doc-head-open.inc' %] Your checkout history › [% IF ( LibraryNameTitle ) %][% LibraryNameTitle | html %][% ELSE %]Koha online[% END %] catalog [% INCLUDE 'doc-head-close.inc' %] [% BLOCK cssinclude %][% END %] [% INCLUDE 'bodytag.inc' bodyid='opac-readingrecord' %] [% INCLUDE 'masthead.inc' %] [% IF Koha.Preference('AmazonAssocTag') %] [% AmazonAssocTag = '?tag=' _ Koha.Preference('AmazonAssocTag') %] [% ELSE %] [% AmazonAssocTag = '' %] [% END %]
[% WRAPPER breadcrumbs %] [% WRAPPER breadcrumb_item %] [% INCLUDE 'patron-title.inc' patron = logged_in_user %] [% END %] [% WRAPPER breadcrumb_item bc_active= 1 %] Your checkout history [% END %] [% END #/ WRAPPER breadcrumbs %]

Checkout history

[% UNLESS checkouts %][% checkouts = [] %][% END %] [% UNLESS old_checkouts %][% old_checkouts = [] %][% END %] [% SET all_checkouts = checkouts.merge(old_checkouts) %] [% IF all_checkouts.size == 0 %] You have never borrowed anything from this library. [% ELSE %]
[% IF savings %]
Congratulations, you have saved a total of [% savings | $Price with_symbol => 1 %] by using the library.
[% END %]
[% UNLESS ( limit ) %][% END %]
[% IF limit %]

Showing last 50 items. Show all items

[% ELSE %]

Showing all items. Show last 50 items

[% END %] [% IF Koha.Preference( 'OnSiteCheckouts' ) == 1 %] [% WRAPPER tabs id= "tabs" %] [% WRAPPER tabs_nav %] [% WRAPPER tab_item tabid= "all_checkouts" tabname="tabs-container" bt_active= 1 %] All [% END %] [% WRAPPER tab_item tabid= "checkout" tabname="tabs-container" %] Checkouts [% END %] [% WRAPPER tab_item tabid= "onsite_checkout" tabname="tabs-container" %] On-site checkouts [% END %] [% END # /WRAPPER tabs_nav %] [% WRAPPER tab_panels %] [% WRAPPER tab_panel tabname="tabs-container" bt_active= 1 %] [% PROCESS checkout_history_table checkouts=all_checkouts %] [% END # /tab_panel# %] [% END # /WRAPPER tab_panels %] [% END # /WRAPPER tabs %] [% ELSE %] [% PROCESS checkout_history_table checkouts=all_checkouts %] [% END %]
[% END # / IF checkouts.size == 0 %]
[% BLOCK checkout_history_table %] [% IF Koha.Preference('OPACMySummaryHTML') %] [% END %] [% FOREACH checkout IN checkouts %] [% SET item = checkout.item %] [% SET biblio = item.biblio %] [% IF checkout.returndate %] [% ELSE %] [% END %] [% IF Koha.Preference('OPACMySummaryHTML') %] [% END %] [% END # / FOREACH checkout %]
Checkout history
Title Author Item type Call number Vol info DateLinks
[% IF checkout.onsite_checkout %][% issuetype = 'onsite_checkout' %] [% ELSE %][% issuetype = 'standard_checkout' %] [% END %] [% issuetype | html %] [% SET normalized_isbn = biblio.normalized_isbn %] [% IF OPACAmazonCoverImages %] [% IF normalized_isbn %] [% ELSE %] No cover image available [% END %] [% END %] [% IF GoogleJackets %] [% IF normalized_isbn %]
[% ELSE %] No cover image available [% END %] [% END %] [% IF BakerTaylorEnabled || SyndeticsEnabled && SyndeticsCoverImages %] [% SET normalized_upc = biblio.normalized_upc %] [% END %] [% IF BakerTaylorEnabled %] [% bt_id = ( normalized_upc || normalized_isbn ) %] [% IF ( bt_id ) %] See Baker & Taylor [% ELSE %] No cover image available [% END %] [% END %] [% IF SyndeticsEnabled && SyndeticsCoverImages %] [% END %]
[% INCLUDE 'biblio-title.inc' biblio=biblio, link => 1 %] [% IF ( Koha.Preference( 'OpacStarRatings' ) == 'all' ) %] [% SET ratings = {ratings => biblio.ratings, itemnumber => item.itemnumber, biblionumber => biblio.biblionumber, my_rating => biblio.ratings.search( borrowernumber => logged_in_user.borrowernumber ).next } %] [% INCLUDE 'user-star-ratings.inc' item=ratings %] [% END %] [% biblio.author | html %] [% SET item_type = item_types.${item.effective_itemtype} %] [% UNLESS ( Koha.Preference('OpacNoItemTypeImages') ) %] [% SET image_location = item_type.image_location %] [% IF image_location %] [% END %] [% END %] Item type: [% item_type.translated_description | html %] Call number: [% item.itemcallnumber | html %] [% IF item.enumchron %] [% item.enumchron | html %] [% END %] Check-in date: [% checkout.returndate | $KohaDates %] (Checked out) [% biblio.opac_summary_html | $raw %]
[% END %] [% INCLUDE 'opac-bottom.inc' %] [% BLOCK jsinclude %] [% INCLUDE 'datatables.inc' %] [% INCLUDE 'columns_settings.inc' %] [% IF ( Koha.Preference('OpacStarRatings') == 'all' ) %] [% Asset.js("lib/jquery/plugins/jquery.barrating.min.js") | $raw %] [% Asset.js("js/ratings.js") | $raw %] [% END %] [% END %]