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

@@ -92,7 +92,7 @@ class IndexController extends Controller
$enrichment = new SubscriptionEnrichment();
$enrichment->setUser($admin);
$enrichment->setConvertToPrimary($this->convertToPrimary);
$enrichment->setPrimary($this->primaryCurrency);
$enrichment->setPrimaryCurrency($this->primaryCurrency);
$enrichment->setStart($tempStart);
$enrichment->setEnd($end);
$collection = $enrichment->enrich($collection);

View File

@@ -150,7 +150,7 @@ class ShowController extends Controller
$enrichment = new SubscriptionEnrichment();
$enrichment->setUser($admin);
$enrichment->setConvertToPrimary($this->convertToPrimary);
$enrichment->setPrimary($this->primaryCurrency);
$enrichment->setPrimaryCurrency($this->primaryCurrency);
$enrichment->setStart($start);
$enrichment->setEnd($end);
$bill = $enrichment->enrichSingle($bill);