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

(-)a/circ/circulation.pl (+1 lines)
Lines 721-726 $template->param( Link Here
721
    activeBorrowerRelationship => (C4::Context->preference('borrowerRelationship') ne ''),
721
    activeBorrowerRelationship => (C4::Context->preference('borrowerRelationship') ne ''),
722
    SuspendHoldsIntranet => C4::Context->preference('SuspendHoldsIntranet'),
722
    SuspendHoldsIntranet => C4::Context->preference('SuspendHoldsIntranet'),
723
    AutoResumeSuspendedHolds => C4::Context->preference('AutoResumeSuspendedHolds'),
723
    AutoResumeSuspendedHolds => C4::Context->preference('AutoResumeSuspendedHolds'),
724
    RoutingSerials => C4::Context->preference('RoutingSerials'),
724
);
725
);
725
726
726
# save stickyduedate to session
727
# save stickyduedate to session
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/circ-menu.inc (-1 / +1 lines)
Lines 69-75 Link Here
69
    [% IF ( CAN_user_updatecharges ) %]
69
    [% IF ( CAN_user_updatecharges ) %]
70
        [% IF ( finesview ) %]<li class="active">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/members/boraccount.pl?borrowernumber=[% borrowernumber %]">Fines</a></li>
70
        [% IF ( finesview ) %]<li class="active">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/members/boraccount.pl?borrowernumber=[% borrowernumber %]">Fines</a></li>
71
    [% END %]
71
    [% END %]
72
    [% IF ( routinglistview ) %]<li class="active">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/members/routing-lists.pl?borrowernumber=[% borrowernumber %]">Routing Lists</a></li>
72
    [% 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 %]
73
    [% IF ( intranetreadinghistory ) %]
73
    [% IF ( intranetreadinghistory ) %]
74
        [% IF ( readingrecordview ) %]<li class="active">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/members/readingrec.pl?borrowernumber=[% borrowernumber %]">Circulation history</a></li>
74
        [% IF ( readingrecordview ) %]<li class="active">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/members/readingrec.pl?borrowernumber=[% borrowernumber %]">Circulation history</a></li>
75
    [% END %]
75
    [% END %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/circ-menu.tt (+1 lines)
Lines 72-77 in the global namespace %] Link Here
72
	 [% IF ( CAN_user_updatecharges ) %]
72
	 [% IF ( CAN_user_updatecharges ) %]
73
	[% IF ( finesview ) %]<li class="active">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/members/boraccount.pl?borrowernumber=[% borrower.borrowernumber %]">Fines</a></li>
73
	[% IF ( finesview ) %]<li class="active">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/members/boraccount.pl?borrowernumber=[% borrower.borrowernumber %]">Fines</a></li>
74
	[% END %]
74
	[% END %]
75
    [% 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 %]
75
    [% IF ( intranetreadinghistory ) %][% IF ( readingrecordview ) %]<li class="active">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/members/readingrec.pl?borrowernumber=[% borrower.borrowernumber %]">Circulation history</a></li>[% END %]
76
    [% IF ( intranetreadinghistory ) %][% IF ( readingrecordview ) %]<li class="active">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/members/readingrec.pl?borrowernumber=[% borrower.borrowernumber %]">Circulation history</a></li>[% END %]
76
    [% IF ( CAN_user_parameters ) %][% IF ( logview ) %]<li class="active">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/tools/viewlog.pl?do_it=1&amp;modules=MEMBERS&amp;modules=circulation&amp;object=[% borrower.borrowernumber %]&amp;src=circ">Modification log</a></li>[% END %]
77
    [% IF ( CAN_user_parameters ) %][% IF ( logview ) %]<li class="active">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/tools/viewlog.pl?do_it=1&amp;modules=MEMBERS&amp;modules=circulation&amp;object=[% borrower.borrowernumber %]&amp;src=circ">Modification log</a></li>[% END %]
77
    [% IF ( EnhancedMessagingPreferences ) %]
78
    [% IF ( EnhancedMessagingPreferences ) %]
(-)a/members/boraccount.pl (+1 lines)
Lines 129-134 $template->param( Link Here
129
    reverse_col         => $reverse_col,
129
    reverse_col         => $reverse_col,
130
    accounts            => $accts,
130
    accounts            => $accts,
131
	activeBorrowerRelationship => (C4::Context->preference('borrowerRelationship') ne ''),
131
	activeBorrowerRelationship => (C4::Context->preference('borrowerRelationship') ne ''),
132
    RoutingSerials => C4::Context->preference('RoutingSerials'),
132
);
133
);
133
134
134
output_html_with_http_headers $input, $cookie, $template->output;
135
output_html_with_http_headers $input, $cookie, $template->output;
(-)a/members/deletemem.pl (+1 lines)
Lines 104-109 if ($countissues > 0 or $flags->{'CHARGES'} or $data->{'borrowernumber'}){ Link Here
104
        branchcode => $bor->{'branchcode'},
104
        branchcode => $bor->{'branchcode'},
105
        branchname => GetBranchName($bor->{'branchcode'}),
105
        branchname => GetBranchName($bor->{'branchcode'}),
106
		activeBorrowerRelationship => (C4::Context->preference('borrowerRelationship') ne ''),
106
		activeBorrowerRelationship => (C4::Context->preference('borrowerRelationship') ne ''),
107
        RoutingSerials => C4::Context->preference('RoutingSerials'),
107
    );
