Fixed upload and added category read to transaction
This commit is contained in:
parent
c4f68332b9
commit
1f70f9b40a
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