3 [%- USE AuthorisedValues -%]
6 [% INCLUDE 'doc-head-open.inc' %]
7 <title>Koha › Patrons › Account for [% INCLUDE 'patron-title.inc' %]</title>
8 [% INCLUDE 'doc-head-close.inc' %]
10 <body id="pat_discharges" class="pat">
11 [% INCLUDE 'header.inc' %]
12 [% INCLUDE 'patron-search.inc' %]
14 <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 | html %]">Account for [% INCLUDE 'patron-title.inc' %]</a> › Details for account line [% accountline.id | html %]</div>
16 <div id="doc3" class="yui-t2">
21 [% IF type == 'credit' %]
22 <h2>Details for payment</h2>
23 [% ELSIF type == 'debit' %]
24 <h2>Details for fee</h2>
27 <table id="table_account_fines">
30 <th class="title-string">Date</th>
31 <th>Description of charges</th>
41 <span title="[% accountline.date | html %]">[% accountline.date |$KohaDates %]</span>
44 [%- INCLUDE 'accounttype.inc' account => accountline -%]
45 [%- IF accountline.payment_type -%]
46 , [% AuthorisedValues.GetByCode('PAYMENT_TYPE', accountline.payment_type) | html %]
48 [%- IF accountline.description -%]
49 , [% accountline.description | html %]
53 [% IF ( accountline.itemnumber ) %]
54 [% SET biblio = accountline.item.biblio %]
55 <a href="/cgi-bin/koha/catalogue/moredetail.pl?biblionumber=[% biblio.biblionumber | html %]&itemnumber=[% accountline.itemnumber | html %]">[% biblio.title | html %]</a>
60 [% accountline.note | html_line_break %]
64 [% accountline.amount | $Price | html %]
68 [% accountline.amountoutstanding | $Price | html %]
74 [% IF type == 'credit' %]
76 [% ELSIF type == 'debit' %]
80 [% IF account_offsets %]
81 <table class="accountline-offsets-table" id="accountline-debits-table">
87 <th>Amount outstanding</th>
90 <th>Transacting librarian</th>
91 <th>Date/Time of change</th>
92 <th>Amount of change</th>
93 <th>Type of change</th>
99 [% FOREACH ao IN account_offsets %]
100 [% IF type == 'credit' %]
101 [% SET offset_accountline = ao.debit %]
102 [% ELSIF type == 'debit' %]
103 [% SET offset_accountline = ao.credit %]
106 [% IF offset_accountline %]
108 <td>[% offset_accountline.date | $KohaDates %]</td>
109 <td>[% offset_accountline.timestamp | $KohaDates with_hours => 1 | html %]</td>
110 <td>[% offset_accountline.amount | $Price | html %]</td>
111 <td>[% offset_accountline.amountoutstanding | $Price | html %]</td>
112 <td>[% INCLUDE 'accounttype.inc' account => offset_accountline %]</td>
113 <td>[% offset_accountline.note | html %]</td>
114 <td>[% IF offset_accountline.manager_id %]<a href="moremember.pl?borrowernumber=[% offset_accountline.manager_id | html %]">[% offset_accountline.manager_id | html %]</a>[% END %]</td>
115 <td>[% ao.created_on | $KohaDates with_hours => 1 | html %]</td>
116 <td>[% ao.amount | $Price | html %]</td>
117 <td>[% INCLUDE 'account_offset_type.inc' account_offset => ao %]</td>
118 <td><a href="accountline-details.pl?accountlines_id=[% offset_accountline.id | html %]" class="btn btn-default btn-xs"><i class="fa fa-list"></i> Details</a></td>
125 No details available for this payment.
128 <div class="dialog message">
129 <p>Account line not found.</p>
136 [% INCLUDE 'circ-menu.inc' %]
139 [% INCLUDE 'intranet-bottom.inc' %]