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>
54 <span title="[% accountline.date | html %]">[% accountline.date |$KohaDates %]</span>
57 [%- PROCESS account_type_description account=accountline -%]
58 [%- IF accountline.payment_type -%]
59 , [% AuthorisedValues.GetByCode('PAYMENT_TYPE', accountline.payment_type) | html %]
61 [%- IF accountline.description -%]
62 , [% accountline.description | html %]
66 [% IF ( accountline.itemnumber ) %]
67 [% SET biblio = accountline.item.biblio %]
68 <a href="/cgi-bin/koha/catalogue/moredetail.pl?biblionumber=[% biblio.biblionumber | uri %]&itemnumber=[% accountline.itemnumber | uri %]">[% biblio.title | html %]</a>
73 [% accountline.note | html_line_break %]
77 [% accountline.amount | $Price %]
81 [% accountline.amountoutstanding | $Price %]
88 [% IF type == 'credit' %]
90 [% ELSIF type == 'debit' %]
94 <table class="accountline-offsets-table" id="accountline-debits-table">
100 <th>Amount outstanding</th>
103 <th>Transacting librarian</th>
104 <th>Date/time of change</th>
105 <th>Amount of change</th>
106 <th>Type of change</th>
112 [% FOREACH ao IN account_offsets %]
113 [% IF type == 'credit' %]
114 [% SET offset_accountline = ao.debit %]
115 [% ELSIF type == 'debit' %]
116 [% SET offset_accountline = ao.credit %]
119 [% IF offset_accountline %]
121 <td>[% offset_accountline.date | $KohaDates %]</td>
122 <td>[% offset_accountline.timestamp | $KohaDates with_hours => 1 %]</td>
123 <td>[% offset_accountline.amount | $Price %]</td>
124 <td>[% offset_accountline.amountoutstanding | $Price %]</td>
125 <td>[% PROCESS account_type_description account=offset_accountline %]</td>
126 <td>[% offset_accountline.note | html %]</td>
127 <td>[% IF offset_accountline.manager_id %]<a href="moremember.pl?borrowernumber=[% offset_accountline.manager_id | uri %]">[% offset_accountline.manager_id | html %]</a>[% END %]</td>
128 <td>[% ao.created_on | $KohaDates with_hours => 1 %]</td>
129 <td>[% ao.amount | $Price %]</td>
130 <td>[% PROCESS offset_type_description account_offset=ao %]</td>
131 <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>
138 <div class="dialog message">
139 [% IF type == 'credit' %]
141 [% ELSIF type == 'debit' %]
148 </div> <!-- /.col-sm-10.col-sm-push-2 -->
150 <div class="col-sm-2 col-sm-pull-10">
152 [% INCLUDE 'circ-menu.inc' %]
154 </div> <!-- /.col-sm-2.col-sm-pull-10 -->
155 </div> <!-- /.row -->
158 [% MACRO jsinclude BLOCK %]
159 [% INCLUDE 'str/members-menu.inc' %]
160 [% Asset.js("js/members-menu.js") | $raw %]
163 [% INCLUDE 'intranet-bottom.inc' %]