5 [%- USE AuthorisedValues -%]
8 [% PROCESS 'accounts.inc' %]
9 [% INCLUDE 'doc-head-open.inc' %]
10 <title>Koha › Patrons › [% INCLUDE 'patron-title.inc' no_html = 1 %] › Details of fee</title>
11 [% INCLUDE 'doc-head-close.inc' %]
14 <body id="pat_accountline_details" class="pat">
15 [% INCLUDE 'header.inc' %]
16 [% INCLUDE 'patron-search.inc' %]
18 <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> ›
19 [% IF type == 'credit' %]
21 [% ELSIF type == 'debit' %]
26 <div class="main container-fluid">
28 <div class="col-sm-10 col-sm-push-2">
31 [% INCLUDE 'members-toolbar.inc' borrowernumber=patron.borrowernumber %]
34 [% IF type == 'credit' %]
35 <h2>Details of payment</h2>
36 [% ELSIF type == 'debit' %]
37 <h2>Details of fee</h2>
40 <table id="table_account_fines">
43 <th class="title-string">Date</th>
44 <th>Description of charges</th>
57 <span title="[% accountline.date | html %]">[% accountline.date |$KohaDates %]</span>
60 [%- PROCESS account_type_description account=accountline -%]
61 [%- IF accountline.payment_type -%]
62 , [% AuthorisedValues.GetByCode('PAYMENT_TYPE', accountline.payment_type) | html %]
64 [%- IF accountline.description -%]
65 , [% accountline.description | html %]
69 [% IF ( accountline.itemnumber ) %]
70 [% SET biblio = accountline.item.biblio %]
71 <a href="/cgi-bin/koha/catalogue/moredetail.pl?biblionumber=[% biblio.biblionumber | uri %]&itemnumber=[% accountline.itemnumber | uri %]">[% biblio.title | html %]</a>
76 [% IF ( accountline.itemnumber ) %]
77 <a href="/cgi-bin/koha/catalogue/moredetail.pl?biblionumber=[% accountline.item.biblionumber | uri %]&itemnumber=[% accountline.itemnumber | uri %]#item[% accountline.itemnumber | uri %]">[% accountline.item.barcode | html %]</a>
82 [% IF ( accountline.issue_id ) %]
83 [% accountline.checkout.date_due | $KohaDates as_due_date => 1 %]
88 [% IF ( accountline.issue_id ) %]
89 [% accountline.checkout.returndate | $KohaDates with_hours => 1 %]
94 [% accountline.note | html_line_break %]
98 [% accountline.amount | $Price %]
102 [% accountline.amountoutstanding | $Price %]
109 [% IF type == 'credit' %]
111 [% ELSIF type == 'debit' %]
115 <table class="accountline-offsets-table" id="accountline-debits-table">
118 <th>Date created</th>
119 <th>Date updated</th>
121 <th>Amount outstanding</th>
124 <th>Transacting librarian</th>
125 <th>Date/time of change</th>
126 <th>Amount of change</th>
127 <th>Type of change</th>
133 [% FOREACH ao IN account_offsets %]
134 [% IF type == 'credit' %]
135 [% SET offset_accountline = ao.debit %]
136 [% ELSIF type == 'debit' %]
137 [% SET offset_accountline = ao.credit %]
140 [% IF offset_accountline %]
142 <td>[% offset_accountline.date | $KohaDates %]</td>
143 <td>[% offset_accountline.timestamp | $KohaDates with_hours => 1 %]</td>
144 <td>[% offset_accountline.amount | $Price %]</td>
145 <td>[% offset_accountline.amountoutstanding | $Price %]</td>
146 <td>[% PROCESS account_type_description account=offset_accountline %]</td>
147 <td>[% offset_accountline.note | html %]</td>
148 <td>[% IF offset_accountline.manager_id %]<a href="moremember.pl?borrowernumber=[% offset_accountline.manager_id | uri %]">[% offset_accountline.manager_id | html %]</a>[% END %]</td>
149 <td>[% ao.created_on | $KohaDates with_hours => 1 %]</td>
150 <td>[% ao.amount | $Price %]</td>
151 <td>[% PROCESS offset_type_description account_offset=ao %]</td>
152 <td><a href="accountline-details.pl?accountlines_id=[% offset_accountline.id | uri %]" class="btn btn-default btn-xs"><i class="fa fa-list"></i> Details</a></td>
159 <div class="dialog message">
160 [% IF type == 'credit' %]
162 [% ELSIF type == 'debit' %]
169 </div> <!-- /.col-sm-10.col-sm-push-2 -->
171 <div class="col-sm-2 col-sm-pull-10">
173 [% INCLUDE 'circ-menu.inc' %]
175 </div> <!-- /.col-sm-2.col-sm-pull-10 -->
176 </div> <!-- /.row -->
179 [% MACRO jsinclude BLOCK %]
180 [% INCLUDE 'str/members-menu.inc' %]
181 [% Asset.js("js/members-menu.js") | $raw %]
184 [% INCLUDE 'intranet-bottom.inc' %]