Removed "source_account" attribute.

This commit is contained in:
James Cole 2016-03-02 11:56:47 +01:00
parent beb301e781
commit 556e9f1df7

View File

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