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

(-)a/circ/returns.pl (-3 / +1 lines)
Lines 399-405 if ( $messages->{'WrongTransfer'} and not $messages->{'WasTransfered'}) { Link Here
399
        my $patron = Koha::Patrons->find( $reserve->{'borrowernumber'} );
399
        my $patron = Koha::Patrons->find( $reserve->{'borrowernumber'} );
400
        my $name = $patron->surname . ", " . $patron->title . " " . $patron->firstname;
400
        my $name = $patron->surname . ", " . $patron->title . " " . $patron->firstname;
401
        $template->param(
401
        $template->param(
402
            wname  => $name,
403
            patron => $patron,
402
            patron => $patron,
404
        );
403
        );
405
    }
404
    }
Lines 433-442 if ( $messages->{'ResFound'}) { Link Here
433
        $template->param(
432
        $template->param(
434
            # FIXME The full patron object should be passed to the template
433
            # FIXME The full patron object should be passed to the template
435
            found          => 1,
434
            found          => 1,
436
            name           => $patron->surname . ", " . $patron->title . " " . $patron->firstname,
435
            patron         => $patron,
437
            barcode        => $barcode,
436
            barcode        => $barcode,
438
            destbranch     => $reserve->{'branchcode'},
437
            destbranch     => $reserve->{'branchcode'},
439
            borrowernumber => $reserve->{'borrowernumber'},
440
            itemnumber     => $reserve->{'itemnumber'},
438
            itemnumber     => $reserve->{'itemnumber'},
441
            reservenotes   => $reserve->{'reservenotes'},
439
            reservenotes   => $reserve->{'reservenotes'},
442
            reserve_id     => $reserve->{reserve_id},
440
            reserve_id     => $reserve->{reserve_id},
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt (-6 / +2 lines)
Lines 326-332 Link Here
326
        <caption><a href="/cgi-bin/koha/catalogue/detail.pl?type=intra&amp;biblionumber=[% itembiblionumber %]">[% title |html %]</a></caption>
326
        <caption><a href="/cgi-bin/koha/catalogue/detail.pl?type=intra&amp;biblionumber=[% itembiblionumber %]">[% title |html %]</a></caption>
327
        <tr>
327
        <tr>
328
            <th>Hold for:</th>
328
            <th>Hold for:</th>
329
            <td>[% name %]</td>
329
            <td>[% INCLUDE 'patron-title.inc' patron=patron %]</td>
330
        </tr>
330
        </tr>
331
        </table>
331
        </table>
332
        <form method="post" action="returns.pl"><input type="submit" value="OK" />
332
        <form method="post" action="returns.pl"><input type="submit" value="OK" />
Lines 368-377 Link Here
368
                    [% END %]
368
                    [% END %]
369
                    <h5>Hold for:</h5>
369
                    <h5>Hold for:</h5>
370
                        <li>
370
                        <li>
371
                            <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% patron.borrowernumber %]">
371
                            [% INCLUDE 'patron-title.inc' patron=patron %]
372
                                [% patron.surname %], [% patron.firstname %]
373
                            </a>
374
                            ([% patron.cardnumber %])
375
                            <span class="patron-category"> - [% patron.category.description %]</span>
372
                            <span class="patron-category"> - [% patron.category.description %]</span>
376
                        </li>
373
                        </li>
377
374
378
- 

Return to bug 18789