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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember-receipt.tt (+17 lines)
Lines 6-15 Link Here
6
6
7
<script language="javascript">
7
<script language="javascript">
8
    function printThenClose() {
8
    function printThenClose() {
9
        return;
9
        window.print();
10
        window.print();
10
        window.close();
11
        window.close();
11
    }
12
    }
12
</script>
13
</script>
14
[% IF ( intranetuserjs ) %]
15
    <script type="text/javascript">
16
    //<![CDATA[
17
    [% intranetuserjs %]
18
    //]]>
19
    </script>
20
[% END %]
13
</head>
21
</head>
14
<body onload="printThenClose();">
22
<body onload="printThenClose();">
15
23
Lines 17-22 Link Here
17
25
18
<h3>[% LibraryName %]</h3>
26
<h3>[% LibraryName %]</h3>
19
[% IF ( branchname ) %][% branchname %]<br />[% END %]
27
[% IF ( branchname ) %][% branchname %]<br />[% END %]
28
<div class="slip-address-info">
29
[% IF ( branchphone ) %][% branchphone %]<br />[% END %]
30
[% IF ( branchaddress1 ) %][% branchaddress1 %]<br />[% END %]
31
[% IF ( branchaddress2 ) %][% branchaddress2 %]<br />[% END %]
32
[% IF ( branchaddress3 ) %][% branchaddress3 %]<br />[% END %]
33
[% IF ( branchcity ) %][% branchcity %], [% branchstate %] [% branchzip %]<br />[% END %]
34
<br />
35
</div>
36
20
Checked out to [% firstname %] [% surname %] <br />
37
Checked out to [% firstname %] [% surname %] <br />
21
(<a href="/cgi-bin/koha/circ/circulation.pl?findborrower=[% cardnumber %]">[% cardnumber %]</a>)<br />
38
(<a href="/cgi-bin/koha/circ/circulation.pl?findborrower=[% cardnumber %]">[% cardnumber %]</a>)<br />
22
39
(-)a/members/moremember.pl (-1 / +3 lines)
Lines 428-433 $template->param( picture => 1 ) if $picture; Link Here
428
my $branch=C4::Context->userenv->{'branch'};
428
my $branch=C4::Context->userenv->{'branch'};
429
429
430
$template->param(%$data);
430
$template->param(%$data);
431
if (C4::Context->preference('LibraryName') eq $branchdetail->{'branchname'}) {
432
	$template->param(branchname => '');
433
}
431
434
432
if (C4::Context->preference('ExtendedPatronAttributes')) {
435
if (C4::Context->preference('ExtendedPatronAttributes')) {
433
    $template->param(ExtendedPatronAttributes => 1);
436
    $template->param(ExtendedPatronAttributes => 1);
434
- 

Return to bug 6485