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

(-)a/circ/circulation.pl (-1 lines)
Lines 636-642 $template->param( Link Here
636
    AudioAlerts           => C4::Context->preference("AudioAlerts"),
636
    AudioAlerts           => C4::Context->preference("AudioAlerts"),
637
    fast_cataloging   => $fast_cataloging,
637
    fast_cataloging   => $fast_cataloging,
638
    CircAutoPrintQuickSlip   => C4::Context->preference("CircAutoPrintQuickSlip"),
638
    CircAutoPrintQuickSlip   => C4::Context->preference("CircAutoPrintQuickSlip"),
639
    activeBorrowerRelationship => (C4::Context->preference('borrowerRelationship') ne ''),
640
    SuspendHoldsIntranet => C4::Context->preference('SuspendHoldsIntranet'),
639
    SuspendHoldsIntranet => C4::Context->preference('SuspendHoldsIntranet'),
641
    AutoResumeSuspendedHolds => C4::Context->preference('AutoResumeSuspendedHolds'),
640
    AutoResumeSuspendedHolds => C4::Context->preference('AutoResumeSuspendedHolds'),
642
    RoutingSerials => C4::Context->preference('RoutingSerials'),
641
    RoutingSerials => C4::Context->preference('RoutingSerials'),
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/members-toolbar.inc (-1 / +1 lines)
Lines 142-148 function searchToHold(){ Link Here
142
    [% END %]
142
    [% END %]
143
143
144
    [% IF ( CAN_user_borrowers ) %]
144
    [% IF ( CAN_user_borrowers ) %]
145
        [% IF ( adultborrower AND activeBorrowerRelationship ) %]
145
        [% IF adultborrower AND Koha.Preference("borrowerRelationship") %]
146
            <a id="addchild" class="btn btn-default btn-sm" href="/cgi-bin/koha/members/memberentry.pl?op=add&amp;guarantorid=[% borrowernumber %]"><i class="fa fa-plus"></i> Add child</a>
146
            <a id="addchild" class="btn btn-default btn-sm" href="/cgi-bin/koha/members/memberentry.pl?op=add&amp;guarantorid=[% borrowernumber %]"><i class="fa fa-plus"></i> Add child</a>
147
        [% END %]
147
        [% END %]
148
        [% IF ( CAN_user_borrowers ) %]
148
        [% IF ( CAN_user_borrowers ) %]
(-)a/members/boraccount.pl (-1 lines)
Lines 115-121 $template->param( Link Here
115
    is_child            => ($data->{'category_type'} eq 'C'),
115
    is_child            => ($data->{'category_type'} eq 'C'),
116
    reverse_col         => $reverse_col,
116
    reverse_col         => $reverse_col,
117
    accounts            => $accts,
117
    accounts            => $accts,
118
    activeBorrowerRelationship => (C4::Context->preference('borrowerRelationship') ne ''),
119
    RoutingSerials => C4::Context->preference('RoutingSerials'),
118
    RoutingSerials => C4::Context->preference('RoutingSerials'),
120
);
119
);
121
120
(-)a/members/deletemem.pl (-1 lines)
Lines 126-132 if ( $op eq 'delete_confirm' or $countissues > 0 or $flags->{'CHARGES'} or $is_ Link Here
126
        phone => $bor->{'phone'},
126
        phone => $bor->{'phone'},
127
        email => $bor->{'email'},
127
        email => $bor->{'email'},
128
        branchcode => $bor->{'branchcode'},
128
        branchcode => $bor->{'branchcode'},
129
		activeBorrowerRelationship => (C4::Context->preference('borrowerRelationship') ne ''),
130
        RoutingSerials => C4::Context->preference('RoutingSerials'),
129
        RoutingSerials => C4::Context->preference('RoutingSerials'),
131
    );
130
    );
132
    if ($countissues >0) {
131
    if ($countissues >0) {
(-)a/members/mancredit.pl (-1 lines)
Lines 99-105 if ($add){ Link Here
99
        borrowernumber => $borrowernumber,
99
        borrowernumber => $borrowernumber,
100
        categoryname   => $data->{'description'},
100
        categoryname   => $data->{'description'},
101
        is_child       => ($data->{'category_type'} eq 'C'),
101
        is_child       => ($data->{'category_type'} eq 'C'),
102
        activeBorrowerRelationship => (C4::Context->preference('borrowerRelationship') ne ''),
103
        RoutingSerials => C4::Context->preference('RoutingSerials'),
102
        RoutingSerials => C4::Context->preference('RoutingSerials'),
104
        );
103
        );
105
    output_html_with_http_headers $input, $cookie, $template->output;
104
    output_html_with_http_headers $input, $cookie, $template->output;
(-)a/members/maninvoice.pl (-1 lines)
Lines 124-130 if ($add){ Link Here
124
        borrowernumber => $borrowernumber,
124
        borrowernumber => $borrowernumber,
125
        categoryname   => $data->{'description'},
125
        categoryname   => $data->{'description'},
126
        is_child       => ($data->{'category_type'} eq 'C'),
126
        is_child       => ($data->{'category_type'} eq 'C'),
127
        activeBorrowerRelationship => (C4::Context->preference('borrowerRelationship') ne ''),
128
        RoutingSerials => C4::Context->preference('RoutingSerials'),
127
        RoutingSerials => C4::Context->preference('RoutingSerials'),
129
    );
128
    );
130
    output_html_with_http_headers $input, $cookie, $template->output;
129
    output_html_with_http_headers $input, $cookie, $template->output;
