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

(-)a/circ/transferstoreceive.pl (-1 / +1 lines)
Lines 105-111 foreach my $br ( keys %$branches ) { Link Here
105
                $getransf{'borrowernum'}       = $getborrower->{'borrowernumber'};
105
                $getransf{'borrowernum'}       = $getborrower->{'borrowernumber'};
106
                $getransf{'borrowername'}      = $getborrower->{'surname'};
106
                $getransf{'borrowername'}      = $getborrower->{'surname'};
107
                $getransf{'borrowerfirstname'} = $getborrower->{'firstname'};
107
                $getransf{'borrowerfirstname'} = $getborrower->{'firstname'};
108
                $getransf{'borrowermail'}      = $getborrower->{'emailaddress'} if $getborrower->{'emailaddress'};
108
                $getransf{'borrowermail'}      = $getborrower->{'email'} if $getborrower->{'email'};
109
                $getransf{'borrowerphone'}     = $getborrower->{'phone'};
109
                $getransf{'borrowerphone'}     = $getborrower->{'phone'};
110
            }
110
            }
111
            push( @transferloop, \%getransf );
111
            push( @transferloop, \%getransf );
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/transferstoreceive.tt (-6 / +8 lines)
Lines 1-4 Link Here
1
[% USE KohaDates %]
1
[% USE KohaDates %]
2
[% USE Branches %]
2
[% INCLUDE 'doc-head-open.inc' %]
3
[% INCLUDE 'doc-head-open.inc' %]
3
<title>Koha &rsaquo; Circulation &rsaquo; Transfers to your library</title>
4
<title>Koha &rsaquo; Circulation &rsaquo; Transfers to your library</title>
4
[% INCLUDE 'doc-head-close.inc' %]
5
[% INCLUDE 'doc-head-close.inc' %]
Lines 60-75 $(document).ready(function() { Link Here
60
                    <td><p><span title="[% reser.datetransfer %]">[% reser.datetransfer | $KohaDates %]</span></p> [% IF ( reser.messcompa ) %]<span class="error">Transfer is [% reser.diff %] days late</span>[% END %]</td>
61
                    <td><p><span title="[% reser.datetransfer %]">[% reser.datetransfer | $KohaDates %]</span></p> [% IF ( reser.messcompa ) %]<span class="error">Transfer is [% reser.diff %] days late</span>[% END %]</td>
61
                    <td>
62
                    <td>
62
                        [% INCLUDE 'biblio-default-view.inc' biblionumber = reser.biblionumber %][% reser.title |html %] [% IF ( reser.subtitle ) %] [% FOREACH subtitl IN reser.subtitle %][% subtitl.subfield %][% END %][% END %]</a> [% IF ( reser.author ) %]by [% reser.author %][% END %]
63
                        [% INCLUDE 'biblio-default-view.inc' biblionumber = reser.biblionumber %][% reser.title |html %] [% IF ( reser.subtitle ) %] [% FOREACH subtitl IN reser.subtitle %][% subtitl.subfield %][% END %][% END %]</a> [% IF ( reser.author ) %]by [% reser.author %][% END %]
63
                            [% IF ( reser.itemtype ) %]&nbsp; (<b>[% reser.itemtype %]</b>)[% END %]
64
                            [% IF ( reser.itemtype ) %] (<b>[% reser.itemtype %]</b>)[% END %]
64
                            <br />Barcode: [% reser.barcode %]
65
                            <br />Barcode: [% reser.barcode %]
65
                    </td>
66
                    </td>
66
                    <td>[% IF ( reser.borrowername ) %]
67
                    <td>[% IF ( reser.borrowername ) %]
67
                        <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% reser.borrowernum %]">
68
                        <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% reser.borrowernum %]">
68
                            [% reser.borrowername %] &nbsp; [% reser.borrowerfirstname %]
69
                            [% reser.borrowername %][%IF ( reser.borrowerfirstname ) %], [% reser.borrowerfirstname %][% END %]
69
                        </a>
70
                        </a>
70
                        <br />[% reser.borrowerphone %]<br />
71
                        [% IF ( reser.borrowerphone ) %]<br />[% reser.borrowerphone %][% END %]
71
                            [% IF ( reser.borrowermail ) %]
72
                            [% IF ( reser.borrowermail ) %]
72
                                <a href="mailto:[% reser.email %]?subject=Reservation: [% reser.title |html %]">
73
                                <br />
74
                                [% BLOCK subject %]Hold:[% END %]
75
                                <a href="mailto:[% reser.borrowermail %]?subject=[% INCLUDE subject %] [% reser.title |html %]">
73
                                    [% reser.borrowermail %]
76
                                    [% reser.borrowermail %]
74
                                </a>
77
                                </a>
75
                            [% END %]
78
                            [% END %]
Lines 77-83 $(document).ready(function() { Link Here
77
                        <p>None</p>
80
                        <p>None</p>
78
                    [% END %]
81
                    [% END %]
79
                    </td>
82
                    </td>
80
                    <td>[% reser.homebranch %]</td>
83
                    <td>[% IF reser.homebranch %][% Branches.GetName( reser.homebranch ) %][% END %]</td>
81
                    <td>[% reser.itemcallnumber %]</td>
84
                    <td>[% reser.itemcallnumber %]</td>
82
                    <td><a href="/cgi-bin/koha/circ/returns.pl?itemnumber=[% reser.itemnumber %]&amp;canceltransfer=1&amp;dest=ttr">Cancel transfer</a></td>
85
                    <td><a href="/cgi-bin/koha/circ/returns.pl?itemnumber=[% reser.itemnumber %]&amp;canceltransfer=1&amp;dest=ttr">Cancel transfer</a></td>
83
                </tr>
86
                </tr>
84
- 

Return to bug 14356