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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember-print.tt (+37 lines)
Lines 1-3 Link Here
1
[% USE KohaDates %]
1
[% INCLUDE 'doc-head-open.inc' %]
2
[% INCLUDE 'doc-head-open.inc' %]
2
<title>Summary for [% firstname %] [% surname %] ([% cardnumber %])</title>
3
<title>Summary for [% firstname %] [% surname %] ([% cardnumber %])</title>
3
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
4
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
Lines 23-28 Link Here
23
<li>[% IF ( email ) %][% email %][% ELSE %](no primary email on file)[% END %]</li>
24
<li>[% IF ( email ) %][% email %][% ELSE %](no primary email on file)[% END %]</li>
24
[% IF ( emailpro ) %]<li>[% emailpro %]</li>[% END %]
25
[% IF ( emailpro ) %]<li>[% emailpro %]</li>[% END %]
25
</ul>
26
</ul>
27
<ul>
28
<li>Registration date: [% dateenrolled %]</li>
29
<li>Expiration date: [% dateexpiry %]</li>
30
<li>Library: [% branchname %]</li>
31
<li>Category: [% description %]</li>
32
</ul>
26
33
27
[% IF ( issueloop ) %]
34
[% IF ( issueloop ) %]
28
<table>
35
<table>
Lines 86-89 Link Here
86
</table>
93
</table>
87
[% END %]
94
[% END %]
88
95
96
[% IF ( accounts ) %]
97
<table>
98
    <caption>Account fines and payments</caption>
99
    <tr>
100
        <th>Description of charges</th>
101
        <th>Date</th>
102
        <th>Amount</th>
103
        <th>Outstanding</th>
104
    </tr>
105
    [% FOREACH account IN accounts %]
106
    <tr>
107
        <td>
108
            [% IF ( account.itemnumber ) %]<a href="/cgi-bin/koha/catalogue/moredetail.pl?biblionumber=[% account.biblionumber %]&amp;itemnumber=[% account.itemnumber %]">[% END %]
109
            [% account.description %]&nbsp;[% IF ( account.printtitle ) %] [% account.title |html %][% END %]
110
            [% IF ( account.itemnumber ) %]</a>[% END %]
111
        </td>
112
        <td>[% account.date | $KohaDates %]</td>
113
        <td>[% account.amount %]</td>
114
        <td>[% account.amountoutstanding %]</td>
115
    </tr>
116
    [% END %]
117
    <tfoot>
118
        <tr>
119
            <td colspan="3">Total due</td>
120
            <td colspan="2">[% totaldue %]</td>
121
        </tr>
122
    </tfoot>
123
</table>
124
[% END %]
125
89
[% INCLUDE 'intranet-bottom.inc' %]
126
[% INCLUDE 'intranet-bottom.inc' %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember-receipt.tt (-1 / +1 lines)
Lines 19-25 Link Here
19
[% IF ( branchname ) %][% branchname %]<br />[% END %]
19
[% IF ( branchname ) %][% branchname %]<br />[% END %]
20
Checked out to [% firstname %] [% surname %] <br />
20
Checked out to [% firstname %] [% surname %] <br />
21
(<a href="/cgi-bin/koha/circ/circulation.pl?findborrower=[% cardnumber %]">[% cardnumber %]</a>)<br />
21
(<a href="/cgi-bin/koha/circ/circulation.pl?findborrower=[% cardnumber %]">[% cardnumber %]</a>)<br />
22
22
Address: [% address %]<br />
23
[% todaysdate %]<br />
23
[% todaysdate %]<br />
24
24
25
[% IF ( quickslip ) %]
25
[% IF ( quickslip ) %]
(-)a/members/moremember.pl (-1 / +13 lines)
Lines 229-234 my $lib2 = &GetSortDetails( "Bsort2", $data->{'sort2'} ); Link Here
229
$template->param( lib1 => $lib1 ) if ($lib1);
229
$template->param( lib1 => $lib1 ) if ($lib1);
230
$template->param( lib2 => $lib2 ) if ($lib2);
230
$template->param( lib2 => $lib2 ) if ($lib2);
231
231
232
# If printing a page, send the account informations to the template
233
if ($print eq "page") {
234
    foreach my $accountline (@$accts) {
235
        $accountline->{amount} = sprintf '%.2f', $accountline->{amount};
236
        $accountline->{amountoutstanding} = sprintf '%.2f', $accountline->{amountoutstanding};
237
238
        if ($accountline->{accounttype} ne 'F' && $accountline->{accounttype} ne 'FU'){
239
            $accountline->{printtitle} = 1;
240
        }
241
    }
242
    $template->param( accounts => $accts );
243
}
244
232
# Show OPAC privacy preference is system preference is set
245
# Show OPAC privacy preference is system preference is set
233
if ( C4::Context->preference('OPACPrivacy') ) {
246
if ( C4::Context->preference('OPACPrivacy') ) {
234
    $template->param( OPACPrivacy => 1);
247
    $template->param( OPACPrivacy => 1);
235
- 

Return to bug 11869