mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-01-15 19:22:08 -06:00
Removed "source_account" attribute.
This commit is contained in:
parent
beb301e781
commit
556e9f1df7
@ -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
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user