Bug 22435: Update for bug 27049

Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
This commit is contained in:
Martin Renvoize 2021-05-14 14:37:59 +01:00 committed by Jonathan Druart
parent dec9f754f8
commit 47c589bea1
1 changed files with 1 additions and 2 deletions

View File

@ -94,8 +94,7 @@ while ( my $line = $lines->next ) {
# Link writeoff to charge
$writeoff->apply(
{
debits => [$line],
offset_type => 'WRITEOFF'
debits => [$line]
}
);
$writeoff->status('APPLIED')->store();