# Insert the account line
$line = Koha::Account::Line->new(
{ borrowernumber => $self->{patron_id},
+ accountno => $accountno,
date => \'NOW()',
amount => $amount,
description => $description,
payment_type => $payment_type,
note => $note,
manager_id => $user_id,
- itemnumber => $item_id
+ branchcode => $library_id,
+ itemnumber => $item_id,
+ lastincrement => undef,
}
)->store();
note => $note,
itemnumber => $item_id,
manager_id => $user_id,
+ branchcode => $library_id,
}
)
);