Bump to v3.4; make all transactions balanced using hidden accounts
See UPGRADING.md for details.
This commit is contained in:
parent
e3a04a0e36
commit
441bf05fde
14 changed files with 116 additions and 40 deletions
|
@ -66,11 +66,7 @@ sub checkout($self, $user) {
|
|||
return;
|
||||
}
|
||||
|
||||
if ($user =~ /^[-+]/) {
|
||||
# Hidden internal accounts
|
||||
my $canonical = RevBank::Users::parse_user($user);
|
||||
$user = $canonical // RevBank::Users::create($user);
|
||||
}
|
||||
$user = RevBank::Users::assert_user($user);
|
||||
|
||||
my $entries = $self->{entries};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue