More code.

This commit is contained in:
James Cole
2015-02-07 13:15:40 +01:00
parent 07ad43f7a2
commit 6b54ef8398
23 changed files with 239 additions and 207 deletions

View File

@@ -10,12 +10,13 @@ class Transaction extends Model
return $this->belongsTo('FireflyIII\Models\Account');
}
public function getDates()
{
return ['created_at', 'updated_at', 'deleted_at'];
}
public function transactionJournal()
{
return $this->belongsTo('FireflyIII\Models\TransactionJournal');
}
public function getDates()
{
return ['created_at', 'updated_at','deleted_at'];
}
}