Removed "destination_account"

This commit is contained in:
James Cole 2016-03-02 11:54:03 +01:00
parent 056c809754
commit beb301e781

View File

@ -112,17 +112,7 @@ class TransactionJournal extends Model
return $value;
}
/**
* @return Account
*/
public function getDestinationAccountAttribute()
{
$account = $this->transactions()->where('amount', '>', 0)->first()->account;
return $account;
}
/**
*
* @param string $fieldName