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

(-)a/koha-tmpl/opac-tmpl/bootstrap/en/includes/item-status.inc (-2 / +2 lines)
Lines 49-61 Link Here
49
49
50
    [% SET itemavailable = 0 %]
50
    [% SET itemavailable = 0 %]
51
    [% IF onsite_checkout %]
51
    [% IF onsite_checkout %]
52
        [% IF ( OPACShowCheckoutName ) %]
52
        [% IF ( Koha.Preference('OPACShowCheckoutName') ) %]
53
            <span class="item-status checkedout">Currently in local use by [% checkout_patron.firstname | html %] [% checkout_patron.surname | html %] [% IF ( checkout_patron.cardnumber ) %]([% checkout_patron.cardnumber | html %])[% END %]</span>
53
            <span class="item-status checkedout">Currently in local use by [% checkout_patron.firstname | html %] [% checkout_patron.surname | html %] [% IF ( checkout_patron.cardnumber ) %]([% checkout_patron.cardnumber | html %])[% END %]</span>
54
        [% ELSE %]
54
        [% ELSE %]
55
            <span class="item-status checkedout">Currently in local use</span>
55
            <span class="item-status checkedout">Currently in local use</span>
56
        [% END %]
56
        [% END %]
57
    [% ELSE %]
57
    [% ELSE %]
58
        [% IF ( OPACShowCheckoutName ) %]
58
        [% IF ( Koha.Preference('OPACShowCheckoutName') ) %]
59
            <span class="item-status checkedout">Checked out to [% checkout_patron.firstname | html %] [% checkout_patron.surname | html %] [% IF ( checkout_patron.cardnumber ) %]([% checkout_patron.cardnumber | html %])[% END %]</span>
59
            <span class="item-status checkedout">Checked out to [% checkout_patron.firstname | html %] [% checkout_patron.surname | html %] [% IF ( checkout_patron.cardnumber ) %]([% checkout_patron.cardnumber | html %])[% END %]</span>
60
        [% ELSE %]
60
        [% ELSE %]
61
            <span class="item-status checkedout">Checked out</span>
61
            <span class="item-status checkedout">Checked out</span>
(-)a/opac/opac-detail.pl (-5 lines)
Lines 488-497 if ($session->param('busc')) { Link Here
488
}
488
}
489
}
489
}
490
490
491
$template->param(
492
    OPACShowCheckoutName => C4::Context->preference("OPACShowCheckoutName"),
493
);
494
495
$items = Koha::Items->search_ordered(
491
$items = Koha::Items->search_ordered(
496
    [
492
    [
497
        'me.biblionumber' => $biblionumber,
493
        'me.biblionumber' => $biblionumber,
498
- 

Return to bug 32712