Lines 659-671
$template->param(
Link Here
|
659 |
my $patron_image = Koha::Patron::Images->find($borrower->{borrowernumber}); |
659 |
my $patron_image = Koha::Patron::Images->find($borrower->{borrowernumber}); |
660 |
$template->param( picture => 1 ) if $patron_image; |
660 |
$template->param( picture => 1 ) if $patron_image; |
661 |
|
661 |
|
|
|
662 |
my $has_modifications = Koha::Patron::Modifications->search( { borrowernumber => $borrowernumber } )->count; |
662 |
$template->param( |
663 |
$template->param( |
663 |
debt_confirmed => $debt_confirmed, |
664 |
debt_confirmed => $debt_confirmed, |
664 |
SpecifyDueDate => $duedatespec_allow, |
665 |
SpecifyDueDate => $duedatespec_allow, |
665 |
CircAutocompl => C4::Context->preference("CircAutocompl"), |
666 |
CircAutocompl => C4::Context->preference("CircAutocompl"), |
666 |
debarments => GetDebarments({ borrowernumber => $borrowernumber }), |
667 |
debarments => GetDebarments({ borrowernumber => $borrowernumber }), |
667 |
todaysdate => output_pref( { dt => dt_from_string()->set(hour => 23)->set(minute => 59), dateformat => 'sql' } ), |
668 |
todaysdate => output_pref( { dt => dt_from_string()->set(hour => 23)->set(minute => 59), dateformat => 'sql' } ), |
668 |
modifications => Koha::Patron::Modifications->GetModifications({ borrowernumber => $borrowernumber }), |
669 |
has_modifications => $has_modifications, |
669 |
override_high_holds => $override_high_holds, |
670 |
override_high_holds => $override_high_holds, |
670 |
nopermission => scalar $query->param('nopermission'), |
671 |
nopermission => scalar $query->param('nopermission'), |
671 |
); |
672 |
); |