mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-17 01:42:19 +00:00
Removed "destination_account"
This commit is contained in:
@@ -112,17 +112,7 @@ 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