Lines 46-51
use Koha::AuthorisedValues;
Link Here
|
46 |
use Koha::CsvProfiles; |
46 |
use Koha::CsvProfiles; |
47 |
use Koha::Patrons; |
47 |
use Koha::Patrons; |
48 |
use Koha::Patron::Debarments qw( GetDebarments ); |
48 |
use Koha::Patron::Debarments qw( GetDebarments ); |
|
|
49 |
use Koha::RestrictionTypes; |
49 |
use Koha::DateUtils qw( dt_from_string output_pref ); |
50 |
use Koha::DateUtils qw( dt_from_string output_pref ); |
50 |
use Koha::Plugins; |
51 |
use Koha::Plugins; |
51 |
use Koha::Database; |
52 |
use Koha::Database; |
Lines 612-617
$template->param(
Link Here
|
612 |
SpecifyDueDate => $duedatespec_allow, |
613 |
SpecifyDueDate => $duedatespec_allow, |
613 |
PatronAutoComplete => C4::Context->preference("PatronAutoComplete"), |
614 |
PatronAutoComplete => C4::Context->preference("PatronAutoComplete"), |
614 |
debarments => scalar GetDebarments({ borrowernumber => $borrowernumber }), |
615 |
debarments => scalar GetDebarments({ borrowernumber => $borrowernumber }), |
|
|
616 |
restriction_types => scalar Koha::RestrictionTypes->keyed_on_code(), |
615 |
todaysdate => output_pref( { dt => dt_from_string()->set(hour => 23)->set(minute => 59), dateformat => 'sql' } ), |
617 |
todaysdate => output_pref( { dt => dt_from_string()->set(hour => 23)->set(minute => 59), dateformat => 'sql' } ), |
616 |
has_modifications => $has_modifications, |
618 |
has_modifications => $has_modifications, |
617 |
override_high_holds => $override_high_holds, |
619 |
override_high_holds => $override_high_holds, |