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

(-)a/members/memberentry.pl (-1 / +1 lines)
Lines 753-759 $template->param( csrf_token => Link Here
753
753
754
# HouseboundModule data
754
# HouseboundModule data
755
$template->param(
755
$template->param(
756
    housebound_role  => Koha::Patron::HouseboundRoles->find($borrowernumber),
756
    housebound_role  => scalar Koha::Patron::HouseboundRoles->find($borrowernumber),
757
);
757
);
758
758
759
if(defined($data{'flags'})){
759
if(defined($data{'flags'})){
(-)a/members/moremember.pl (-1 / +1 lines)
Lines 346-352 $template->param( Link Here
346
    is_child        => ($category_type eq 'C'),
346
    is_child        => ($category_type eq 'C'),
347
    samebranch      => $samebranch,
347
    samebranch      => $samebranch,
348
    quickslip       => $quickslip,
348
    quickslip       => $quickslip,
349
    housebound_role => $patron->housebound_role,
349
    housebound_role => scalar $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 ''),
351
    activeBorrowerRelationship => (C4::Context->preference('borrowerRelationship') ne ''),
352
    AutoResumeSuspendedHolds => C4::Context->preference('AutoResumeSuspendedHolds'),
352
    AutoResumeSuspendedHolds => C4::Context->preference('AutoResumeSuspendedHolds'),
(-)a/members/pay.pl (-2 / +2 lines)
Lines 94-100 if ($writeoff_all) { Link Here
94
    Koha::Account->new( { patron_id => $borrowernumber } )->pay(
94
    Koha::Account->new( { patron_id => $borrowernumber } )->pay(
95
        {
95
        {
96
            amount     => $amount,
96
            amount     => $amount,
97
            lines      => [Koha::Account::Lines->find($accountlines_id)],
97
            lines      => [ scalar Koha::Account::Lines->find($accountlines_id) ],
98
            type       => 'writeoff',
98
            type       => 'writeoff',
99
            note       => $payment_note,
99
            note       => $payment_note,
100
            library_id => $branch,
100
            library_id => $branch,
Lines 209-215 sub writeoff_all { Link Here
209
            Koha::Account->new( { patron_id => $borrowernumber } )->pay(
209
            Koha::Account->new( { patron_id => $borrowernumber } )->pay(
210
                {
210
                {
211
                    amount => $amount,
211
                    amount => $amount,
212
                    lines  => [ Koha::Account::Lines->find($accountlines_id) ],
212
                    lines  => [ scalar Koha::Account::Lines->find($accountlines_id) ],
213
                    type   => 'writeoff',
213
                    type   => 'writeoff',
214
                    note   => $payment_note,
214
                    note   => $payment_note,
215
                    library_id => $branch,
215
                    library_id => $branch,
(-)a/opac/opac-user.pl (-2 / +1 lines)
Lines 337-343 if ( C4::Context->preference('AllowPatronToSetCheckoutsVisibilityForGuarantor' Link Here
337
}
337
}
338
338
339
$template->param(
339
$template->param(
340
    borrower                 => Koha::Patrons->find($borrowernumber),
340
    borrower                 => scalar Koha::Patrons->find($borrowernumber),
341
    patron_messages          => $patron_messages,
341
    patron_messages          => $patron_messages,
342
    opacnote                 => $borr->{opacnote},
342
    opacnote                 => $borr->{opacnote},
343
    patronupdate             => $patronupdate,
343
    patronupdate             => $patronupdate,
344
- 

Return to bug 18179