mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-16 09:22:33 +00:00
Removed "source_account" attribute.
This commit is contained in:
@@ -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
|
||||
*/
|
||||
|
Reference in New Issue
Block a user