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

(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-course-details.tt (-1 / +1 lines)
Lines 75-81 Link Here
75
                                    <td>[% AuthorisedValues.GetByCode( 'CCODE', cr.item.ccode ) | html %]</td>
75
                                    <td>[% AuthorisedValues.GetByCode( 'CCODE', cr.item.ccode ) | html %]</td>
76
                                    <td>[% cr.item.itemcallnumber | html %]</td>
76
                                    <td>[% cr.item.itemcallnumber | html %]</td>
77
                                    <td>[% cr.item.copynumber | html %]</td>
77
                                    <td>[% cr.item.copynumber | html %]</td>
78
                                    <td>[% INCLUDE 'item-status.inc' item=cr.item issue=cr.issue %]</td>
78
                                    <td>[% INCLUDE 'item-status.inc' item=cr.course_item issue=cr.issue %]</td>
79
                                    <td><span title="[% cr.issue.date_due | html %]">[% cr.issue.date_due | $KohaDates as_due_date => 1 | html %]</span></td>
79
                                    <td><span title="[% cr.issue.date_due | html %]">[% cr.issue.date_due | $KohaDates as_due_date => 1 | html %]</span></td>
80
                                    <td>[% IF ( cr.public_note ) %]
80
                                    <td>[% IF ( cr.public_note ) %]
81
                                        [% cr.public_note | html %]
81
                                        [% cr.public_note | html %]
(-)a/opac/opac-course-details.pl (-2 / +1 lines)
Lines 47-53 my $course = GetCourse($course_id); Link Here
47
my $course_reserves = GetCourseReserves( course_id => $course_id, include_items => 1, include_count => 1 );
47
my $course_reserves = GetCourseReserves( course_id => $course_id, include_items => 1, include_count => 1 );
48
48
49
foreach my $cr (@$course_reserves) {
49
foreach my $cr (@$course_reserves) {
50
    if ($cr->{'issue'}->{date_due} && $cr->{'isue'}->{borrowernumber} && $borrowernumber != $cr->{'issue'}->{borrowernumber} && C4::Context->preference('UseRecalls')) {
50
    if ($cr->{'issue'}->{date_due} && $cr->{'issue'}->{borrowernumber} && $borrowernumber != $cr->{'issue'}->{borrowernumber} && C4::Context->preference('UseRecalls')) {
51
        $cr->{'course_item'}->{avail_for_recall} = 1;
51
        $cr->{'course_item'}->{avail_for_recall} = 1;
52
    } else {
52
    } else {
53
        $cr->{'course_item'}->{avail_for_recall} = 0;
53
        $cr->{'course_item'}->{avail_for_recall} = 0;
54
- 

Return to bug 19532