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

(-)a/Koha/Item.pm (+5 lines)
Lines 74-79 sub holding_branch { Link Here
74
    return $self->{_holding_branch};
74
    return $self->{_holding_branch};
75
}
75
}
76
76
77
sub transfer {
78
    my ( $self ) = @_;
79
    return $self->_result->branchtransfers->first;
80
}
81
77
=head3 last_returned_by
82
=head3 last_returned_by
78
83
79
Gets and sets the last borrower to return an item.
84
Gets and sets the last borrower to return an item.
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt (-3 / +3 lines)
Lines 604-611 Link Here
604
                                                    [% END %]
604
                                                    [% END %]
605
                                                [% ELSE %]
605
                                                [% ELSE %]
606
                                                    [% IF ( RESERVE.is_in_transit ) %]
606
                                                    [% IF ( RESERVE.is_in_transit ) %]
607
                                                        Item in transit from <b> [% RESERVE.frombranch %]</b> since
607
                                                        [% SET transfer = RESERVE.item.transfer %]
608
                                                        [% RESERVE.datesent | $KohaDates %]
608
                                                        Item in transit from <b> [% transfer.frombranch.branchname %]</b> since
609
                                                        [% transfer.datesent | $KohaDates %]
609
                                                    [% ELSIF ( RESERVE.suspend ) %]
610
                                                    [% ELSIF ( RESERVE.suspend ) %]
610
                                                        Suspended [% IF ( RESERVE.suspend_until ) %] until [% RESERVE.suspend_until %] [% END %]
611
                                                        Suspended [% IF ( RESERVE.suspend_until ) %] until [% RESERVE.suspend_until %] [% END %]
611
                                                    [% ELSE %]
612
                                                    [% ELSE %]
612
- 

Return to bug 16686