|
Lines 24-36
Link Here
|
| 24 |
|
24 |
|
| 25 |
use strict; |
25 |
use strict; |
| 26 |
use warnings; |
26 |
use warnings; |
| 27 |
|
|
|
| 28 |
use CGI qw ( -utf8 ); |
27 |
use CGI qw ( -utf8 ); |
| 29 |
use DateTime; |
28 |
use DateTime; |
| 30 |
use DateTime::Duration; |
29 |
use DateTime::Duration; |
| 31 |
use MARC::Record; |
|
|
| 32 |
use CGI::Session; |
| 33 |
|
| 34 |
use C4::Output; |
30 |
use C4::Output; |
| 35 |
use C4::Print; |
31 |
use C4::Print; |
| 36 |
use C4::Auth qw/:DEFAULT get_session haspermission/; |
32 |
use C4::Auth qw/:DEFAULT get_session haspermission/; |
|
Lines 40-60
use C4::Utils::DataTables::Members;
Link Here
|
| 40 |
use C4::Members; |
36 |
use C4::Members; |
| 41 |
use C4::Biblio; |
37 |
use C4::Biblio; |
| 42 |
use C4::Search; |
38 |
use C4::Search; |
|
|
39 |
use MARC::Record; |
| 43 |
use C4::Reserves; |
40 |
use C4::Reserves; |
|
|
41 |
use Koha::Holds; |
| 44 |
use C4::Context; |
42 |
use C4::Context; |
|
|
43 |
use CGI::Session; |
| 45 |
use C4::Members::Attributes qw(GetBorrowerAttributes); |
44 |
use C4::Members::Attributes qw(GetBorrowerAttributes); |
| 46 |
use Koha::AuthorisedValues; |
45 |
use Koha::AuthorisedValues; |
|
|
46 |
use Koha::Patron; |
| 47 |
use Koha::Patron::Debarments qw(GetDebarments); |
47 |
use Koha::Patron::Debarments qw(GetDebarments); |
| 48 |
use Koha::DateUtils; |
48 |
use Koha::DateUtils; |
| 49 |
use Koha::Database; |
49 |
use Koha::Database; |
| 50 |
use Koha::BiblioFrameworks; |
50 |
use Koha::BiblioFrameworks; |
| 51 |
use Koha::Patrons; |
|
|
| 52 |
use Koha::Patron::Messages; |
51 |
use Koha::Patron::Messages; |
| 53 |
use Koha::Patron::Images; |
52 |
use Koha::Patron::Images; |
| 54 |
use Koha::SearchEngine; |
53 |
use Koha::SearchEngine; |
| 55 |
use Koha::SearchEngine::Search; |
54 |
use Koha::SearchEngine::Search; |
| 56 |
use Koha::Patron::Modifications; |
55 |
use Koha::Patron::Modifications; |
| 57 |
use Koha::Holds; |
|
|
| 58 |
|
56 |
|
| 59 |
use Date::Calc qw( |
57 |
use Date::Calc qw( |
| 60 |
Today |
58 |
Today |
|
Lines 649-655
my $patron_image = Koha::Patron::Images->find($borrower->{borrowernumber});
Link Here
|
| 649 |
$template->param( picture => 1 ) if $patron_image; |
647 |
$template->param( picture => 1 ) if $patron_image; |
| 650 |
|
648 |
|
| 651 |
my $has_modifications = Koha::Patron::Modifications->search( { borrowernumber => $borrowernumber } )->count; |
649 |
my $has_modifications = Koha::Patron::Modifications->search( { borrowernumber => $borrowernumber } )->count; |
| 652 |
|
|
|
| 653 |
$template->param( |
650 |
$template->param( |
| 654 |
debt_confirmed => $debt_confirmed, |
651 |
debt_confirmed => $debt_confirmed, |
| 655 |
SpecifyDueDate => $duedatespec_allow, |
652 |
SpecifyDueDate => $duedatespec_allow, |
|
Lines 659-665
$template->param(
Link Here
|
| 659 |
has_modifications => $has_modifications, |
656 |
has_modifications => $has_modifications, |
| 660 |
override_high_holds => $override_high_holds, |
657 |
override_high_holds => $override_high_holds, |
| 661 |
nopermission => scalar $query->param('nopermission'), |
658 |
nopermission => scalar $query->param('nopermission'), |
| 662 |
borrower => Koha::Patrons->find( $borrowernumber ), |
|
|
| 663 |
); |
659 |
); |
| 664 |
|
660 |
|
| 665 |
output_html_with_http_headers $query, $cookie, $template->output; |
661 |
output_html_with_http_headers $query, $cookie, $template->output; |