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 %]
[% IF limit %]
[% END # / IF checkouts.size == 0 %]
Congratulations, you have saved a total of [% savings | $Price with_symbol => 1 %] by using the library.
[% END %]
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 %]