1 [% INCLUDE 'doc-head-open.inc' %]
2 <title>Koha › Patrons › Account for [% INCLUDE 'patron-title.inc' %]</title>
3 [% INCLUDE 'doc-head-close.inc' %]
5 <body id="pat_borraccount" class="pat">
6 [% INCLUDE 'header.inc' %]
7 [% INCLUDE 'patron-search.inc' %]
9 <div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> › <a href="/cgi-bin/koha/members/members-home.pl">Patrons</a> › Account for [% INCLUDE 'patron-title.inc' %]</div>
11 <div id="doc3" class="yui-t2">
16 [% INCLUDE 'members-toolbar.inc' %]
17 <form action="/cgi-bin/koha/members/boraccount.pl" method="get"><input type="hidden" name="borrowernumber" id="borrowernumber" value="[% borrowernumber %]" /></form>
19 <!-- The manual invoice and credit buttons -->
20 <div class="statictabs">
22 <li class="active"><a href="/cgi-bin/koha/members/boraccount.pl?borrowernumber=[% borrowernumber %]">Account</a></li>
23 <li><a href="/cgi-bin/koha/members/pay.pl?borrowernumber=[% borrowernumber %]" >Pay fines</a></li>
24 <li><a href="/cgi-bin/koha/members/maninvoice.pl?borrowernumber=[% borrowernumber %]" >Create manual invoice</a></li>
25 <li><a href="/cgi-bin/koha/members/mancredit.pl?borrowernumber=[% borrowernumber %]" >Create manual credit</a></li>
27 <div class="tabs-container">
28 <!-- The table with the account items -->
32 <th>Description of charges</th>
36 [% IF ( reverse_col ) %]
42 <!-- FIXME: Shouldn't hardcode dollar signs, since Euro or Pound might be needed -->
43 [% FOREACH account IN accounts %]
45 [% IF ( loop.odd ) %]<tr>[% ELSE %]<tr class="highlight">[% END %]
46 <td>[% account.date %]</td>
48 [% SWITCH account.accounttype %]
49 [% CASE 'Pay' %]Payment,thanks
50 [% CASE 'N' %]New Card
52 [% CASE 'A' %]Account management fee
54 [% CASE 'L' %]Lost Item
55 [% CASE 'W' %]Writeoff
56 [% CASE %][% account.accounttype %]
58 [%- IF account.description %], [% account.description %][% END %]
59 [% IF ( account.itemnumber ) %]<a href="/cgi-bin/koha/catalogue/moredetail.pl?biblionumber=[% account.biblionumber %]&itemnumber=[% account.itemnumber %]">View item</a> [% END %][% account.title |html %]</td>
60 <td>[% account.note | html_line_break %]</td>
61 [% IF ( account.amountcredit ) %]<td class="credit">[% ELSE %]<td class="debit">[% END %][% account.amount %]</td>
62 [% IF ( account.amountoutstandingcredit ) %]<td class="credit">[% ELSE %]<td class="debit">[% END %][% account.amountoutstanding %]</td>
63 [% IF ( reverse_col ) %]
65 [% IF ( account.payment ) %]
66 <a href="boraccount.pl?action=reverse&accountlines_id=[% account.accountlines_id %]&borrowernumber=[% account.borrowernumber %]">Reverse</a>
73 [% IF ( account.payment ) %]
74 <a target="_blank" href="printfeercpt.pl?action=print&accountlines_id=[% account.accountlines_id %]&borrowernumber=[% account.borrowernumber %]">Print</a>
76 <a target="_blank" href="printinvoice.pl?action=print&accountlines_id=[% account.accountlines_id %]&borrowernumber=[% account.borrowernumber %]">Print</a>
84 <td colspan="4">Total due</td>
85 [% IF ( totalcredit ) %]
86 [% IF ( reverse_col ) %]
87 <td colspan="3" class="credit">
89 <td colspan="2" class="credit">
92 [% IF ( reverse_col ) %]
93 <td colspan="3" class="debit">
95 <td colspan="2" class="credit">
108 [% INCLUDE 'circ-menu.inc' %]
111 [% INCLUDE 'intranet-bottom.inc' %]