Skip to content

Commit

Permalink
work with foregin currency fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
Vitexus committed Dec 18, 2024
1 parent 9d741c3 commit 7f9c1e0
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 4 deletions.
11 changes: 9 additions & 2 deletions debian/changelog
Original file line number Diff line number Diff line change
@@ -1,8 +1,15 @@
pohoda-raiffeisenbank (1.2.0) UNRELEASED; urgency=medium
pohoda-raiffeisenbank (1.2.1) UNRELEASED; urgency=medium

* foregin currency use fix

-- vitex <info@vitexsoftware.cz> Wed, 18 Dec 2024 13:02:20 +0100

pohoda-raiffeisenbank (1.2.0) jammy; urgency=medium

[ vitezslav.dvorak@spojenet.cz ]
* ACCOUNT_CURRENCY support added

-- <vitezslav.dvorak@spojenet.cz> Thu, 12 Dec 2024 19:46:43 +0100
-- vitex <info@vitexsoftware.cz> Wed, 18 Dec 2024 13:01:26 +0100

pohoda-raiffeisenbank (1.1.3) jammy; urgency=medium

Expand Down
4 changes: 2 additions & 2 deletions src/Pohoda/RaiffeisenBank/Statementor.php
Original file line number Diff line number Diff line change
Expand Up @@ -105,12 +105,12 @@ public function getStatements(): array

public function download(string $format): array
{
return $this->obtainer->download($this->statementsDir, $this->getStatements(), $format);
return $this->obtainer->download($this->statementsDir, $this->getStatements(), $format, $this->currency);
}

public function downloadOne($statement, $format)
{
return $this->obtainer->download($this->statementsDir, [$statement], $format);
return $this->obtainer->download($this->statementsDir, [$statement], $format, $this->currency);
}

/**
Expand Down

0 comments on commit 7f9c1e0

Please sign in to comment.