Expand piggy bank enrichment.

This commit is contained in:
James Cole
2025-08-06 09:15:54 +02:00
parent c8c552602e
commit d4ab69ebe6
7 changed files with 336 additions and 70 deletions

View File

@@ -91,6 +91,7 @@ class PiggyBankEventEnrichment implements EnrichmentInterface
}
// get account currency preference for ALL.
// TODO This method does a find in a loop.
$set = AccountMeta::whereIn('account_id', array_values($this->accountIds))->where('name', 'currency_id')->get();
/** @var AccountMeta $item */
foreach ($set as $item) {