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