Lines 40-46
use Koha::Libraries;
Link Here
|
40 |
use Koha::DateUtils; |
40 |
use Koha::DateUtils; |
41 |
use Koha::BiblioFrameworks; |
41 |
use Koha::BiblioFrameworks; |
42 |
use Koha::Patrons; |
42 |
use Koha::Patrons; |
43 |
use Koha::Checkouts; |
|
|
44 |
|
43 |
|
45 |
my $input = new CGI; |
44 |
my $input = new CGI; |
46 |
my $itemnumber = $input->param('itemnumber'); |
45 |
my $itemnumber = $input->param('itemnumber'); |
Lines 126-139
while ( my $library = $libraries->next ) {
Link Here
|
126 |
push( @branchesloop, \%branchloop ) if %branchloop; |
125 |
push( @branchesloop, \%branchloop ) if %branchloop; |
127 |
} |
126 |
} |
128 |
|
127 |
|
129 |
my $pending_checkout_notes = Koha::Checkouts->search({ noteseen => 0 })->count; |
|
|
130 |
|
131 |
$template->param( |
128 |
$template->param( |
132 |
branchesloop => \@branchesloop, |
129 |
branchesloop => \@branchesloop, |
133 |
show_date => output_pref({ dt => dt_from_string, dateformat => 'iso', dateonly => 1 }), |
130 |
show_date => output_pref({ dt => dt_from_string, dateformat => 'iso', dateonly => 1 }), |
134 |
TransfersMaxDaysWarning => C4::Context->preference('TransfersMaxDaysWarning'), |
131 |
TransfersMaxDaysWarning => C4::Context->preference('TransfersMaxDaysWarning'), |
135 |
latetransfers => $latetransfers ? 1 : 0, |
132 |
latetransfers => $latetransfers ? 1 : 0, |
136 |
pending_checkout_notes => $pending_checkout_notes, |
|
|
137 |
); |
133 |
); |
138 |
|
134 |
|
139 |
# Checking if there is a Fast Cataloging Framework |
135 |
# Checking if there is a Fast Cataloging Framework |