Fixed upload and added category read to transaction
This commit is contained in:
parent
4e9312148c
commit
670d770d84
2 changed files with 10 additions and 6 deletions
|
@ -209,7 +209,7 @@ sub post_upload {
|
|||
}
|
||||
|
||||
if ( defined $category ) {
|
||||
my $c->schema->resultset('TransactionCategory')->create({
|
||||
$c->schema->resultset('TransactionCategory')->create({
|
||||
category_id => $category,
|
||||
transaction_id => $new_transaction->id,
|
||||
});
|
||||
|
|
Reference in a new issue