mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-12 23:45:10 +00:00
This commit is contained in:
@@ -832,4 +832,13 @@ class GroupCollector implements GroupCollectorInterface
|
||||
|
||||
return $array;
|
||||
}
|
||||
|
||||
/**
|
||||
* @inheritDoc
|
||||
*/
|
||||
public function isReconciled(): GroupCollectorInterface
|
||||
{
|
||||
$this->query->where('source.reconciled', 1)->where('destination.reconciled', 1);
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
|
@@ -48,6 +48,14 @@ interface GroupCollectorInterface
|
||||
*/
|
||||
public function amountIs(string $amount): GroupCollectorInterface;
|
||||
|
||||
|
||||
/**
|
||||
* Only journals that are reconciled.
|
||||
*
|
||||
* @return GroupCollectorInterface
|
||||
*/
|
||||
public function isReconciled(): GroupCollectorInterface;
|
||||
|
||||
/**
|
||||
* Get transactions where the amount is less than.
|
||||
*
|
||||
|
Reference in New Issue
Block a user