Lines 28-34
use C4::Reserves;
Link Here
|
28 |
use C4::Biblio; |
28 |
use C4::Biblio; |
29 |
use C4::Items; |
29 |
use C4::Items; |
30 |
use C4::Output; |
30 |
use C4::Output; |
31 |
use C4::Dates qw/format_date/; |
|
|
32 |
use C4::Context; |
31 |
use C4::Context; |
33 |
use C4::Members; |
32 |
use C4::Members; |
34 |
use C4::Branch; # GetBranches |
33 |
use C4::Branch; # GetBranches |
Lines 465-471
foreach my $biblioNum (@biblionumbers) {
Link Here
|
465 |
|
464 |
|
466 |
if ( defined $reservedate ) { |
465 |
if ( defined $reservedate ) { |
467 |
$itemLoopIter->{backgroundcolor} = 'reserved'; |
466 |
$itemLoopIter->{backgroundcolor} = 'reserved'; |
468 |
$itemLoopIter->{reservedate} = format_date($reservedate); |
467 |
$itemLoopIter->{reservedate} = output_pref({ dt => dt_from_string($reservedate), dateonly => 1 }); |
469 |
$itemLoopIter->{ReservedForBorrowernumber} = $reservedfor; |
468 |
$itemLoopIter->{ReservedForBorrowernumber} = $reservedfor; |
470 |
$itemLoopIter->{ReservedForSurname} = $ItemBorrowerReserveInfo->{'surname'}; |
469 |
$itemLoopIter->{ReservedForSurname} = $ItemBorrowerReserveInfo->{'surname'}; |
471 |
$itemLoopIter->{ReservedForFirstname} = $ItemBorrowerReserveInfo->{'firstname'}; |
470 |
$itemLoopIter->{ReservedForFirstname} = $ItemBorrowerReserveInfo->{'firstname'}; |
Lines 499-505
foreach my $biblioNum (@biblionumbers) {
Link Here
|
499 |
my ( $transfertwhen, $transfertfrom, $transfertto ) = |
498 |
my ( $transfertwhen, $transfertfrom, $transfertto ) = |
500 |
GetTransfers($itemNum); |
499 |
GetTransfers($itemNum); |
501 |
if ( $transfertwhen && ($transfertwhen ne '') ) { |
500 |
if ( $transfertwhen && ($transfertwhen ne '') ) { |
502 |
$itemLoopIter->{transfertwhen} = format_date($transfertwhen); |
501 |
$itemLoopIter->{transfertwhen} = output_pref({ dt => dt_from_string($transfertwhen), dateonly => 1 }); |
503 |
$itemLoopIter->{transfertfrom} = |
502 |
$itemLoopIter->{transfertfrom} = |
504 |
$branches->{$transfertfrom}{branchname}; |
503 |
$branches->{$transfertfrom}{branchname}; |
505 |
$itemLoopIter->{transfertto} = $branches->{$transfertto}{branchname}; |
504 |
$itemLoopIter->{transfertto} = $branches->{$transfertto}{branchname}; |