diff --git a/lib/Pear/LocalLoop/Controller/Api/Upload.pm b/lib/Pear/LocalLoop/Controller/Api/Upload.pm index 56f5ca6..e303126 100644 --- a/lib/Pear/LocalLoop/Controller/Api/Upload.pm +++ b/lib/Pear/LocalLoop/Controller/Api/Upload.pm @@ -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, }); diff --git a/templates/admin/transactions/read.html.ep b/templates/admin/transactions/read.html.ep index 3782905..0b180ae 100644 --- a/templates/admin/transactions/read.html.ep +++ b/templates/admin/transactions/read.html.ep @@ -23,23 +23,27 @@
- +
- +
- +
- + + +
+
+
- +