[% USE raw %] [% PROCESS 'html_helpers.inc' %] [% WRAPPER tabs id= "finesholdsissues" %] [% WRAPPER tabs_nav %] [% WRAPPER tab_item tabname= "checkouts" bt_active= 1 %] Checkouts ([% issuecount || 0 | html %]) [% END %] [% IF relatives_issues_count %] [% WRAPPER tab_item tabname= "relatives-issues" %] Relatives' checkouts ([% relatives_issues_count | html %]) [% END %] [% END %] [% IF ( fines ) %] [% WRAPPER tab_item tabname= "finesandcharges" %] Charges ([% fines | $Price %]) [% END %] [% END %] [% IF ( guarantees_fines ) %] [% WRAPPER tab_item tabname= "guarantees_finesandcharges" %] Guarantees' charges ([% guarantees_fines | $Price %]) [% END %] [% END %] [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %] [% WRAPPER tab_item tabname= "holds" %] Holds ([% holds_count || 0 | html %]) [% END %] [% END %] [% IF Koha.Preference('UseRecalls') %] [% WRAPPER tab_item tabname= "recalls" %] Recalls ([% recalls.count || 0 | html %]) [% END %] [% END %] [% IF Koha.Preference('ArticleRequests') %] [% SET article_requests = Context.Scalar( Context.Scalar( patron, 'article_requests' ), 'filter_by_current') %] [% WRAPPER tab_item tabname= "article-requests" %] Article requests ([% article_requests.count || 0 | html %]) [% END %] [% END %] [% IF Koha.Preference('ClaimReturnedLostValue') || Koha.Preference('BundleLostValue') %] [% WRAPPER tab_item tabname= "return-claims" %] Claims [% IF ( patron.return_claims.count ) %] ([% IF patron.return_claims.resolved.count == 0 %] [% patron.return_claims.resolved.count | html %] [% ELSE %] [% patron.return_claims.resolved.count | html %] [% END %] [% IF patron.return_claims.unresolved.count == 0 %] [% patron.return_claims.unresolved.count | html %] [% ELSE %] [% patron.return_claims.unresolved.count | html %] [% END %]) [% ELSE %] [% no_claims = 0 %] ([% no_claims | html %] [% no_claims | html %]) [% END # /IF patron.return_claims.count %] [% END # /WRAPPER tab_item return-claims %] [% END %] [% WRAPPER tab_item tabname= "reldebarments" %] Restrictions ([% patron.restrictions.count || 0 | html %]) [% END %] [% SET enrollments = patron.get_club_enrollments %] [% SET enrollable = patron.get_enrollable_clubs(0) %] [% IF CAN_user_clubs && ( enrollable.count || enrollments.count ) %] [% WRAPPER tab_item tabname= "clubs" %] Clubs ([% enrollments.count | html %]/[% enrollable.count | html %]) [% END %] [% END %] [% END # /WRAPPER tabs_nav %] [% WRAPPER tab_panels %] [% WRAPPER tab_panel tabname="checkouts" bt_active= 1 %] [% INCLUDE "checkouts-table.inc" %] [% END # /tab_panel# %] [% WRAPPER tab_panel tabname="relatives-issues" %] [% INCLUDE "relatives-issues-table.inc" %] [% END # /tab_panel# %] [% WRAPPER tab_panel tabname="finesandcharges" %] [% IF ( fines ) %]

Total due: [% fines | $Price %]

[% ELSE %]

No outstanding charges

[% END %] [% END # /tab_panel# %] [% IF ( guarantees_fines ) %] [% WRAPPER tab_panel tabname="guarantees_finesandcharges" %] [% FOREACH guarantee IN guarantees %] [% IF logged_in_user.can_see_patron_infos( guarantee ) %] [% ELSE %] [% END %] [% END %]
Guarantee Amount outstanding
[% INCLUDE 'patron-title.inc' patron=guarantee hide_patron_infos_if_needed=1 %][% guarantee.account.balance | $Price %]-
Total due [% guarantees_fines | $Price %]
[% END # /tab_panel# %] [% END # /tab_panel# %] [% IF CAN_user_clubs && ( enrollments.count || enrollable.count ) %] [% WRAPPER tab_panel tabname="clubs" %] Loading... [% END # /tab_panel# %] [% END %] [% WRAPPER tab_panel tabname="reldebarments" %] [% INCLUDE 'patron-restrictions-tab.inc' %] [% END # /tab_panel# %] [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %] [% WRAPPER tab_panel tabname="holds" %] [% IF ( holds_count ) %]
Hold date Title Call number Item type Barcode Pickup at Expiration Priority Cancel? Suspend? Status
[% SET hold_cancellation = AuthorisedValues.GetAuthValueDropbox('HOLD_CANCELLATION') %] [% IF hold_cancellation.count %] [% END %]
[% IF Koha.Preference('SuspendHoldsIntranet') %]
[% IF Koha.Preference('AutoResumeSuspendedHolds') %] Specify date on which to resume [% INCLUDE 'date-format.inc' %]: [% END %]
[% END # IF SuspendHoldsIntranet %] [% ELSE %]

Patron has nothing on hold.

[% END %] [% END # /tab_panel#holds %] [% END %] [% IF Koha.Preference('UseRecalls') %] [% WRAPPER tab_panel tabname="recalls" %] [% INCLUDE 'recalls.inc' %] [% END # /tab_panel# %] [% END %] [% IF Koha.Preference('ClaimReturnedLostValue') || Koha.Preference('BundleLostValue') %] [% WRAPPER tab_panel tabname="return-claims" %] [% INCLUDE 'patron-return-claims.inc' %] [% END # /tab_panel# %] [% END %] [% IF Koha.Preference('ArticleRequests') %] [% WRAPPER tab_panel tabname="article-requests" %] [% INCLUDE 'patron-article-requests.inc' %] [% END %] [% END # /tab_panel# %] [% END # /WRAPPER tab_panels %] [% END # /WRAPPER tabs %]