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 632-637
$template->param(
Link Here
|
632 |
SpecifyDueDate => $duedatespec_allow, |
633 |
SpecifyDueDate => $duedatespec_allow, |
633 |
PatronAutoComplete => C4::Context->preference("PatronAutoComplete"), |
634 |
PatronAutoComplete => C4::Context->preference("PatronAutoComplete"), |
634 |
debarments => scalar GetDebarments({ borrowernumber => $borrowernumber }), |
635 |
debarments => scalar GetDebarments({ borrowernumber => $borrowernumber }), |
|
|
636 |
restriction_types => scalar Koha::RestrictionTypes->keyed_on_code(), |
635 |
todaysdate => output_pref( { dt => dt_from_string()->set(hour => 23)->set(minute => 59), dateformat => 'sql' } ), |
637 |
todaysdate => output_pref( { dt => dt_from_string()->set(hour => 23)->set(minute => 59), dateformat => 'sql' } ), |
636 |
has_modifications => $has_modifications, |
638 |
has_modifications => $has_modifications, |
637 |
override_high_holds => $override_high_holds, |
639 |
override_high_holds => $override_high_holds, |