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

(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/circ-menu.inc (-1 / +1 lines)
Lines 81-87 Link Here
81
        [% IF ( finesview ) %]<li class="active">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/members/pay.pl?borrowernumber=[% borrowernumber %]">Fines</a></li>
81
        [% IF ( finesview ) %]<li class="active">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/members/pay.pl?borrowernumber=[% borrowernumber %]">Fines</a></li>
82
    [% END %]
82
    [% END %]
83
    [% IF ( CAN_user_circulate_circulate_remaining_permissions  )  %]
83
    [% IF ( CAN_user_circulate_circulate_remaining_permissions  )  %]
84
        [% IF ( RoutingSerials ) %][% IF ( routinglistview ) %]<li class="active">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/members/routing-lists.pl?borrowernumber=[% borrowernumber %]">Routing lists</a></li>[% END %]
84
        [% IF Koha.Preference("RoutingSerials") %][% IF ( routinglistview ) %]<li class="active">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/members/routing-lists.pl?borrowernumber=[% borrowernumber %]">Routing lists</a></li>[% END %]
85
    [% END %]
85
    [% END %]
86
    [% IF ( CAN_user_borrowers ) %]
86
    [% IF ( CAN_user_borrowers ) %]
87
        [% IF ( intranetreadinghistory ) %]
87
        [% IF ( intranetreadinghistory ) %]
(-)a/members/boraccount.pl (-1 lines)
Lines 117-123 $template->param( Link Here
117
    is_child            => ($patron->category->category_type eq 'C'),
117
    is_child            => ($patron->category->category_type eq 'C'),
118
    reverse_col         => $reverse_col,
118
    reverse_col         => $reverse_col,
119
    accounts            => $accts,
119
    accounts            => $accts,
120
    RoutingSerials => C4::Context->preference('RoutingSerials'),
121
);
120
);
122
121
123
output_html_with_http_headers $input, $cookie, $template->output;
122
output_html_with_http_headers $input, $cookie, $template->output;
(-)a/members/deletemem.pl (-1 lines)
Lines 132-138 if ( $op eq 'delete_confirm' or $countissues > 0 or $flags->{'CHARGES'} or $is_ Link Here
132
        phone => $patron->phone,
132
        phone => $patron->phone,
133
        email => $patron->email,
133
        email => $patron->email,
134
        branchcode => $patron->branchcode,
134
        branchcode => $patron->branchcode,
135
        RoutingSerials => C4::Context->preference('RoutingSerials'),
136
    );
135
    );
