Lines 46-51
use Koha::CsvProfiles;
Link Here
|
46 |
use Koha::Patrons; |
46 |
use Koha::Patrons; |
47 |
use Koha::Patron::Debarments qw( GetDebarments ); |
47 |
use Koha::Patron::Debarments qw( GetDebarments ); |
48 |
use Koha::DateUtils qw( dt_from_string ); |
48 |
use Koha::DateUtils qw( dt_from_string ); |
|
|
49 |
use Koha::RestrictionTypes; |
49 |
use Koha::Plugins; |
50 |
use Koha::Plugins; |
50 |
use Koha::Database; |
51 |
use Koha::Database; |
51 |
use Koha::BiblioFrameworks; |
52 |
use Koha::BiblioFrameworks; |
Lines 627-632
$template->param(
Link Here
|
627 |
PatronAutoComplete => C4::Context->preference("PatronAutoComplete"), |
628 |
PatronAutoComplete => C4::Context->preference("PatronAutoComplete"), |
628 |
debarments => scalar GetDebarments({ borrowernumber => $borrowernumber }), |
629 |
debarments => scalar GetDebarments({ borrowernumber => $borrowernumber }), |
629 |
todaysdate => dt_from_string()->set(hour => 23)->set(minute => 59), |
630 |
todaysdate => dt_from_string()->set(hour => 23)->set(minute => 59), |
|
|
631 |
restriction_types => scalar Koha::RestrictionTypes->keyed_on_code(), |
630 |
has_modifications => $has_modifications, |
632 |
has_modifications => $has_modifications, |
631 |
override_high_holds => $override_high_holds, |
633 |
override_high_holds => $override_high_holds, |
632 |
nopermission => scalar $query->param('nopermission'), |
634 |
nopermission => scalar $query->param('nopermission'), |