# HouseboundModule data
$template->param(
- housebound_role => scalar Koha::Patron::HouseboundRoles->find($borrowernumber),
+ housebound_role => Koha::Patron::HouseboundRoles->find($borrowernumber),
);
if(defined($data{'flags'})){
is_child => ($category_type eq 'C'),
samebranch => $samebranch,
quickslip => $quickslip,
- housebound_role => scalar $patron->housebound_role,
+ housebound_role => $patron->housebound_role,
privacy_guarantor_checkouts => $data->{'privacy_guarantor_checkouts'},
AutoResumeSuspendedHolds => C4::Context->preference('AutoResumeSuspendedHolds'),
SuspendHoldsIntranet => C4::Context->preference('SuspendHoldsIntranet'),
Koha::Account->new( { patron_id => $borrowernumber } )->pay(
{
amount => $amount,
- lines => [ scalar Koha::Account::Lines->find($accountlines_id) ],
+ lines => [Koha::Account::Lines->find($accountlines_id)],
type => 'writeoff',
note => $payment_note,
library_id => $branch,
Koha::Account->new( { patron_id => $borrowernumber } )->pay(
{
amount => $amount,
- lines => [ scalar Koha::Account::Lines->find($accountlines_id) ],
+ lines => [ Koha::Account::Lines->find($accountlines_id) ],
type => 'writeoff',
note => $payment_note,
library_id => $branch,
}
$template->param(
- borrower => scalar Koha::Patrons->find($borrowernumber),
+ borrower => Koha::Patrons->find($borrowernumber),
patron_messages => $patron_messages,
opacnote => $borr->{opacnote},
patronupdate => $patronupdate,