[% USE Koha %] [% USE Branches %] [% USE KohaDates %] [% USE Price %] [% INCLUDE 'doc-head-open.inc' %] Summary for [% firstname %] [% surname %] ([% cardnumber %]) [% INCLUDE 'doc-head-close.inc' %] [% INCLUDE 'slip-print.inc' #printThenClose %]

Account summary: [% firstname %] [% surname %] ([% cardnumber %])

[% IF ( issues ) %] [% FOREACH issue IN issues %] [% IF ( issue.overdue ) %][% ELSE %][% END %] [% END %]
Items checked out
Title Author Call no Item type Date due Barcode Charge Price Status
[% issue.title |html %] [% issue.author %] [% issue.itemcallnumber %] [% issue.itemtype_description %] [% issue.date_due | $KohaDates as_due_date => 1 %] [% issue.barcode %] [% issue.charge %] [% issue.replacementprice %] [% IF ( issue.overdue ) %]Overdue![% ELSE %] [% END %]
Totals: [% totaldue %] [% totalprice %]  
[% END %] [% IF ( reserves ) %] [% FOREACH reserve IN reserves %] [% END %]
Pending holds
Title Author Placed on Expires on Pick up location
[% reserve.title %] [% reserve.author %] [% reserve.reservedate | $KohaDates %] [% reserve.expirationdate | $KohaDates %] [% reserve.waiting_at %]
[% END %] [% IF accounts && ( totaldue < 0 || totaldue > 0 ) %] [% FOREACH account IN accounts %] [% IF ( account.amountoutstanding < 0 ) || ( account.amountoutstanding > 0 ) %] [% END %] [% END %]
Account fines and payments
Description of charges Date Amount Outstanding
[% IF ( account.itemnumber ) %][% END %] [% account.description %] [% IF ( account.printtitle ) %] [% account.title |html %][% END %] [% IF ( account.itemnumber ) %][% END %] [% account.date | $KohaDates %] [% account.amount | $Price %] [% account.amountoutstanding | $Price %]
Total due [% totaldue | $Price %]
[% END %] [% INCLUDE 'intranet-bottom.inc' %]