mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-11-08 18:58:07 +00:00
Better user group management and object observers
This commit is contained in:
@@ -201,6 +201,14 @@ class TransactionJournal extends Model
|
||||
return $this->morphMany(Attachment::class, 'attachable');
|
||||
}
|
||||
|
||||
/**
|
||||
* @return MorphMany
|
||||
*/
|
||||
public function auditLogEntries(): MorphMany
|
||||
{
|
||||
return $this->morphMany(AuditLogEntry::class, 'auditable');
|
||||
}
|
||||
|
||||
/**
|
||||
* @return BelongsTo
|
||||
*/
|
||||
@@ -254,7 +262,7 @@ class TransactionJournal extends Model
|
||||
}
|
||||
|
||||
/**
|
||||
* Get all of the notes.
|
||||
* Get all the notes.
|
||||
*/
|
||||
public function notes(): MorphMany
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user