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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember-print.tt (+36 lines)
Lines 23-28 Link Here
23
<li>[% IF ( email ) %][% email %][% ELSE %](no primary email on file)[% END %]</li>
23
<li>[% IF ( email ) %][% email %][% ELSE %](no primary email on file)[% END %]</li>
24
[% IF ( emailpro ) %]<li>[% emailpro %]</li>[% END %]
24
[% IF ( emailpro ) %]<li>[% emailpro %]</li>[% END %]
25
</ul>
25
</ul>
26
<ul>
27
<li>Registration date: [% dateenrolled %]</li>
28
<li>Expiration date: [% dateexpiry %]</li>
29
<li>Library: [% branchname %]</li>
30
<li>Category: [% description %]</li>
31
</ul>
26
32
27
[% IF ( issueloop ) %]
33
[% IF ( issueloop ) %]
28
<table>
34
<table>
Lines 86-89 Link Here
86
</table>
92
</table>
87
[% END %]
93
[% END %]
88
94
95
[% IF ( accounts ) %]
96
<table>
97
    <caption>Account fines and payments</caption>
98
    <tr>
99
        <th>Description of charges</th>
100
        <th>Date</th>
101
        <th>Amount</th>
102
        <th>Outstanding</th>
103
    </tr>
104
    [% FOREACH account IN accounts %]
105
    <tr>
106
        <td>
107
            [% IF ( account.itemnumber ) %]<a href="/cgi-bin/koha/catalogue/moredetail.pl?biblionumber=[% account.biblionumber %]&amp;itemnumber=[% account.itemnumber %]">[% END %]
108
            [% account.description %]&nbsp;[% IF ( account.printtitle ) %] [% account.title |html %][% END %]
109
            [% IF ( account.itemnumber ) %]</a>[% END %]
110
        </td>
111
        <td>[% account.date %]</td>
112
        <td>[% account.amount %]</td>
113
        <td>[% account.amountoutstanding %]</td>
114
    </tr>
115
    [% END %]
116
    <tfoot>
117
        <tr>
118
            <td colspan="3">Total due</td>
119
            <td colspan="2">[% totaldue %]</td>
120
        </tr>
121
    </tfoot>
122
</table>
123
[% END %]
124
89
[% INCLUDE 'intranet-bottom.inc' %]
125
[% INCLUDE 'intranet-bottom.inc' %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember-receipt.tt (-2 / +2 lines)
Lines 18-26 Link Here
18
<h3>[% LibraryName %]</h3>
18
<h3>[% LibraryName %]</h3>
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
Address: [% address %]<br />
22
23
[% todaysdate %]<br />
22
[% todaysdate %]<br />
23
(<a href="/cgi-bin/koha/circ/circulation.pl?findborrower=[% cardnumber %]">[% cardnumber %]</a>)<br />
24
24
25
[% IF ( quickslip ) %]
25
[% IF ( quickslip ) %]
26
<h4>Checked out today</h4>
26
<h4>Checked out today</h4>
(-)a/members/moremember.pl (-1 / +14 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->{date} = C4::Dates::format_date($accountline->{date});
236
        $accountline->{amount} = sprintf '%.2f', $accountline->{amount};
237
        $accountline->{amountoutstanding} = sprintf '%.2f', $accountline->{amountoutstanding};
238
239
        if ($accountline->{accounttype} ne 'F' && $accountline->{accounttype} ne 'FU'){
240
            $accountline->{printtitle} = 1;
241
        }
242
    }
243
    $template->param( accounts => $accts );
244
}
245
232
# Show OPAC privacy preference is system preference is set
246
# Show OPAC privacy preference is system preference is set
233
if ( C4::Context->preference('OPACPrivacy') ) {
247
if ( C4::Context->preference('OPACPrivacy') ) {
234
    $template->param( OPACPrivacy => 1);
248
    $template->param( OPACPrivacy => 1);
235
- 

Return to bug 11869