View | Details | Raw Unified | Return to bug 12933
Collapse All | Expand All

(-)a/Koha/Template/Plugin/Borrowers.pm (-10 lines)
Lines 23-29 use Modern::Perl; Link Here
23
use base qw( Template::Plugin );
23
use base qw( Template::Plugin );
24
24
25
use Koha::Borrower::Debarments qw();
25
use Koha::Borrower::Debarments qw();
26
use C4::Members qw(HasOverdues);
27
26
28
=pod
27
=pod
29
28
Lines 49-61 sub IsDebarred { Link Here
49
    return Koha::Borrower::Debarments::IsDebarred($borrower->{borrowernumber});
48
    return Koha::Borrower::Debarments::IsDebarred($borrower->{borrowernumber});
50
}
49
}
51
50
52
sub HasOverdues {
53
    my ( $self, $borrowernumber ) = @_;
54
55
    return unless $borrowernumber;
56
57
    return C4::Members::HasOverdues($borrowernumber);
58
}
59
60
61
1;
51
1;
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/members-toolbar.inc (-2 / +2 lines)
Lines 159-166 function searchToHold(){ Link Here
159
            <ul class="dropdown-menu">
159
            <ul class="dropdown-menu">
160
                [% IF ( CAN_user_borrowers ) %]<li><a id="printsummary" href="#">Print summary</a></li>[% END %]
160
                [% IF ( CAN_user_borrowers ) %]<li><a id="printsummary" href="#">Print summary</a></li>[% END %]
161
                <li><a id="printslip" href="#">Print slip</a></li>
161
                <li><a id="printslip" href="#">Print slip</a></li>
162
                <li><a id="printquickslip" href="#">Print quick slip[%  Borrowers.HasOverdues( borrowernumber ) %]</a></li>
162
                <li><a id="printquickslip" href="#">Print quick slip</a></li>
163
                [% IF Borrowers.HasOverdues( borrowernumber ) %]
163
                [% IF has_overdues %]
164
                    <li><a id="print_overdues" href="#">Print overdues</a></li>
164
                    <li><a id="print_overdues" href="#">Print overdues</a></li>
165
                [% END %]
165
                [% END %]
166
            </ul>
166
            </ul>
(-)a/members/boraccount.pl (+1 lines)
Lines 120-125 $template->param( Link Here
120
    accounts            => $accts,
120
    accounts            => $accts,
121
    activeBorrowerRelationship => (C4::Context->preference('borrowerRelationship') ne ''),
121
    activeBorrowerRelationship => (C4::Context->preference('borrowerRelationship') ne ''),
122
    RoutingSerials => C4::Context->preference('RoutingSerials'),
122
    RoutingSerials => C4::Context->preference('RoutingSerials'),
123
    has_overdues               => HasOverdues($borrowernumber),
123
);
124
);
124
125
125
output_html_with_http_headers $input, $cookie, $template->output;
126
output_html_with_http_headers $input, $cookie, $template->output;
(-)a/members/deletemem.pl (-19 / +22 lines)
Lines 111-136 if ($countissues > 0 or $flags->{'CHARGES'} or $data->{'borrowernumber'} or $de Link Here
111
    my ($picture, $dberror) = GetPatronImage($bor->{'borrowernumber'});
111
    my ($picture, $dberror) = GetPatronImage($bor->{'borrowernumber'});
112
    $template->param( picture => 1 ) if $picture;
112
    $template->param( picture => 1 ) if $picture;
113
113
114
    $template->param(borrowernumber => $member,
114
    $template->param(
115
        surname => $bor->{'surname'},
115
        has_overdues               => HasOverdues($borrowernumber),
116
        title => $bor->{'title'},
116
        borrowernumber             => $member,
117
        cardnumber => $bor->{'cardnumber'},
117
        surname                    => $bor->{'surname'},
118
        firstname => $bor->{'firstname'},
118
        title                      => $bor->{'title'},
119
        categorycode => $bor->{'categorycode'},
119
        cardnumber                 => $bor->{'cardnumber'},
120
        category_type => $bor->{'category_type'},
120
        firstname                  => $bor->{'firstname'},
121
        categoryname  => $bor->{'description'},
121
        categorycode               => $bor->{'categorycode'},
122
        address => $bor->{'address'},
122
        category_type              => $bor->{'category_type'},
123
        address2 => $bor->{'address2'},
123
        categoryname               => $bor->{'description'},
124
        city => $bor->{'city'},
124
        address                    => $bor->{'address'},
125
        zipcode => $bor->{'zipcode'},
125
        address2                   => $bor->{'address2'},
126
        country => $bor->{'country'},
126
        city                       => $bor->{'city'},
127
        phone => $bor->{'phone'},
127
        zipcode                    => $bor->{'zipcode'},
128
        email => $bor->{'email'},
128
        country                    => $bor->{'country'},
129
        branchcode => $bor->{'branchcode'},
129
        phone                      => $bor->{'phone'},
130
        branchname => GetBranchName($bor->{'branchcode'}),
130
        email                      => $bor->{'email'},
131
		activeBorrowerRelationship => (C4::Context->preference('borrowerRelationship') ne ''),
131
        branchcode                 => $bor->{'branchcode'},
132
        RoutingSerials => C4::Context->preference('RoutingSerials'),
132
        branchname                 => GetBranchName( $bor->{'branchcode'} ),
133
        activeBorrowerRelationship => ( C4::Context->preference('borrowerRelationship') ne '' ),
134
        RoutingSerials             => C4::Context->preference('RoutingSerials'),
133
    );
135
    );
136
134
    if ($countissues >0) {
137
    if ($countissues >0) {
135
        $template->param(ItemsOnIssues => $countissues);
138
        $template->param(ItemsOnIssues => $countissues);
136
    }
139
    }
(-)a/members/files.pl (-1 / +4 lines)
Lines 44-50 my ( $template, $loggedinuser, $cookie ) = get_template_and_user( Link Here
44
        debug           => 1,
44
        debug           => 1,
45
    }
45
    }
