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

(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-reserve.tt (-4 / +4 lines)
Lines 422-428 Link Here
422
                                                            </td>
422
                                                            </td>
423
                                                            <td class="information">
423
                                                            <td class="information">
424
                                                                [% IF ( itemLoo.dateDue ) %]
424
                                                                [% IF ( itemLoo.dateDue ) %]
425
                                                                    <span class="checkedout">Due [% itemLoo.dateDue | html %]</span>
425
                                                                    <span class="checkedout">Due [% itemLoo.dateDue | $KohaDates as_due_date => 1 %]</span>
426
                                                                [% ELSIF ( itemLoo.transfertwhen ) %]
426
                                                                [% ELSIF ( itemLoo.transfertwhen ) %]
427
                                                                    <span class="intransit">In transit from [% Branches.GetName( itemLoo.transfertfrom ) | html %] to [% Branches.GetName( itemLoo.transfertto ) | html %] since [% itemLoo.transfertwhen | html %]</span>
427
                                                                    <span class="intransit">In transit from [% Branches.GetName( itemLoo.transfertfrom ) | html %] to [% Branches.GetName( itemLoo.transfertto ) | html %] since [% itemLoo.transfertwhen | html %]</span>
428
                                                                [% END %]
428
                                                                [% END %]
Lines 438-448 Link Here
438
                                                                [% IF ( itemLoo.reservedate ) %]
438
                                                                [% IF ( itemLoo.reservedate ) %]
439
                                                                    <span class="waiting">
439
                                                                    <span class="waiting">
440
                                                                        [% IF ( itemLoo.waitingdate ) %]
440
                                                                        [% IF ( itemLoo.waitingdate ) %]
441
                                                                            <span>Waiting for patron at [% itemLoo.ExpectedAtLibrary | html %] since [% itemLoo.waitingdate | $KohaDates %]</span>
441
                                                                            <span>Waiting for patron at [% Branches.GetName( itemLoo.ExpectedAtLibrary ) | html %] since [% itemLoo.waitingdate | $KohaDates %]</span>
442
                                                                        [% ELSIF ( itemLoo.reservedate ) %]
442
                                                                        [% ELSIF ( itemLoo.reservedate ) %]
443
                                                                            <span>On hold for patron expected at [% itemLoo.ExpectedAtLibrary | html %] since [% itemLoo.reservedate | $KohaDates %]</span>
443
                                                                            <span>On hold for patron expected at [% Branches.GetName( itemLoo.ExpectedAtLibrary ) | html %] since [% itemLoo.reservedate | $KohaDates %]</span>
444
                                                                        [% ELSE %]
444
                                                                        [% ELSE %]
445
                                                                            <span>On hold for patron expected at [% itemLoo.ExpectedAtLibrary | html %]</span>
445
                                                                            <span>On hold for patron expected at [% Branches.GetName( itemLoo.ExpectedAtLibrary ) | html %]</span>
446
                                                                        [% END %]
446
                                                                        [% END %]
447
                                                                    </span>
447
                                                                    </span>
448
                                                                [% ELSE %]
448
                                                                [% ELSE %]
(-)a/opac/opac-reserve.pl (-2 / +1 lines)
Lines 506-512 foreach my $biblioNum (@biblionumbers) { Link Here
506
        # change the background color.
506
        # change the background color.
507
        my $issue = Koha::Checkouts->find( { itemnumber => $itemNum } );
507
        my $issue = Koha::Checkouts->find( { itemnumber => $itemNum } );
508
        if ( $issue ) {
508
        if ( $issue ) {
509
            $itemLoopIter->{dateDue} = output_pref({ dt => dt_from_string($issue->date_due, 'sql'), as_due_date => 1 });
509
            $itemLoopIter->{dateDue} = $issue->date_due;
510
            $itemLoopIter->{onloan} = 'onloan';
510
            $itemLoopIter->{onloan} = 'onloan';
511
        }
511
        }
512
512
513
- 

Return to bug 31272