Fix calls

This commit is contained in:
Sander Dorigo
2025-08-01 13:08:37 +02:00
parent cfb86c683e
commit 62d72516ba
19 changed files with 22 additions and 22 deletions

View File

@@ -177,7 +177,7 @@ class StandardMessageGenerator implements MessageGeneratorInterface
$accounts = $this->collectAccounts($model);
$enrichment = new AccountEnrichment();
$enrichment->setUser($model->user);
$enrichment->setPrimary(Amount::getPrimaryCurrencyByUserGroup($model->userGroup));
$enrichment->setPrimaryCurrency(Amount::getPrimaryCurrencyByUserGroup($model->userGroup));
$accounts = $enrichment->enrich($accounts);
foreach ($accounts as $account) {
$transformer = new AccountTransformer();