(-)a/members/member-flags.pl (-1 lines)
Lines 212-218 $template->param( Link Here
212
		branchcode => $bor->{'branchcode'},
212
		branchcode => $bor->{'branchcode'},
213
		loop => \@loop,
213
		loop => \@loop,
214
		is_child        => ($bor->{'category_type'} eq 'C'),
214
		is_child        => ($bor->{'category_type'} eq 'C'),
215
		activeBorrowerRelationship => (C4::Context->preference('borrowerRelationship') ne ''),
216
        RoutingSerials => C4::Context->preference('RoutingSerials'),
215
        RoutingSerials => C4::Context->preference('RoutingSerials'),
217
        csrf_token => Koha::Token->new->generate_csrf( { session_id => scalar $input->cookie('CGISESSID'), } ),
216
        csrf_token => Koha::Token->new->generate_csrf( { session_id => scalar $input->cookie('CGISESSID'), } ),
218
		);
217
		);
(-)a/members/member-password.pl (-1 lines)
Lines 143-149 $template->param( Link Here
143
    userid                     => $bor->{'userid'},
143
    userid                     => $bor->{'userid'},
144
    destination                => $destination,
144
    destination                => $destination,
145
    is_child                   => ( $bor->{'category_type'} eq 'C' ),
145
    is_child                   => ( $bor->{'category_type'} eq 'C' ),
146
    activeBorrowerRelationship => ( C4::Context->preference('borrowerRelationship') ne '' ),
147
    minPasswordLength          => $minpw,
146
    minPasswordLength          => $minpw,
148
    RoutingSerials             => C4::Context->preference('RoutingSerials'),
147
    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'), }),
(-)a/members/moremember.pl (-1 lines)
Lines 348-354 $template->param( Link Here
348
    quickslip       => $quickslip,
348
    quickslip       => $quickslip,
349
    housebound_role => $patron->housebound_role,
349
    housebound_role => $patron->housebound_role,
350
    privacy_guarantor_checkouts => $data->{'privacy_guarantor_checkouts'},
350
    privacy_guarantor_checkouts => $data->{'privacy_guarantor_checkouts'},
351
    activeBorrowerRelationship => (C4::Context->preference('borrowerRelationship') ne ''),
352
    AutoResumeSuspendedHolds => C4::Context->preference('AutoResumeSuspendedHolds'),
351
    AutoResumeSuspendedHolds => C4::Context->preference('AutoResumeSuspendedHolds'),
353
    SuspendHoldsIntranet => C4::Context->preference('SuspendHoldsIntranet'),
352
    SuspendHoldsIntranet => C4::Context->preference('SuspendHoldsIntranet'),
354
    RoutingSerials => C4::Context->preference('RoutingSerials'),
353
    RoutingSerials => C4::Context->preference('RoutingSerials'),
(-)a/members/notices.pl (-1 lines)
Lines 79-85 $template->param( Link Here
79
    borrowernumber     => $borrowernumber,
79
    borrowernumber     => $borrowernumber,
80
    sentnotices        => 1,
80
    sentnotices        => 1,
81
    categoryname       => $borrower->{'description'},
81
    categoryname       => $borrower->{'description'},
82
    activeBorrowerRelationship => (C4::Context->preference('borrowerRelationship') ne ''),
83
    RoutingSerials => C4::Context->preference('RoutingSerials'),
82
    RoutingSerials => C4::Context->preference('RoutingSerials'),
84
);
83
);
85
output_html_with_http_headers $input, $cookie, $template->output;
84
output_html_with_http_headers $input, $cookie, $template->output;
(-)a/members/pay.pl (-1 lines)
Lines 114-120 for (@names) { Link Here
114
114
115
$template->param(
115
$template->param(
116
    finesview => 1,
116
    finesview => 1,
117
    activeBorrowerRelationship => (C4::Context->preference('borrowerRelationship') ne ''),
118
    RoutingSerials => C4::Context->preference('RoutingSerials'),
117
    RoutingSerials => C4::Context->preference('RoutingSerials'),
119
);
118
);
120
119
(-)a/members/paycollect.pl (-1 lines)
Lines 175-181 $template->param( Link Here
175
    borrower      => $borrower,
175
    borrower      => $borrower,
176
    categoryname  => $borrower->{description},
176
    categoryname  => $borrower->{description},
177
    total         => $total_due,
177
    total         => $total_due,
178
    activeBorrowerRelationship => (C4::Context->preference('borrowerRelationship') ne ''),
179
    RoutingSerials => C4::Context->preference('RoutingSerials'),
178
    RoutingSerials => C4::Context->preference('RoutingSerials'),
180
    ExtendedPatronAttributes => C4::Context->preference('ExtendedPatronAttributes'),
179
    ExtendedPatronAttributes => C4::Context->preference('ExtendedPatronAttributes'),
181
);
180
);
(-)a/members/readingrec.pl (-3 lines)
Lines 126-133 $template->param( Link Here
126
    categoryname      => $data->{description},
126
    categoryname      => $data->{description},
127
    is_child          => ( $data->{category_type} eq 'C' ),
127
    is_child          => ( $data->{category_type} eq 'C' ),
128
    loop_reading      => $issues,
128
    loop_reading      => $issues,
129
    activeBorrowerRelationship =>
130
      ( C4::Context->preference('borrowerRelationship') ne '' ),
131
    RoutingSerials => C4::Context->preference('RoutingSerials'),
129
    RoutingSerials => C4::Context->preference('RoutingSerials'),
132
);
130
);
133
output_html_with_http_headers $input, $cookie, $template->output;
131
output_html_with_http_headers $input, $cookie, $template->output;
134
- 

Return to bug 18423