mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-09-23 14:26:58 +00:00
Add comment [skip ci]
This commit is contained in:
@@ -49,6 +49,13 @@ class Support
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
* This method removes transactions from the collection based on the amount and the opposing account. Usually
|
||||||
|
* this is used to filter double entries (both sides of a journal get included)
|
||||||
|
*
|
||||||
|
* - Opposing account is in $accounts. This usually indicates a transfer and should not be included.
|
||||||
|
* - Amount is less or more than zero. If the modifier is -1, only the positive amount remains, emphasising
|
||||||
|
* deposits. If the modifier is +1, only the negative ones remain, emphasising withdrawals.
|
||||||
|
*
|
||||||
* @param Collection $collection
|
* @param Collection $collection
|
||||||
* @param array $accounts
|
* @param array $accounts
|
||||||
* @param int $modifier
|
* @param int $modifier
|
||||||
|
Reference in New Issue
Block a user