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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/recalls_waiting.tt (+4 lines)
Lines 146-151 Link Here
146
146
147
                </div>
147
                </div>
148
148
149
                [% ELSE %]
150
151
                    <div class="dialog message">No recalls have been made.</div>
152
149
                [% END %]
153
                [% END %]
150
154
151
            </div>
155
            </div>
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/includes/item-status.inc (-1 / +1 lines)
Lines 38-44 Link Here
38
            <span class="item-status checkedout">Checked out</span>
38
            <span class="item-status checkedout">Checked out</span>
39
        [% END %]
39
        [% END %]
40
    [% END %]
40
    [% END %]
41
    [% IF loggedinusername %]<a href="/cgi-bin/koha/opac-recall.pl?itemnumber=[% item.itemnumber %]" class="btn btn-default btn-xs">Recall</a>[% END %]
41
    [% IF item.avail_for_recall %]<a href="/cgi-bin/koha/opac-recall.pl?itemnumber=[% item.itemnumber %]" class="btn btn-default btn-xs">Recall</a>[% END %]
42
[% END %]
42
[% END %]
43
43
44
[% IF NOT ( item.isa('Koha::Item') ) AND item.transfertwhen %] [%# transfertwhen is set in C4::Search, do not have it for course reserves %]
44
[% IF NOT ( item.isa('Koha::Item') ) AND item.transfertwhen %] [%# transfertwhen is set in C4::Search, do not have it for course reserves %]
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt (-2 / +2 lines)
Lines 240-250 Using this account is not recommended because some parts of Koha will not functi Link Here
240
                                                <td class="title">
240
                                                <td class="title">
241
                                                    <a class="title" href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% ISSUE.biblionumber %]">[% ISSUE.title |html %] [% FOREACH subtitl IN ISSUE.subtitle %] [% subtitl.subfield %][% END %]</a>
241
                                                    <a class="title" href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% ISSUE.biblionumber %]">[% ISSUE.title |html %] [% FOREACH subtitl IN ISSUE.subtitle %] [% subtitl.subfield %][% END %]</a>
242
                                                    [% IF ( ISSUE.enumchron ) %] [% ISSUE.enumchron %][% END %]
242
                                                    [% IF ( ISSUE.enumchron ) %] [% ISSUE.enumchron %][% END %]
243
                                                    [% IF ( ISSUE.recalled ) %]This item has been recalled. Please return by the new due date.[% END %]
243
                                                    [% IF ( ISSUE.recalled ) %]<br><i>This item has been recalled. Please return by the new due date.</i>[% END %]
244
                                                </td>
244
                                                </td>
245
245
246
                                                <td class="author">[% ISSUE.author %]</td>
246
                                                <td class="author">[% ISSUE.author %]</td>
247
                                                [% IF ( ISSUE.overdue ) %]
247
                                                [% IF ( ISSUE.overdue || ISSUE.recalled ) %]
248
                                                    <td class="date_due overdue">
248
                                                    <td class="date_due overdue">
249
                                                        <span title="[% ISSUE.date_due %]">
249
                                                        <span title="[% ISSUE.date_due %]">
250
                                                            <span class="tdlabel">Date due:</span>
250
                                                            <span class="tdlabel">Date due:</span>
(-)a/opac/opac-detail.pl (+4 lines)
Lines 705-710 if ( not $viewallitems and @items > $max_items_to_display ) { Link Here
705
          if grep /^$itm->{itemnumber}$/, @itemnumbers_on_order;
705
          if grep /^$itm->{itemnumber}$/, @itemnumbers_on_order;
706
    }
706
    }
707
707
708
    if ( $itm->{datedue} && $borrowernumber && $itm->{borrowernumber} != $borrowernumber ) {
709
        $itm->{avail_for_recall} = 1;
710
    }
711
708
    my $itembranch = $itm->{$separatebranch};
712
    my $itembranch = $itm->{$separatebranch};
709
    if ($currentbranch and C4::Context->preference('OpacSeparateHoldings')) {
713
    if ($currentbranch and C4::Context->preference('OpacSeparateHoldings')) {
710
        if ($itembranch and $itembranch eq $currentbranch) {
714
        if ($itembranch and $itembranch eq $currentbranch) {
(-)a/opac/opac-user.pl (-2 / +1 lines)
Lines 237-243 if ($issues){ Link Here
237
            }
237
            }
238
        }
238
        }
239
239
240
        my $recall = Koha::Recalls->find($issue->{itemnumber});
240
        my $recall = Koha::Recalls->find({ itemnumber => $issue->{itemnumber} });
241
        if (defined $recall){
241
        if (defined $recall){
242
            $issue->{recalled} = 1;
242
            $issue->{recalled} = 1;
243
        }
243
        }
244
- 

Return to bug 19532