Introduce new model for future remodeling of split transactions.

This commit is contained in:
James Cole
2019-01-28 20:00:40 +01:00
parent 195fba5931
commit 894b48df8e
5 changed files with 181 additions and 4 deletions

View File

@@ -186,6 +186,15 @@ class TransactionJournal extends Model
return $this->belongsToMany(Category::class);
}
/**
* @codeCoverageIgnore
* @return BelongsToMany
*/
public function transactionGroups(): BelongsToMany
{
return $this->belongsToMany(Category::class);
}
/**
* @codeCoverageIgnore
*