137
    if ($countissues >0) {
136
    if ($countissues >0) {
138
        $template->param(ItemsOnIssues => $countissues);
137
        $template->param(ItemsOnIssues => $countissues);
(-)a/members/files.pl (-1 lines)
Lines 109-115 else { Link Here
109
109
110
    $template->param(
110
    $template->param(
111
        categoryname    => $patron_category->description,
111
        categoryname    => $patron_category->description,
112
        RoutingSerials => C4::Context->preference('RoutingSerials'),
113
    );
112
    );
114
113
115
    if (C4::Context->preference('ExtendedPatronAttributes')) {
114
    if (C4::Context->preference('ExtendedPatronAttributes')) {
(-)a/members/mancredit.pl (-1 lines)
Lines 101-107 if ($add){ Link Here
101
        borrowernumber => $borrowernumber,
101
        borrowernumber => $borrowernumber,
102
        categoryname   => $patron->category->description,
102
        categoryname   => $patron->category->description,
103
        is_child       => ($patron->category->category_type eq 'C'), # FIXME is_child should be a Koha::Patron method
103
        is_child       => ($patron->category->category_type eq 'C'), # FIXME is_child should be a Koha::Patron method
104
        RoutingSerials => C4::Context->preference('RoutingSerials'),
105
        );
104
        );
106
    output_html_with_http_headers $input, $cookie, $template->output;
105
    output_html_with_http_headers $input, $cookie, $template->output;
107
}
106
}
(-)a/members/maninvoice.pl (-1 lines)
Lines 127-133 if ($add){ Link Here
127
        borrowernumber => $borrowernumber,
127
        borrowernumber => $borrowernumber,
128
        categoryname   => $patron->category->description,
128
        categoryname   => $patron->category->description,
129
        is_child       => ($patron->category->category_type eq 'C'),
129
        is_child       => ($patron->category->category_type eq 'C'),
130
        RoutingSerials => C4::Context->preference('RoutingSerials'),
131
    );
130
    );
132
    output_html_with_http_headers $input, $cookie, $template->output;
131
    output_html_with_http_headers $input, $cookie, $template->output;
133
}
132
}
(-)a/members/member-flags.pl (-1 lines)
Lines 219-225 $template->param( Link Here
219
    branchcode     => $bor->{'branchcode'},
219
    branchcode     => $bor->{'branchcode'},
220
    loop           => \@loop,
220
    loop           => \@loop,
221
    is_child       => ( $category_type eq 'C' ),
221
    is_child       => ( $category_type eq 'C' ),
222
    RoutingSerials => C4::Context->preference('RoutingSerials'),
223
    csrf_token =>
222
    csrf_token =>
224
        Koha::Token->new->generate_csrf( { session_id => scalar $input->cookie('CGISESSID'), } ),
223
        Koha::Token->new->generate_csrf( { session_id => scalar $input->cookie('CGISESSID'), } ),
225
);
224
);
(-)a/members/member-password.pl (-1 lines)
Lines 145-151 $template->param( Link Here
145
    userid                     => $bor->{'userid'},
145
    userid                     => $bor->{'userid'},
146
    destination                => $destination,
146
    destination                => $destination,
147
    is_child                   => ( $category_type eq 'C' ),
147
    is_child                   => ( $category_type eq 'C' ),
148
    RoutingSerials             => C4::Context->preference('RoutingSerials'),
149
    csrf_token                 => Koha::Token->new->generate_csrf({ session_id => scalar $input->cookie('CGISESSID'), }),
148
    csrf_token                 => Koha::Token->new->generate_csrf({ session_id => scalar $input->cookie('CGISESSID'), }),
150
);
149
);
151
150
(-)a/members/moremember.pl (-1 lines)
Lines 357-363 $template->param( Link Here
357
    quickslip       => $quickslip,
357
    quickslip       => $quickslip,
358
    housebound_role => scalar $patron->housebound_role,
358
    housebound_role => scalar $patron->housebound_role,
359
    privacy_guarantor_checkouts => $data->{'privacy_guarantor_checkouts'},
359
    privacy_guarantor_checkouts => $data->{'privacy_guarantor_checkouts'},
360
    RoutingSerials => C4::Context->preference('RoutingSerials'),
361
    PatronsPerPage => C4::Context->preference("PatronsPerPage") || 20,
360
    PatronsPerPage => C4::Context->preference("PatronsPerPage") || 20,
362
    relatives_issues_count => $relatives_issues_count,
361
    relatives_issues_count => $relatives_issues_count,
363
    relatives_borrowernumbers => \@relatives,
362
    relatives_borrowernumbers => \@relatives,
(-)a/members/notices.pl (-1 lines)
Lines 82-88 $template->param( Link Here
82
    borrowernumber     => $borrowernumber,
82
    borrowernumber     => $borrowernumber,
83
    sentnotices        => 1,
83
    sentnotices        => 1,
84
    categoryname       => $patron->category->description,
84
    categoryname       => $patron->category->description,
85
    RoutingSerials => C4::Context->preference('RoutingSerials'),
86
);
85
);
87
output_html_with_http_headers $input, $cookie, $template->output;
86
output_html_with_http_headers $input, $cookie, $template->output;
88
87
(-)a/members/pay.pl (-1 lines)
Lines 123-129 for (@names) { Link Here
123
123
124
$template->param(
124
$template->param(
125
    finesview => 1,
125
    finesview => 1,
126
    RoutingSerials => C4::Context->preference('RoutingSerials'),
127
);
126
);
128
127
129
add_accounts_to_template();
128
add_accounts_to_template();
(-)a/members/paycollect.pl (-1 lines)
Lines 188-194 $template->param( Link Here
188
    borrower      => $borrower,
188
    borrower      => $borrower,
189
    categoryname  => $borrower->{description},
189
    categoryname  => $borrower->{description},
190
    total         => $total_due,
190
    total         => $total_due,
191
    RoutingSerials => C4::Context->preference('RoutingSerials'),
192
    ExtendedPatronAttributes => C4::Context->preference('ExtendedPatronAttributes'),
191
    ExtendedPatronAttributes => C4::Context->preference('ExtendedPatronAttributes'),
193
192
194
    csrf_token => Koha::Token->new->generate_csrf({ session_id => scalar $input->cookie('CGISESSID') }),
193
    csrf_token => Koha::Token->new->generate_csrf({ session_id => scalar $input->cookie('CGISESSID') }),
(-)a/members/purchase-suggestions.pl (-1 lines)
Lines 57-63 foreach my $key ( keys %$data ) { Link Here
57
$template->param(
57
$template->param(
58
    suggestionsview  => 1,
58
    suggestionsview  => 1,
59
    categoryname => $data->{'description'},
59
    categoryname => $data->{'description'},
60
    RoutingSerials => C4::Context->preference('RoutingSerials'),
61
);
60
);
62
61
63
if (C4::Context->preference('ExtendedPatronAttributes')) {
62
if (C4::Context->preference('ExtendedPatronAttributes')) {
(-)a/members/readingrec.pl (-1 lines)
Lines 131-137 $template->param( Link Here
131
    categoryname      => $data->{description},
131
    categoryname      => $data->{description},
132
    is_child          => ( $data->{category_type} eq 'C' ),
132
    is_child          => ( $data->{category_type} eq 'C' ),
133
    loop_reading      => $issues,
133
    loop_reading      => $issues,
134
    RoutingSerials => C4::Context->preference('RoutingSerials'),
135
);
134
);
136
output_html_with_http_headers $input, $cookie, $template->output;
135
output_html_with_http_headers $input, $cookie, $template->output;
137
136
(-)a/members/routing-lists.pl (-1 lines)
Lines 91-97 $template->param( Link Here
91
    borrowernumber    => $borrowernumber,
91
    borrowernumber    => $borrowernumber,
92
    branch            => $branch,
92
    branch            => $branch,
93
    categoryname      => $patron_info->{description},
93
    categoryname      => $patron_info->{description},
94
    RoutingSerials    => C4::Context->preference('RoutingSerials'),
95
);
94
);
96
95
97
if (C4::Context->preference('ExtendedPatronAttributes')) {
96
if (C4::Context->preference('ExtendedPatronAttributes')) {
(-)a/members/statistics.pl (-1 lines)
Lines 107-113 $template->param( Link Here
107
    count_total_issues_returned => $count_total_issues_returned,
107
    count_total_issues_returned => $count_total_issues_returned,
108
    count_total_precedent_state => $count_total_precedent_state,
108
    count_total_precedent_state => $count_total_precedent_state,
109
    count_total_actual_state => $count_total_actual_state,
109
    count_total_actual_state => $count_total_actual_state,
110
    RoutingSerials => C4::Context->preference('RoutingSerials'),
111
);
110
);
112
111
113
output_html_with_http_headers $input, $cookie, $template->output;
112
output_html_with_http_headers $input, $cookie, $template->output;
(-)a/tools/viewlog.pl (-2 lines)
Lines 95-101 if ( $src eq 'circ' ) { Link Here
95
        menu           => 1,
95
        menu           => 1,
96
        borrowernumber => $borrowernumber,
96
        borrowernumber => $borrowernumber,
97
        categoryname   => $patron->category->description,
97
        categoryname   => $patron->category->description,
98
        RoutingSerials => C4::Context->preference('RoutingSerials'),
99
    );
98
    );
100
}
99
}
101
100
102
- 

Return to bug 19621