3 [%- USE AuthorisedValues -%]
5 [% INCLUDE 'doc-head-open.inc' %]
6 <title>Koha › Patrons › Account for [% INCLUDE 'patron-title.inc' %]</title>
7 [% INCLUDE 'doc-head-close.inc' %]
9 <body id="pat_discharges" class="pat">
10 [% INCLUDE 'header.inc' %]
11 [% INCLUDE 'patron-search.inc' %]
13 <div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> › <a href="/cgi-bin/koha/members/members-home.pl">Patrons</a> › <a href="/cgi-bin/koha/members/boraccount.pl?borrowernumber=[% patron.borrowernumber %]">Account for [% INCLUDE 'patron-title.inc' %]</a> › Details for account line [% accountline.id %]</div>
15 <div id="doc3" class="yui-t2">
20 [% IF type == 'credit' %]
21 <h2>Details for payment</h2>
22 [% ELSIF type == 'debit' %]
23 <h2>Details for fee</h2>
26 <table id="table_account_fines">
29 <th class="title-string">Date</th>
30 <th>Description of charges</th>
40 <span title="[% accountline.date %]">[% accountline.date |$KohaDates %]</span>
43 [%- INCLUDE 'accounttype.inc' account => accountline -%]
44 [%- IF accountline.payment_type -%]
45 , [% AuthorisedValues.GetByCode('PAYMENT_TYPE', accountline.payment_type) %]
47 [%- IF accountline.description -%]
48 , [% accountline.description %]
52 [% IF ( accountline.itemnumber ) %]
53 <a href="/cgi-bin/koha/catalogue/moredetail.pl?biblionumber=[% accountline.biblionumber %]&itemnumber=[% accountline.itemnumber %]">[% accountline.title |html %]</a>
58 [% accountline.note | html_line_break %]
62 [% accountline.amount | $Price %]
66 [% accountline.amountoutstanding | $Price %]
72 [% IF type == 'credit' %]
74 [% ELSIF type == 'debit' %]
78 [% IF account_offsets %]
79 <table class="accountline-offsets-table" id="accountline-debits-table">
85 <th>Amount outstanding</th>
88 <th>Transacting librarian</th>
89 <th>Date/Time of change</th>
90 <th>Amount of change</th>
91 <th>Type of change</th>
97 [% FOREACH ao IN account_offsets.sort('created_on') %]
98 [% IF type == 'credit' %]
99 [% SET offset_accountline = ao.debit %]
100 [% ELSIF type == 'debit' %]
101 [% SET offset_accountline = ao.credit %]
104 [% IF offset_accountline %]
106 <td>[% offset_accountline.date | $KohaDates %]</td>
107 <td>[% offset_accountline.timestamp | $KohaDates with_hours => 1 %]</td>
108 <td>[% offset_accountline.amount | $Price %]</td>
109 <td>[% offset_accountline.amountoutstanding | $Price %]</td>
110 <td>[% INCLUDE 'accounttype.inc' account => offset_accountline %]</td>
111 <td>[% offset_accountline.note %]</td>
112 <td>[% IF offset_accountline.manager_id %]<a href="moremember.pl?borrowernumber=[% offset_accountline.manager_id %]">[% offset_accountline.manager_id %]</a>[% END %]</td>
113 <td>[% ao.created_on | $KohaDates with_hours => 1 %]</td>
114 <td>[% ao.amount | $Price %]</td>
115 <td>[% INCLUDE 'account_offset_type.inc' account_offset => ao %]</td>
116 <td><a href="accountline-details.pl?accountlines_id=[% offset_accountline.id %]" class="btn btn-default btn-xs"><i class="fa fa-list"></i> Details</a></td>
123 No details available for this payment.
126 <div class="dialog message">
127 <p>Account line not found.</p>
134 [% INCLUDE 'circ-menu.inc' %]
137 [% INCLUDE 'intranet-bottom.inc' %]