More rule possibilities

This commit is contained in:
James Cole
2016-01-13 14:02:22 +01:00
parent 88bbafd3e8
commit a7a00ecf40
7 changed files with 152 additions and 5 deletions

View File

@@ -291,7 +291,7 @@ class TransactionJournal extends Model
public function getDestinationAccountAttribute()
{
$account = $this->transactions()->where('amount', '>', 0)->first()->account;
return $account;
}