46
);
46
);
47
$template->param( 'borrower_files' => 1 );
47
$template->param(
48
    'borrower_files' => 1,
49
    has_overdues     => HasOverdues($borrowernumber),
50
);
48
51
49
my $borrowernumber = $cgi->param('borrowernumber');
52
my $borrowernumber = $cgi->param('borrowernumber');
50
my $bf = Koha::Borrower::Files->new( borrowernumber => $borrowernumber );
53
my $bf = Koha::Borrower::Files->new( borrowernumber => $borrowernumber );
(-)a/members/mancredit.pl (-9 / +11 lines)
Lines 95-108 if ($add){ Link Here
95
    $template->param(%$data);
95
    $template->param(%$data);
96
96
97
    $template->param(
97
    $template->param(
98
        finesview      => 1,
98
        finesview                  => 1,
99
        borrowernumber => $borrowernumber,
99
        borrowernumber             => $borrowernumber,
100
        categoryname   => $data->{'description'},
100
        categoryname               => $data->{'description'},
101
        roadtype       => $roadtype,
101
        roadtype                   => $roadtype,
102
        branchname     => GetBranchName($data->{'branchcode'}),
102
        branchname                 => GetBranchName( $data->{'branchcode'} ),
103
        is_child       => ($data->{'category_type'} eq 'C'),
103
        is_child                   => ( $data->{'category_type'} eq 'C' ),
104
        activeBorrowerRelationship => (C4::Context->preference('borrowerRelationship') ne ''),
104
        activeBorrowerRelationship => ( C4::Context->preference('borrowerRelationship') ne '' ),
105
        RoutingSerials => C4::Context->preference('RoutingSerials'),
105
        RoutingSerials             => C4::Context->preference('RoutingSerials'),
106
        );
106
        has_overdues               => HasOverdues($borrowernumber),
107
    );
108
107
    output_html_with_http_headers $input, $cookie, $template->output;
109
    output_html_with_http_headers $input, $cookie, $template->output;
108
}
110
}
(-)a/members/maninvoice.pl (-8 / +10 lines)
Lines 120-133 if ($add){ Link Here
120
    my $roadtype = C4::Koha::GetAuthorisedValueByCode( 'ROADTYPE', $data->{streettype} );
120
    my $roadtype = C4::Koha::GetAuthorisedValueByCode( 'ROADTYPE', $data->{streettype} );
121
    $template->param(%$data);
121
    $template->param(%$data);
122
    $template->param(
122
    $template->param(
123
        finesview      => 1,
123
        finesview                  => 1,
124
        borrowernumber => $borrowernumber,
124
        borrowernumber             => $borrowernumber,
125
        categoryname   => $data->{'description'},
125
        categoryname               => $data->{'description'},
126
        branchname     => GetBranchName($data->{'branchcode'}),
126
        branchname                 => GetBranchName( $data->{'branchcode'} ),
127
        roadtype       => $roadtype,
127
        roadtype                   => $roadtype,
128
        is_child       => ($data->{'category_type'} eq 'C'),
128
        is_child                   => ( $data->{'category_type'} eq 'C' ),
129
        activeBorrowerRelationship => (C4::Context->preference('borrowerRelationship') ne ''),
129
        activeBorrowerRelationship => ( C4::Context->preference('borrowerRelationship') ne '' ),
130
        RoutingSerials => C4::Context->preference('RoutingSerials'),
130
        RoutingSerials             => C4::Context->preference('RoutingSerials'),
131
        has_overdues               => HasOverdues($borrowernumber),
131
    );
132
    );
133
132
    output_html_with_http_headers $input, $cookie, $template->output;
134
    output_html_with_http_headers $input, $cookie, $template->output;
133
}
135
}
(-)a/members/member-flags.pl (-27 / +28 lines)
Lines 175-207 if (C4::Context->preference('ExtendedPatronAttributes')) { Link Here
175
my $roadtype = C4::Koha::GetAuthorisedValueByCode( 'ROADTYPE', $bor->{streettype} );
175
my $roadtype = C4::Koha::GetAuthorisedValueByCode( 'ROADTYPE', $bor->{streettype} );
176
my $address = $bor->{'streetnumber'} . " $roadtype " . $bor->{'address'};
176
my $address = $bor->{'streetnumber'} . " $roadtype " . $bor->{'address'};
177
177
178
$template->param(
178
    $template->param(
179
		borrowernumber => $bor->{'borrowernumber'},
179
        has_overdues               => HasOverdues($borrowernumber),
180
    cardnumber => $bor->{'cardnumber'},
180
        borrowernumber             => $bor->{'borrowernumber'},
181
		surname => $bor->{'surname'},
181
        cardnumber                 => $bor->{'cardnumber'},
182
		firstname => $bor->{'firstname'},
182
        surname                    => $bor->{'surname'},
183
        othernames => $bor->{'othernames'},
183
        firstname                  => $bor->{'firstname'},
184
		categorycode => $bor->{'categorycode'},
184
        othernames                 => $bor->{'othernames'},
185
		category_type => $bor->{'category_type'},
185
        categorycode               => $bor->{'categorycode'},
186
		categoryname => $bor->{'description'},
186
        category_type              => $bor->{'category_type'},
187
        address => $address,
187
        categoryname               => $bor->{'description'},
188
		address2 => $bor->{'address2'},
188
        address                    => $address,
189
		city => $bor->{'city'},
189
        address2                   => $bor->{'address2'},
190
        state => $bor->{'state'},
190
        city                       => $bor->{'city'},
191
		zipcode => $bor->{'zipcode'},
191
        state                      => $bor->{'state'},
192
		country => $bor->{'country'},
192
        zipcode                    => $bor->{'zipcode'},
193
		phone => $bor->{'phone'},
193
        country                    => $bor->{'country'},
194
        phonepro => $bor->{'phonepro'},
194
        phone                      => $bor->{'phone'},
195
        mobile => $bor->{'mobile'},
195
        phonepro                   => $bor->{'phonepro'},
196
		email => $bor->{'email'},
196
        mobile                     => $bor->{'mobile'},
197
        emailpro => $bor->{'emailpro'},
197
        email                      => $bor->{'email'},
198
		branchcode => $bor->{'branchcode'},
198
        emailpro                   => $bor->{'emailpro'},
199
		branchname => GetBranchName($bor->{'branchcode'}),
199
        branchcode                 => $bor->{'branchcode'},
200
		loop => \@loop,
200
        branchname                 => GetBranchName( $bor->{'branchcode'} ),
201
		is_child        => ($bor->{'category_type'} eq 'C'),
201
        loop                       => \@loop,
202
		activeBorrowerRelationship => (C4::Context->preference('borrowerRelationship') ne ''),
202
        is_child                   => ( $bor->{'category_type'} eq 'C' ),
203
        RoutingSerials => C4::Context->preference('RoutingSerials'),
203
        activeBorrowerRelationship => ( C4::Context->preference('borrowerRelationship') ne '' ),
204
		);
204
        RoutingSerials             => C4::Context->preference('RoutingSerials'),
205
    );
205
206
206
    output_html_with_http_headers $input, $cookie, $template->output;
207
    output_html_with_http_headers $input, $cookie, $template->output;
207
208
(-)a/members/member-password.pl (-28 / +30 lines)
Lines 104-137 if (C4::Context->preference('ExtendedPatronAttributes')) { Link Here
104
my $roadtype = C4::Koha::GetAuthorisedValueByCode( 'ROADTYPE', $bor->{streettype} );
104
my $roadtype = C4::Koha::GetAuthorisedValueByCode( 'ROADTYPE', $bor->{streettype} );
105
my $address = $bor->{'streetnumber'} . " $roadtype " . $bor->{'address'};
105
my $address = $bor->{'streetnumber'} . " $roadtype " . $bor->{'address'};
106
106
107
    $template->param( othernames => $bor->{'othernames'},
107
    $template->param(
108
	    surname     => $bor->{'surname'},
108
        othernames                 => $bor->{'othernames'},
109
	    firstname   => $bor->{'firstname'},
109
        has_overdues               => HasOverdues($borrowernumber),
110
	    borrowernumber => $bor->{'borrowernumber'},
110
        surname                    => $bor->{'surname'},
111
	    cardnumber => $bor->{'cardnumber'},
111
        firstname                  => $bor->{'firstname'},
112
	    categorycode => $bor->{'categorycode'},
112
        borrowernumber             => $bor->{'borrowernumber'},
113
	    category_type => $bor->{'category_type'},
113
        cardnumber                 => $bor->{'cardnumber'},
114
	    categoryname => $bor->{'description'},
114
        categorycode               => $bor->{'categorycode'},
115
        address => $address,
115
        category_type              => $bor->{'category_type'},
116
	    address2 => $bor->{'address2'},
116
        categoryname               => $bor->{'description'},
117
	    city => $bor->{'city'},
117
        address                    => $address,
118
	    state => $bor->{'state'},
118
        address2                   => $bor->{'address2'},
119
	    zipcode => $bor->{'zipcode'},
119
        city                       => $bor->{'city'},
120
	    country => $bor->{'country'},
120
        state                      => $bor->{'state'},
121
	    phone => $bor->{'phone'},
121
        zipcode                    => $bor->{'zipcode'},
122
        phonepro => $bor->{'phonepro'},
122
        country                    => $bor->{'country'},
123
        mobile => $bor->{'mobile'},
123
        phone                      => $bor->{'phone'},
124
	    email => $bor->{'email'},
124
        phonepro                   => $bor->{'phonepro'},
125
        emailpro => $bor->{'emailpro'},
125
        mobile                     => $bor->{'mobile'},
126
	    branchcode => $bor->{'branchcode'},
126
        email                      => $bor->{'email'},
127
	    branchname => GetBranchName($bor->{'branchcode'}),
127
        emailpro                   => $bor->{'emailpro'},
128
	    userid      => $bor->{'userid'},
128
        branchcode                 => $bor->{'branchcode'},
129
	    destination => $destination,
129
        branchname                 => GetBranchName( $bor->{'branchcode'} ),
130
		is_child        => ($bor->{'category_type'} eq 'C'),
130
        userid                     => $bor->{'userid'},
131
		activeBorrowerRelationship => (C4::Context->preference('borrowerRelationship') ne ''),
131
        destination                => $destination,
132
        minPasswordLength => $minpw,
132
        is_child                   => ( $bor->{'category_type'} eq 'C' ),
133
        RoutingSerials => C4::Context->preference('RoutingSerials'),
133
        activeBorrowerRelationship => ( C4::Context->preference('borrowerRelationship') ne '' ),
134
	);
134
        minPasswordLength          => $minpw,
135
        RoutingSerials             => C4::Context->preference('RoutingSerials'),
136
    );
135
137
136
if( scalar(@errors )){
138
if( scalar(@errors )){
137
	$template->param( errormsg => 1 );
139
	$template->param( errormsg => 1 );
(-)a/members/moremember.pl (+1 lines)
Lines 341-346 if (C4::Context->preference('EnhancedMessagingPreferences')) { Link Here
341
# in template <TMPL_IF name="I"> => instutitional (A for Adult, C for children) 
341
# in template <TMPL_IF name="I"> => instutitional (A for Adult, C for children) 
342
$template->param( $data->{'categorycode'} => 1 ); 
342
$template->param( $data->{'categorycode'} => 1 ); 
343
$template->param(
343
$template->param(
344
    has_overdues => HasOverdues($borrowernumber),
344
    detailview => 1,
345
    detailview => 1,
345
    AllowRenewalLimitOverride => C4::Context->preference("AllowRenewalLimitOverride"),
346
    AllowRenewalLimitOverride => C4::Context->preference("AllowRenewalLimitOverride"),
346
    roadtype        => $roadtype,
347
    roadtype        => $roadtype,
(-)a/members/notices.pl (-8 / +9 lines)
Lines 65-78 my $roadtype = C4::Koha::GetAuthorisedValueByCode( 'ROADTYPE', $borrower->{'stre Link Here
65
$template->param(%$borrower);
65
$template->param(%$borrower);
66
66
67
$template->param(
67
$template->param(
68
    QUEUED_MESSAGES    => $queued_messages,
68
    QUEUED_MESSAGES            => $queued_messages,
69
    borrowernumber     => $borrowernumber,
69
    borrowernumber             => $borrowernumber,
70
    sentnotices        => 1,
70
    sentnotices                => 1,
71
    branchname         => GetBranchName($borrower->{'branchcode'}),
71
    branchname                 => GetBranchName( $borrower->{'branchcode'} ),
72
    categoryname       => $borrower->{'description'},
72
    categoryname               => $borrower->{'description'},
73
    roadtype           => $roadtype,
73
    roadtype                   => $roadtype,
74
    activeBorrowerRelationship => (C4::Context->preference('borrowerRelationship') ne ''),
74
    activeBorrowerRelationship => ( C4::Context->preference('borrowerRelationship') ne '' ),
75
    RoutingSerials => C4::Context->preference('RoutingSerials'),
75
    RoutingSerials             => C4::Context->preference('RoutingSerials'),
76
    has_overdues               => HasOverdues($borrowernumber),
76
);
77
);
77
output_html_with_http_headers $input, $cookie, $template->output;
78
output_html_with_http_headers $input, $cookie, $template->output;
78
79
(-)a/members/pay.pl (-3 / +4 lines)
Lines 104-112 for (@names) { Link Here
104
}
104
}
105
105
106
$template->param(
106
$template->param(
107
    finesview => 1,
107
    has_overdues               => HasOverdues($borrowernumber),
108
    activeBorrowerRelationship => (C4::Context->preference('borrowerRelationship') ne ''),
108
    finesview                  => 1,
109
    RoutingSerials => C4::Context->preference('RoutingSerials'),
109
    activeBorrowerRelationship => ( C4::Context->preference('borrowerRelationship') ne '' ),
110
    RoutingSerials             => C4::Context->preference('RoutingSerials'),
110
);
111
);
111
112
112
add_accounts_to_template();
113
add_accounts_to_template();
(-)a/members/paycollect.pl (-6 / +7 lines)
Lines 146-157 borrower_add_additional_fields($borrower); Link Here
146
$template->param(%$borrower);
146
$template->param(%$borrower);
147
147
148
$template->param(
148
$template->param(
149
    borrowernumber => $borrowernumber,    # some templates require global
149
    has_overdues   => HasOverdues($borrowernumber),
150
    borrower      => $borrower,
150
    borrowernumber => $borrowernumber,                # some templates require global
151
    total         => $total_due,
151
    borrower       => $borrower,
152
    activeBorrowerRelationship => (C4::Context->preference('borrowerRelationship') ne ''),
152
    total          => $total_due,
153
    RoutingSerials => C4::Context->preference('RoutingSerials'),
153
    activeBorrowerRelationship => ( C4::Context->preference('borrowerRelationship') ne '' ),
154
    ExtendedPatronAttributes => C4::Context->preference('ExtendedPatronAttributes'),
154
    RoutingSerials             => C4::Context->preference('RoutingSerials'),
155
    ExtendedPatronAttributes   => C4::Context->preference('ExtendedPatronAttributes'),
155
);
156
);
156
157
157
output_html_with_http_headers $input, $cookie, $template->output;
158
output_html_with_http_headers $input, $cookie, $template->output;
(-)a/members/readingrec.pl (-10 / +11 lines)
Lines 124-139 my $roadtype = C4::Koha::GetAuthorisedValueByCode( 'ROADTYPE', $data->{streettyp Link Here
124
$template->param(%$data);
124
$template->param(%$data);
125
125
126
$template->param(
126
$template->param(
127
    readingrecordview => 1,
127
    readingrecordview          => 1,
128
    borrowernumber    => $borrowernumber,
128
    borrowernumber             => $borrowernumber,
129
    categoryname      => $data->{description},
129
    categoryname               => $data->{description},
130
    roadtype          => $roadtype,
130
    roadtype                   => $roadtype,
131
    is_child          => ( $data->{category_type} eq 'C' ),
131
    is_child                   => ( $data->{category_type} eq 'C' ),
132
    branchname        => $branches->{ $data->{branchcode} }->{branchname},
132
    branchname                 => $branches->{ $data->{branchcode} }->{branchname},
133
    loop_reading      => $issues,
133
    loop_reading               => $issues,
134
    activeBorrowerRelationship =>
134
    activeBorrowerRelationship => ( C4::Context->preference('borrowerRelationship') ne '' ),
135
      ( C4::Context->preference('borrowerRelationship') ne '' ),
135
    RoutingSerials             => C4::Context->preference('RoutingSerials'),
136
    RoutingSerials => C4::Context->preference('RoutingSerials'),
136
    has_overdues               => HasOverdues($borrowernumber),
137
);
137
);
138
138
output_html_with_http_headers $input, $cookie, $template->output;
139
output_html_with_http_headers $input, $cookie, $template->output;
139
140
(-)a/members/routing-lists.pl (-8 / +9 lines)
Lines 105-118 my $roadtype = C4::Koha::GetAuthorisedValueByCode( 'ROADTYPE', $borrower->{stree Link Here
105
$template->param(%$borrower);
105
$template->param(%$borrower);
106
106
107
$template->param(
107
$template->param(
108
    findborrower      => $findborrower,
108
    findborrower   => $findborrower,
109
    borrower          => $borrower,
109
    borrower       => $borrower,
110
    borrowernumber    => $borrowernumber,
110
    borrowernumber => $borrowernumber,
111
    branch            => $branch,
111
    branch         => $branch,
112
    branchname        => GetBranchName($borrower->{'branchcode'}),
112
    branchname     => GetBranchName( $borrower->{'branchcode'} ),
113
    categoryname      => $borrower->{description},
113
    categoryname   => $borrower->{description},
114
    roadtype          => $roadtype,
114
    roadtype       => $roadtype,
115
    RoutingSerials    => C4::Context->preference('RoutingSerials'),
115
    RoutingSerials => C4::Context->preference('RoutingSerials'),
116
    has_overdues   => HasOverdues($borrowernumber),
116
);
117
);
117
118
118
if (C4::Context->preference('ExtendedPatronAttributes')) {
119
if (C4::Context->preference('ExtendedPatronAttributes')) {
(-)a/members/statistics.pl (-8 / +8 lines)
Lines 100-114 my $roadtype = C4::Koha::GetAuthorisedValueByCode( 'ROADTYPE', $borrower->{stree Link Here
100
$template->param(%$borrower);
100
$template->param(%$borrower);
101
101
102
$template->param(
102
$template->param(
103
    statisticsview     => 1,
103
    statisticsview              => 1,
104
    datas              => $datas,
104
    datas                       => $datas,
105
    roadtype           => $roadtype,
105
    roadtype                    => $roadtype,
106
    column_names       => \@statistic_column_names,
106
    column_names                => \@statistic_column_names,
107
    count_total_issues => $count_total_issues,
107
    count_total_issues          => $count_total_issues,
108
    count_total_issues_returned => $count_total_issues_returned,
108
    count_total_issues_returned => $count_total_issues_returned,
109
    count_total_precedent_state => $count_total_precedent_state,
109
    count_total_precedent_state => $count_total_precedent_state,
110
    count_total_actual_state => $count_total_actual_state,
110
    count_total_actual_state    => $count_total_actual_state,
111
    RoutingSerials => C4::Context->preference('RoutingSerials'),
111
    RoutingSerials              => C4::Context->preference('RoutingSerials'),
112
    has_overdues                => HasOverdues($borrowernumber),
112
);
113
);
113
114
114
output_html_with_http_headers $input, $cookie, $template->output;
115
output_html_with_http_headers $input, $cookie, $template->output;
115
- 

Return to bug 12933