@@ -, +, @@ --- misc/cronjobs/writeoff_debts.pl | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) --- a/misc/cronjobs/writeoff_debts.pl +++ a/misc/cronjobs/writeoff_debts.pl @@ -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(); --