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 <nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
21 <a href="/cgi-bin/koha/mainpage.pl">Home</a>
24 <a href="/cgi-bin/koha/members/members-home.pl">Patrons</a>
27 [% IF type == 'credit' %]
29 <a href="/cgi-bin/koha/members/boraccount.pl?borrowernumber=[% patron.borrowernumber | uri %]">Account for [% INCLUDE 'patron-title.inc' %]</a>
32 <a href="#" aria-current="page">
36 [% ELSIF type == 'debit' %]
38 <a href="/cgi-bin/koha/members/boraccount.pl?borrowernumber=[% patron.borrowernumber | uri %]">Account for [% INCLUDE 'patron-title.inc' %]</a>
41 <a href="#" aria-current="page">
47 <a href="#" aria-current="page">
48 Account for [% INCLUDE 'patron-title.inc' %]
55 <div class="main container-fluid">
57 <div class="col-sm-10 col-sm-push-2">
60 [% INCLUDE 'members-toolbar.inc' borrowernumber=patron.borrowernumber %]
63 [% IF type == 'credit' %]
64 <h2>Details of payment</h2>
65 [% ELSIF type == 'debit' %]
66 <h2>Details of fee</h2>
69 <table id="table_account_fines">
73 <th>Description of charges</th>
86 [% accountline.date |$KohaDates %]
89 [%- PROCESS account_type_description account=accountline -%]
90 [%- IF accountline.payment_type -%]
91 , [% AuthorisedValues.GetByCode('PAYMENT_TYPE', accountline.payment_type) | html %]
93 [%- IF accountline.description -%]
94 , [% accountline.description | html %]
98 [% IF ( accountline.itemnumber ) %]
99 [% SET biblio = accountline.item.biblio %]
100 <a href="/cgi-bin/koha/catalogue/moredetail.pl?biblionumber=[% biblio.biblionumber | uri %]&itemnumber=[% accountline.itemnumber | uri %]">[% biblio.title | html %]</a>
105 [% IF ( accountline.itemnumber ) %]
106 <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>
111 [% IF ( accountline.issue_id ) %]
112 [% accountline.checkout.date_due | $KohaDates as_due_date => 1 %]
117 [% IF ( accountline.issue_id ) %]
118 [% accountline.checkout.returndate | $KohaDates with_hours => 1 %]
123 [% accountline.note | html_line_break %]
127 [% accountline.amount | $Price %]
131 [% accountline.amountoutstanding | $Price %]
138 [% IF type == 'credit' %]
140 [% ELSIF type == 'debit' %]
144 <table class="accountline-offsets-table" id="accountline-debits-table">
147 <th>Date created</th>
148 <th>Date updated</th>
150 <th>Amount outstanding</th>
153 <th>Transacting librarian</th>
154 <th>Date/time of change</th>
155 <th>Amount of change</th>
156 <th>Type of change</th>
162 [% FOREACH ao IN account_offsets %]
163 [% IF type == 'credit' %]
164 [% SET offset_accountline = ao.debit %]
165 [% ELSIF type == 'debit' %]
166 [% SET offset_accountline = ao.credit %]
169 [% IF offset_accountline %]
171 <td>[% offset_accountline.date | $KohaDates %]</td>
172 <td>[% offset_accountline.timestamp | $KohaDates with_hours => 1 %]</td>
173 <td>[% offset_accountline.amount | $Price %]</td>
174 <td>[% offset_accountline.amountoutstanding | $Price %]</td>
175 <td>[% PROCESS account_type_description account=offset_accountline %]</td>
176 <td>[% offset_accountline.note | html %]</td>
177 <td>[% IF offset_accountline.manager_id %]<a href="moremember.pl?borrowernumber=[% offset_accountline.manager_id | uri %]">[% offset_accountline.manager_id | html %]</a>[% END %]</td>
178 <td>[% ao.created_on | $KohaDates with_hours => 1 %]</td>
179 <td>[% ao.amount | $Price %]</td>
180 <td>[% PROCESS offset_type_description account_offset=ao %]</td>
181 <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>
188 <div class="dialog message">
189 [% IF type == 'credit' %]
191 [% ELSIF type == 'debit' %]
198 </div> <!-- /.col-sm-10.col-sm-push-2 -->
200 <div class="col-sm-2 col-sm-pull-10">
202 [% INCLUDE 'circ-menu.inc' %]
204 </div> <!-- /.col-sm-2.col-sm-pull-10 -->
205 </div> <!-- /.row -->
208 [% MACRO jsinclude BLOCK %]
209 [% INCLUDE 'str/members-menu.inc' %]
210 [% Asset.js("js/members-menu.js") | $raw %]
213 [% INCLUDE 'intranet-bottom.inc' %]