mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-18 02:03:40 +00:00
Removed "destination_account"
This commit is contained in:
@@ -113,16 +113,6 @@ class TransactionJournal extends Model
|
|||||||
return $value;
|
return $value;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* @return Account
|
|
||||||
*/
|
|
||||||
public function getDestinationAccountAttribute()
|
|
||||||
{
|
|
||||||
$account = $this->transactions()->where('amount', '>', 0)->first()->account;
|
|
||||||
|
|
||||||
return $account;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @param string $fieldName
|
* @param string $fieldName
|
||||||
|
Reference in New Issue
Block a user