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>
47 <td>[% account.description %] [% 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>
48 <td>[% account.note %]</td>
49 [% IF ( account.amountcredit ) %]<td class="credit">[% ELSE %]<td class="debit">[% END %][% account.amount %]</td>
50 [% IF ( account.amountoutstandingcredit ) %]<td class="credit">[% ELSE %]<td class="debit">[% END %][% account.amountoutstanding %]</td>
51 [% IF ( reverse_col ) %]
53 [% IF ( account.payment ) %]
54 <a href="boraccount.pl?action=reverse&accountlines_id=[% account.accountlines_id %]&borrowernumber=[% account.borrowernumber %]">Reverse</a>
61 [% IF ( account.payment ) %]
62 <a target="_blank" href="printfeercpt.pl?action=print&accountlines_id=[% account.accountlines_id %]&borrowernumber=[% account.borrowernumber %]">Print</a>
64 <a target="_blank" href="printinvoice.pl?action=print&accountlines_id=[% account.accountlines_id %]&borrowernumber=[% account.borrowernumber %]">Print</a>
72 <td colspan="4">Total due</td>
73 [% IF ( totalcredit ) %]
74 [% IF ( reverse_col ) %]
75 <td colspan="3" class="credit">
77 <td colspan="2" class="credit">
80 [% IF ( reverse_col ) %]
81 <td colspan="3" class="debit">
83 <td colspan="2" class="credit">
96 [% INCLUDE 'circ-menu.inc' %]
99 [% INCLUDE 'intranet-bottom.inc' %]