mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-17 09:51:40 +00:00
Some new code, transaction groups among them.
This commit is contained in:
@@ -71,7 +71,6 @@ class TransactionJournal extends Ardent
|
||||
'date' => 'required|date',
|
||||
'completed' => 'required|between:0,1'];
|
||||
|
||||
|
||||
/**
|
||||
* @return \Illuminate\Database\Eloquent\Relations\BelongsToMany
|
||||
*/
|
||||
@@ -278,4 +277,9 @@ class TransactionJournal extends Ardent
|
||||
return $this->belongsTo('User');
|
||||
}
|
||||
|
||||
public function transactiongroups()
|
||||
{
|
||||
return $this->belongsToMany('TransactionGroup');
|
||||
}
|
||||
|
||||
}
|
Reference in New Issue
Block a user