Lines 47-52
use Koha::AuthorisedValues;
Link Here
|
47 |
use Koha::CsvProfiles; |
47 |
use Koha::CsvProfiles; |
48 |
use Koha::Patrons; |
48 |
use Koha::Patrons; |
49 |
use Koha::Patron::Debarments qw(GetDebarments); |
49 |
use Koha::Patron::Debarments qw(GetDebarments); |
|
|
50 |
use Koha::RestrictionTypes; |
50 |
use Koha::DateUtils; |
51 |
use Koha::DateUtils; |
51 |
use Koha::Database; |
52 |
use Koha::Database; |
52 |
use Koha::BiblioFrameworks; |
53 |
use Koha::BiblioFrameworks; |
Lines 638-643
$template->param(
Link Here
|
638 |
SpecifyDueDate => $duedatespec_allow, |
639 |
SpecifyDueDate => $duedatespec_allow, |
639 |
PatronAutoComplete => C4::Context->preference("PatronAutoComplete"), |
640 |
PatronAutoComplete => C4::Context->preference("PatronAutoComplete"), |
640 |
debarments => scalar GetDebarments({ borrowernumber => $borrowernumber }), |
641 |
debarments => scalar GetDebarments({ borrowernumber => $borrowernumber }), |
|
|
642 |
restriction_types => scalar Koha::RestrictionTypes->keyed_on_code(), |
641 |
todaysdate => output_pref( { dt => dt_from_string()->set(hour => 23)->set(minute => 59), dateformat => 'sql' } ), |
643 |
todaysdate => output_pref( { dt => dt_from_string()->set(hour => 23)->set(minute => 59), dateformat => 'sql' } ), |
642 |
has_modifications => $has_modifications, |
644 |
has_modifications => $has_modifications, |
643 |
override_high_holds => $override_high_holds, |
645 |
override_high_holds => $override_high_holds, |