mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-22 12:11:19 +00:00
Continued working on category controller [skip ci]
This commit is contained in:
@@ -29,4 +29,9 @@ class Category extends Component
|
||||
'class' => 'Category'
|
||||
];
|
||||
protected $isSubclass = true;
|
||||
|
||||
public function transactionjournals()
|
||||
{
|
||||
return $this->belongsToMany('TransactionJournal', 'component_transaction_journal', 'component_id');
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user