[% USE Koha %]
[% USE Branches %]
[% USE KohaDates %]
[% USE Price %]
[% USE ItemTypes %]
[% SET footerjs = 1 %]
[% PROCESS 'accounts.inc' %]
[% INCLUDE 'doc-head-open.inc' %]
[% IF Koha.Preference( 'AddressFormat' ) %]
[% INCLUDE "member-display-address-style-${ Koha.Preference( 'AddressFormat' ) }.inc" %]
[% ELSE %]
[% INCLUDE 'member-display-address-style-us.inc' %]
[% END %]
- [% IF ( patron.phone ) %][% patron.phone | html %][% ELSE %](no phone number on file)[% END %]
- [% IF ( patron.email ) %][% patron.email | html %][% ELSE %](no primary email on file)[% END %]
[% IF ( patron.emailpro ) %]
- [% patron.emailpro | html %]
[% END %]
- Registration date: [% patron.dateenrolled | $KohaDates %]
- Expiration date: [% patron.dateexpiry | $KohaDates %]
- Library: [% Branches.GetName( patron.branchcode ) | html %]
- Category: [% patron.category.description | html %]
[% IF ( issues ) %]
Items checked out
Title |
Author |
Call no |
Item type |
Date due |
Barcode |
Charge |
Price |
Status |
[% FOREACH issue IN issues %]
[% IF ( issue.overdue ) %][% ELSE %]
[% END %]
[% issue.title | html %]
|
[% issue.author | html %] |
[% issue.itemcallnumber | html %] |
[% ItemTypes.GetDescription( issue.itype ) | html %] |
[% issue.date_due | $KohaDates as_due_date => 1 %] |
[% issue.barcode | html %] |
[% issue.charge | $Price %] |
[% issue.replacementprice | $Price %] |
[% IF ( issue.overdue ) %]Overdue![% ELSE %] [% END %] |
[% END %]
Totals: |
[% totaldue | $Price %] |
[% totalprice | $Price %] |
|
[% END %]
[% IF ( reserves ) %]
Pending holds
Title |
Author |
Placed on |
Expires on |
Pick up location |
[% FOREACH reserve IN reserves %]
[% reserve.title | html %] |
[% reserve.author | html %] |
[% reserve.reservedate | $KohaDates %] |
[% reserve.expirationdate | $KohaDates %] |
[% reserve.waiting_at | html %] |
[% END %]
[% END %]
[% IF accounts && totaldue != 0 %]
Account fines and payments
Date |
Description of charges |
Note |
Amount |
Outstanding |
[% FOREACH account IN accounts %]
[% account.date | $KohaDates %] |
[% PROCESS account_type_description account=account %]
[%- IF account.payment_type %]
, [% AuthorisedValues.GetByCode('PAYMENT_TYPE', account.payment_type) | html %]
[% END %]
[%- IF account.description %]
, [% account.description | html %]
[% END %]
[% IF ( account.itemnumber AND account.debit_type_code != 'OVERDUE' ) %]
[% account.item.biblio.title | html %]
[% END %]
|
[% account.note | html_line_break %]
|
[% IF ( account.amount < 0 ) %]
[% ELSE %]
|
[% END %][% account.amount | $Price %]
|
[% IF ( account.amountoutstanding < 0 ) %]
[% ELSE %]
|
[% END %]
[% account.amountoutstanding | $Price %]
|
[% END %]
Total due |
[% totaldue | $Price %] |
[% END %]
[% MACRO jsinclude BLOCK %]
[% INCLUDE 'slip-print.inc' #printThenClose %]
[% END %]
[% INCLUDE 'intranet-bottom.inc' %]