mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-02-25 18:45:27 -06:00
Actually use journal [skip ci]
This commit is contained in:
parent
cc1439fb7b
commit
018941c5b3
@ -43,8 +43,6 @@ class ImportStorage
|
|||||||
private $objects;
|
private $objects;
|
||||||
/** @var Collection */
|
/** @var Collection */
|
||||||
private $rules;
|
private $rules;
|
||||||
/** @var TagRepositoryInterface */
|
|
||||||
private $tagRepository;
|
|
||||||
|
|
||||||
/** @var array */
|
/** @var array */
|
||||||
private $transfers = [];
|
private $transfers = [];
|
||||||
|
@ -47,7 +47,7 @@ trait ImportSupport
|
|||||||
{
|
{
|
||||||
if ($this->rules->count() > 0) {
|
if ($this->rules->count() > 0) {
|
||||||
$this->rules->each(
|
$this->rules->each(
|
||||||
function (Rule $rule) {
|
function (Rule $rule) use($journal) {
|
||||||
Log::debug(sprintf('Going to apply rule #%d to journal %d.', $rule->id, $journal->id));
|
Log::debug(sprintf('Going to apply rule #%d to journal %d.', $rule->id, $journal->id));
|
||||||
$processor = Processor::make($rule);
|
$processor = Processor::make($rule);
|
||||||
$processor->handleTransactionJournal($journal);
|
$processor->handleTransactionJournal($journal);
|
||||||
|
Loading…
Reference in New Issue
Block a user