Remove support for unbalanced transaction, release v7.0.0

This commit is contained in:
Juerd Waalboer 2024-11-17 01:13:01 +01:00
parent 7990c43371
commit a303cad131
4 changed files with 37 additions and 29 deletions

View file

@ -52,7 +52,6 @@ sub undo :Tab(&tab) ($self, $cart, $tid, @) {
my (undef, $user, $delta) = split " ", $line;
$entry ||= $cart->add(0, $description, { undo_transaction_id => $tid });
$entry->{FORCE_UNBALANCED} = 1;
$entry->add_contra($user, $delta, "Undo $tid");
}