View | Details | Raw Unified | Return to bug 21913
Collapse All | Expand All

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/members/accountline-details.tt (-28 / +51 lines)
Lines 1-29 Link Here
1
[% USE raw %]
2
[% USE Asset %]
1
[%- USE Price -%]
3
[%- USE Price -%]
2
[%- USE KohaDates -%]
4
[%- USE KohaDates -%]
3
[%- USE AuthorisedValues -%]
5
[%- USE AuthorisedValues -%]
4
[%- USE Branches -%]
6
[%- USE Branches -%]
5
7
[% SET footerjs = 1 %]
6
[% PROCESS 'accounts.inc' %]
8
[% PROCESS 'accounts.inc' %]
7
8
[% INCLUDE 'doc-head-open.inc' %]
9
[% INCLUDE 'doc-head-open.inc' %]
9
<title>Koha &rsaquo; Patrons &rsaquo; Account for [% INCLUDE 'patron-title.inc' %]</title>
10
<title>Koha &rsaquo; Patrons &rsaquo; [% INCLUDE 'patron-title.inc' no_html = 1 %] &rsaquo; Details of fee</title>
10
[% INCLUDE 'doc-head-close.inc' %]
11
[% INCLUDE 'doc-head-close.inc' %]
11
</head>
12
</head>
12
<body id="pat_discharges" class="pat">
13
14
<body id="pat_accountline_details" class="pat">
13
[% INCLUDE 'header.inc' %]
15
[% INCLUDE 'header.inc' %]
14
[% INCLUDE 'patron-search.inc' %]
16
[% INCLUDE 'patron-search.inc' %]
15
17
16
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/members/members-home.pl">Patrons</a>  &rsaquo; <a href="/cgi-bin/koha/members/boraccount.pl?borrowernumber=[% patron.borrowernumber | html %]">Account for [% INCLUDE 'patron-title.inc' %]</a> &rsaquo; Details for account line [% accountline.id | html %]</div>
18
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/members/members-home.pl">Patrons</a>  &rsaquo; <a href="/cgi-bin/koha/members/boraccount.pl?borrowernumber=[% patron.borrowernumber | html %]">Account for [% INCLUDE 'patron-title.inc' %]</a> &rsaquo;
19
    [% IF type == 'credit' %]
20
        Details of payment
21
    [% ELSIF type == 'debit' %]
22
        Details of fee
23
    [% END %]
24
</div>
25
26
<div class="main container-fluid">
27
    <div class="row">
28
        <div class="col-sm-10 col-sm-push-2">
29
            <main>
30
31
            [% INCLUDE 'members-toolbar.inc' borrowernumber=patron.borrowernumber %]
17
32
18
<div id="doc3" class="yui-t2">
19
<div id="bd">
20
    <div id="yui-main">
21
        <div class="yui-b">
22
            [% IF accountline %]
33
            [% IF accountline %]
23
                [% IF type == 'credit' %]
34
                [% IF type == 'credit' %]
24
                    <h2>Details for payment</h2>
35
                    <h2>Details of payment</h2>
25
                [% ELSIF type == 'debit' %]
36
                [% ELSIF type == 'debit' %]
26
                    <h2>Details for fee</h2>
37
                    <h2>Details of fee</h2>
27
                [% END %]
38
                [% END %]
28
39
29
                <table id="table_account_fines">
40
                <table id="table_account_fines">
Lines 73-85 Link Here
73
                    </tbody>
84
                    </tbody>
74
                </table>
85
                </table>
75
86
76
                [% IF type == 'credit' %]
77
                    <h3>Fees paid</h3>
78
                [% ELSIF type == 'debit' %]
79
                    <h3>Payments</h3>
80
                [% END %]
81
87
82
                [% IF account_offsets %]
88
                [% IF account_offsets.count > 0 %]
89
                    [% IF type == 'credit' %]
90
                        <h3>Fees paid</h3>
91
                    [% ELSIF type == 'debit' %]
92
                        <h3>Payments</h3>
93
                    [% END %]
94
83
                    <table class="accountline-offsets-table" id="accountline-debits-table">
95
                    <table class="accountline-offsets-table" id="accountline-debits-table">
84
                        <thead>
96
                        <thead>
85
                            <tr>
97
                            <tr>
Lines 90-96 Link Here
90
                                <th>Type</th>
102
                                <th>Type</th>
91
                                <th>Note</th>
103
                                <th>Note</th>
92
                                <th>Transacting librarian</th>
104
                                <th>Transacting librarian</th>
93
                                <th>Date/Time of change</th>
105
                                <th>Date/time of change</th>
94
                                <th>Amount of change</th>
106
                                <th>Amount of change</th>
95
                                <th>Type of change</th>
107
                                <th>Type of change</th>
96
                                <th>&nbsp;</th>
108
                                <th>&nbsp;</th>
Lines 123-141 Link Here
123
                            [% END %]
135
                            [% END %]
124
                        </tbody>
136
                        </tbody>
125
                    </table>
137
                    </table>
126
                [% ELSE %]
127
                    No details available for this payment.
128
                [% END %]
138
                [% END %]
129
            [% ELSE %]
139
            [% ELSE %]
130
                <div class="dialog message">
140
                <div class="dialog message">
131
                    <p>Account line not found.</p>
141
                    [% IF type == 'credit' %]
142
                        Payment not found
143
                    [% ELSIF type == 'debit' %]
144
                        Fee not found
145
                    [% END %]
132
                </div>
146
                </div>
133
            [% END %]
147
            [% END %]
134
        </div>
135
    </div>
136
148
137
    <div class="yui-b">
149
            </main>
138
        [% INCLUDE 'circ-menu.inc' %]
150
        </div> <!-- /.col-sm-10.col-sm-push-2 -->
139
    </div>
151
140
</div>
152
        <div class="col-sm-2 col-sm-pull-10">
153
            <aside>
154
                [% INCLUDE 'circ-menu.inc' %]
155
            </aside>
156
        </div> <!-- /.col-sm-2.col-sm-pull-10 -->
157
    </div> <!-- /.row -->
158
159
160
[% MACRO jsinclude BLOCK %]
161
    [% INCLUDE 'str/members-menu.inc' %]
162
    [% Asset.js("js/members-menu.js") | $raw %]
163
[% END %]
164
141
[% INCLUDE 'intranet-bottom.inc' %]
165
[% INCLUDE 'intranet-bottom.inc' %]
142
- 

Return to bug 21913