mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-03 03:00:14 +00:00
More code.
This commit is contained in:
@@ -5,6 +5,11 @@ use Illuminate\Database\Eloquent\Model;
|
||||
class TransactionGroup extends Model
|
||||
{
|
||||
|
||||
public function getDates()
|
||||
{
|
||||
return ['created_at', 'updated_at', 'deleted_at'];
|
||||
}
|
||||
|
||||
public function transactionjournals()
|
||||
{
|
||||
return $this->belongsToMany('FireflyIII\Models\TransactionJournal');
|
||||
@@ -14,9 +19,5 @@ class TransactionGroup extends Model
|
||||
{
|
||||
return $this->belongsTo('FireflyIII\User');
|
||||
}
|
||||
public function getDates()
|
||||
{
|
||||
return ['created_at', 'updated_at','deleted_at'];
|
||||
}
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user