mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2026-05-04 05:06:37 +00:00
Fix factory and triggers.
This commit is contained in:
@@ -55,7 +55,7 @@ class AmountExactly extends AbstractTrigger implements TriggerInterface
|
||||
public function triggered(TransactionJournal $journal)
|
||||
{
|
||||
$amount = $journal->amount_positive;
|
||||
$compare = $this->trigger->trigger_value;
|
||||
$compare = $this->triggerValue;
|
||||
$result = bccomp($amount, $compare, 4);
|
||||
if ($result === 0) {
|
||||
// found something
|
||||
|
||||
Reference in New Issue
Block a user