@@ -, +, @@ opac-reserve.pl --- koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-reserve.tt | 8 ++++---- opac/opac-reserve.pl | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-reserve.tt +++ a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-reserve.tt @@ -422,7 +422,7 @@ [% IF ( itemLoo.dateDue ) %] - Due [% itemLoo.dateDue | html %] + Due [% itemLoo.dateDue | $KohaDates as_due_date => 1 %] [% ELSIF ( itemLoo.transfertwhen ) %] In transit from [% Branches.GetName( itemLoo.transfertfrom ) | html %] to [% Branches.GetName( itemLoo.transfertto ) | html %] since [% itemLoo.transfertwhen | html %] [% END %] @@ -438,11 +438,11 @@ [% IF ( itemLoo.reservedate ) %] [% IF ( itemLoo.waitingdate ) %] - Waiting for patron at [% itemLoo.ExpectedAtLibrary | html %] since [% itemLoo.waitingdate | $KohaDates %] + Waiting for patron at [% Branches.GetName( itemLoo.ExpectedAtLibrary ) | html %] since [% itemLoo.waitingdate | $KohaDates %] [% ELSIF ( itemLoo.reservedate ) %] - On hold for patron expected at [% itemLoo.ExpectedAtLibrary | html %] since [% itemLoo.reservedate | $KohaDates %] + On hold for patron expected at [% Branches.GetName( itemLoo.ExpectedAtLibrary ) | html %] since [% itemLoo.reservedate | $KohaDates %] [% ELSE %] - On hold for patron expected at [% itemLoo.ExpectedAtLibrary | html %] + On hold for patron expected at [% Branches.GetName( itemLoo.ExpectedAtLibrary ) | html %] [% END %] [% ELSE %] --- a/opac/opac-reserve.pl +++ a/opac/opac-reserve.pl @@ -506,7 +506,7 @@ foreach my $biblioNum (@biblionumbers) { # change the background color. my $issue = Koha::Checkouts->find( { itemnumber => $itemNum } ); if ( $issue ) { - $itemLoopIter->{dateDue} = output_pref({ dt => dt_from_string($issue->date_due, 'sql'), as_due_date => 1 }); + $itemLoopIter->{dateDue} = $issue->date_due; $itemLoopIter->{onloan} = 'onloan'; } --