108
    );
108
    if ($countissues >0) {
109
    if ($countissues >0) {
109
        $template->param(ItemsOnIssues => $countissues);
110
        $template->param(ItemsOnIssues => $countissues);
(-)a/members/files.pl (+1 lines)
Lines 104-109 else { Link Here
104
    $template->param(
104
    $template->param(
105
        categoryname    => $data->{'description'},
105
        categoryname    => $data->{'description'},
106
        branchname      => GetBranchName($data->{'branchcode'}),
106
        branchname      => GetBranchName($data->{'branchcode'}),
107
        RoutingSerials => C4::Context->preference('RoutingSerials'),
107
    );
108
    );
108
109
109
    if (C4::Context->preference('ExtendedPatronAttributes')) {
110
    if (C4::Context->preference('ExtendedPatronAttributes')) {
(-)a/members/mancredit.pl (+1 lines)
Lines 108-113 if (C4::Context->preference('ExtendedPatronAttributes')) { Link Here
108
		    branchname => GetBranchName($data->{'branchcode'}),
108
		    branchname => GetBranchName($data->{'branchcode'}),
109
		    is_child        => ($data->{'category_type'} eq 'C'),
109
		    is_child        => ($data->{'category_type'} eq 'C'),
110
			activeBorrowerRelationship => (C4::Context->preference('borrowerRelationship') ne ''),
110
			activeBorrowerRelationship => (C4::Context->preference('borrowerRelationship') ne ''),
111
            RoutingSerials => C4::Context->preference('RoutingSerials'),
111
        );
112
        );
112
    output_html_with_http_headers $input, $cookie, $template->output;
113
    output_html_with_http_headers $input, $cookie, $template->output;
113
}
114
}
(-)a/members/maninvoice.pl (+1 lines)
Lines 135-140 if (C4::Context->preference('ExtendedPatronAttributes')) { Link Here
135
		branchname => GetBranchName($data->{'branchcode'}),
135
		branchname => GetBranchName($data->{'branchcode'}),
136
		is_child        => ($data->{'category_type'} eq 'C'),
136
		is_child        => ($data->{'category_type'} eq 'C'),
137
		activeBorrowerRelationship => (C4::Context->preference('borrowerRelationship') ne ''),
137
		activeBorrowerRelationship => (C4::Context->preference('borrowerRelationship') ne ''),
138
        RoutingSerials => C4::Context->preference('RoutingSerials'),
138
    );
139
    );
139
    output_html_with_http_headers $input, $cookie, $template->output;
140
    output_html_with_http_headers $input, $cookie, $template->output;
140
}
141
}
(-)a/members/member-flags.pl (+1 lines)
Lines 192-197 $template->param( Link Here
192
		loop => \@loop,
192
		loop => \@loop,
193
		is_child        => ($bor->{'category_type'} eq 'C'),
193
		is_child        => ($bor->{'category_type'} eq 'C'),
194
		activeBorrowerRelationship => (C4::Context->preference('borrowerRelationship') ne ''),
194
		activeBorrowerRelationship => (C4::Context->preference('borrowerRelationship') ne ''),
195
        RoutingSerials => C4::Context->preference('RoutingSerials'),
195
		);
196
		);
196
197
197
    output_html_with_http_headers $input, $cookie, $template->output;
198
    output_html_with_http_headers $input, $cookie, $template->output;
(-)a/members/member-password.pl (-1 / +2 lines)
Lines 121-127 if (C4::Context->preference('ExtendedPatronAttributes')) { Link Here
121
	    destination => $destination,
121
	    destination => $destination,
122
		is_child        => ($bor->{'category_type'} eq 'C'),
122
		is_child        => ($bor->{'category_type'} eq 'C'),
123
		activeBorrowerRelationship => (C4::Context->preference('borrowerRelationship') ne ''),
123
		activeBorrowerRelationship => (C4::Context->preference('borrowerRelationship') ne ''),
124
        minPasswordLength => $minpw
124
        minPasswordLength => $minpw,
125
        RoutingSerials => C4::Context->preference('RoutingSerials'),
125
	);
126
	);
