mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-09-29 18:20:01 +00:00
Lots of todo's [skip ci]
This commit is contained in:
@@ -54,7 +54,7 @@ final class AmountLess extends AbstractTrigger implements TriggerInterface
|
||||
*/
|
||||
public function triggered(TransactionJournal $journal)
|
||||
{
|
||||
$amount = $journal->amount_positive;
|
||||
$amount = $journal->amount_positive; // TODO TransactionJournal cannot deliver "amount_positive".
|
||||
$compare = $this->triggerValue;
|
||||
$result = bccomp($amount, $compare, 4);
|
||||
if ($result === -1) {
|
||||
|
Reference in New Issue
Block a user