Lines 45-50
use Koha::AuthorisedValues;
Link Here
|
45 |
use Koha::CsvProfiles; |
45 |
use Koha::CsvProfiles; |
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::RestrictionTypes; |
48 |
use Koha::DateUtils qw( dt_from_string output_pref ); |
49 |
use Koha::DateUtils qw( dt_from_string output_pref ); |
49 |
use Koha::Plugins; |
50 |
use Koha::Plugins; |
50 |
use Koha::Database; |
51 |
use Koha::Database; |
Lines 625-630
$template->param(
Link Here
|
625 |
SpecifyDueDate => $duedatespec_allow, |
626 |
SpecifyDueDate => $duedatespec_allow, |
626 |
PatronAutoComplete => C4::Context->preference("PatronAutoComplete"), |
627 |
PatronAutoComplete => C4::Context->preference("PatronAutoComplete"), |
627 |
debarments => scalar GetDebarments({ borrowernumber => $borrowernumber }), |
628 |
debarments => scalar GetDebarments({ borrowernumber => $borrowernumber }), |
|
|
629 |
restriction_types => scalar Koha::RestrictionTypes->keyed_on_code(), |
628 |
todaysdate => output_pref( { dt => dt_from_string()->set(hour => 23)->set(minute => 59), dateformat => 'sql' } ), |
630 |
todaysdate => output_pref( { dt => dt_from_string()->set(hour => 23)->set(minute => 59), dateformat => 'sql' } ), |
629 |
has_modifications => $has_modifications, |
631 |
has_modifications => $has_modifications, |
630 |
override_high_holds => $override_high_holds, |
632 |
override_high_holds => $override_high_holds, |