126
127
127
if( scalar(@errors )){
128
if( scalar(@errors )){
(-)a/members/moremember.pl (+1 lines)
Lines 424-429 $template->param( Link Here
424
    activeBorrowerRelationship => (C4::Context->preference('borrowerRelationship') ne ''),
424
    activeBorrowerRelationship => (C4::Context->preference('borrowerRelationship') ne ''),
425
    AutoResumeSuspendedHolds => C4::Context->preference('AutoResumeSuspendedHolds'),
425
    AutoResumeSuspendedHolds => C4::Context->preference('AutoResumeSuspendedHolds'),
426
    SuspendHoldsIntranet => C4::Context->preference('SuspendHoldsIntranet'),
426
    SuspendHoldsIntranet => C4::Context->preference('SuspendHoldsIntranet'),
427
    RoutingSerials => C4::Context->preference('RoutingSerials'),
427
);
428
);
428
$template->param( $error => 1 ) if $error;
429
$template->param( $error => 1 ) if $error;
429
430
(-)a/members/notices.pl (+1 lines)
Lines 69-74 $template->param( Link Here
69
                        branchname              => GetBranchName($borrower->{'branchcode'}),
69
                        branchname              => GetBranchName($borrower->{'branchcode'}),
70
                        categoryname            => $borrower->{'description'},
70
                        categoryname            => $borrower->{'description'},
71
			activeBorrowerRelationship => (C4::Context->preference('borrowerRelationship') ne ''),
71
			activeBorrowerRelationship => (C4::Context->preference('borrowerRelationship') ne ''),
72
            RoutingSerials => C4::Context->preference('RoutingSerials'),
72
);
73
);
73
output_html_with_http_headers $input, $cookie, $template->output;
74
output_html_with_http_headers $input, $cookie, $template->output;
74
75
(-)a/members/pay.pl (-1 / +4 lines)
Lines 100-106 for (@names) { Link Here
100
    }
100
    }
101
}
101
}
102
102
103
$template->param( activeBorrowerRelationship => (C4::Context->preference('borrowerRelationship') ne '') );
103
$template->param(
104
    activeBorrowerRelationship => (C4::Context->preference('borrowerRelationship') ne ''),
105
    RoutingSerials => C4::Context->preference('RoutingSerials'),
106
);
104
107
105
add_accounts_to_template();
108
add_accounts_to_template();
106
109
(-)a/members/paycollect.pl (+1 lines)
Lines 141-146 $template->param( Link Here
141
    borrower      => $borrower,
141
    borrower      => $borrower,
142
    total         => $total_due,
142
    total         => $total_due,
143
    activeBorrowerRelationship => (C4::Context->preference('borrowerRelationship') ne ''),
143
    activeBorrowerRelationship => (C4::Context->preference('borrowerRelationship') ne ''),
144
    RoutingSerials => C4::Context->preference('RoutingSerials'),
144
);
145
);
145
146
146
output_html_with_http_headers $input, $cookie, $template->output;
147
output_html_with_http_headers $input, $cookie, $template->output;
(-)a/members/readingrec.pl (+1 lines)
Lines 140-145 $template->param( Link Here
140
    loop_reading      => $issues,
140
    loop_reading      => $issues,
141
    activeBorrowerRelationship =>
141
    activeBorrowerRelationship =>
142
      ( C4::Context->preference('borrowerRelationship') ne '' ),
142
      ( C4::Context->preference('borrowerRelationship') ne '' ),
143
    RoutingSerials => C4::Context->preference('RoutingSerials'),
143
);
144
);
144
output_html_with_http_headers $input, $cookie, $template->output;
145
output_html_with_http_headers $input, $cookie, $template->output;
145
146
(-)a/members/routing-lists.pl (+1 lines)
Lines 125-130 $template->param( Link Here
125
    country           => $borrower->{'country'},
125
    country           => $borrower->{'country'},
126
    phone             => $borrower->{'phone'} || $borrower->{'mobile'},
126
    phone             => $borrower->{'phone'} || $borrower->{'mobile'},
127
    cardnumber        => $borrower->{'cardnumber'},
127
    cardnumber        => $borrower->{'cardnumber'},
128
    RoutingSerials => C4::Context->preference('RoutingSerials'),
128
);
129
);
129
130
130
my ($picture, $dberror) = GetPatronImage($borrower->{'cardnumber'});
131
my ($picture, $dberror) = GetPatronImage($borrower->{'cardnumber'});
(-)a/members/statistics.pl (+1 lines)
Lines 104-109 $template->param( Link Here
104
    count_total_issues_returned => $count_total_issues_returned,
104
    count_total_issues_returned => $count_total_issues_returned,
105
    count_total_precedent_state => $count_total_precedent_state,
105
    count_total_precedent_state => $count_total_precedent_state,
106
    count_total_actual_state => $count_total_actual_state,
106
    count_total_actual_state => $count_total_actual_state,
107
    RoutingSerials => C4::Context->preference('RoutingSerials'),
107
);
108
);
108
109
109
output_html_with_http_headers $input, $cookie, $template->output;
110
output_html_with_http_headers $input, $cookie, $template->output;
(-)a/tools/viewlog.pl (-1 / +1 lines)
Lines 96-101 if ($src eq 'circ') { # if we were called from circulation, use the circulatio Link Here
96
                        email           => $data->{'email'},
96
                        email           => $data->{'email'},
97
                        branchcode      => $data->{'branchcode'},
97
                        branchcode      => $data->{'branchcode'},
98
                        branchname		=> GetBranchName($data->{'branchcode'}),
98
                        branchname		=> GetBranchName($data->{'branchcode'}),
99
                        RoutingSerials => C4::Context->preference('RoutingSerials'),
99
    );
100
    );
100
}
101
}
101
102
102
- 

Return to bug 9917