From 4fb64680f6e154c5d0b4a1587865121e3f4397ab Mon Sep 17 00:00:00 2001 From: Baptiste Bouchereau Date: Wed, 2 Sep 2026 13:27:17 +0200 Subject: [PATCH 1/2] Add the Fortuneo parser --- README.md | 12 ++------ public/images/logo-fortuneo.svg | 29 +++++++++++++++++++ public/styles/main.css | 4 +++ .../FortuneoAccountStatementParser.php | 25 ++++++++++++++++ translations/messages.en.yml | 19 ++++++++++++ translations/messages.fr.yml | 1 + 6 files changed, 81 insertions(+), 9 deletions(-) create mode 100644 public/images/logo-fortuneo.svg create mode 100644 src/Services/FileParser/FortuneoAccountStatementParser.php diff --git a/README.md b/README.md index 25b91a6..755225d 100644 --- a/README.md +++ b/README.md @@ -55,10 +55,11 @@ Create new parsers ------------------ The current implementation can import transactions from account statements coming from the following banks: - * Crédit Mutuel: pdf statement + * Boursorama: pdf statement * Caisse d'épargne: pdf statement + * Crédit Mutuel: pdf statement + * Fortuneo: pdf statement * N26: pdf statement - * Boursorama: pdf statement * National Bank of Canada (Banque National du Canada): csv export Source code for these parsers can be found at https://github.com/Ovski4/account-statement-parsers. @@ -148,10 +149,3 @@ docker compose run --rm --no-deps -e RUN_MIGRATIONS=false php composer fix:style Individual checks are available as `composer lint:style`, `lint:stan`, `lint:yaml`, `lint:twig` and `lint:container`. The same checks run on every push through the `run-linters` workflow. VS Code users get these as tasks (`Tasks: Run Task`). - -Upgrade -------- - -``` -docker compose run php composer update "symfony/*" pagerfanta/doctrine-orm-adapter php-coveralls/php-coveralls doctrine/doctrine-fixtures-bundle dama/doctrine-test-bundle doctrine/orm babdev/pagerfanta-bundle phpstan/phpdoc-parser spiriitlabs/form-filter-bundle doctrine/doctrine-migrations-bundle doctrine/doctrine-bundle symfony/proxy-manager-bridge ramsey/uuid-doctrine cboden/ratchet phpunit/phpunit doctrine/annotations -W -``` \ No newline at end of file diff --git a/public/images/logo-fortuneo.svg b/public/images/logo-fortuneo.svg new file mode 100644 index 0000000..3a09b49 --- /dev/null +++ b/public/images/logo-fortuneo.svg @@ -0,0 +1,29 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/public/styles/main.css b/public/styles/main.css index c41305a..a9213c0 100644 --- a/public/styles/main.css +++ b/public/styles/main.css @@ -239,6 +239,10 @@ form#filter-form.large-filter-form .col-form-label { width: 170px; } +.parser-card .card-img-top.fortuneo { + height: 70px; +} + .parser-card .card-img-top.credit-mutuel { height: 100px; width: 250px; diff --git a/src/Services/FileParser/FortuneoAccountStatementParser.php b/src/Services/FileParser/FortuneoAccountStatementParser.php new file mode 100644 index 0000000..723be16 --- /dev/null +++ b/src/Services/FileParser/FortuneoAccountStatementParser.php @@ -0,0 +1,25 @@ + Date: Wed, 2 Sep 2026 13:28:24 +0200 Subject: [PATCH 2/2] Add missing translations --- translations/messages.en.yml | 1 + translations/messages.fr.yml | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/translations/messages.en.yml b/translations/messages.en.yml index 060c8ba..d5826ee 100644 --- a/translations/messages.en.yml +++ b/translations/messages.en.yml @@ -27,6 +27,7 @@ Categories: Categories Tags: Tags Accounts: Accounts Import: Import +From a: From a from a: from a Boursorama account statement: Boursorama account statement Caisse d'épargne account statement: Caisse d'épargne account statement diff --git a/translations/messages.fr.yml b/translations/messages.fr.yml index 496d642..7fd69a5 100644 --- a/translations/messages.fr.yml +++ b/translations/messages.fr.yml @@ -13,7 +13,7 @@ Are you sure you want to save all transactions, even with duplicated records?: Balance: Balance Bank: Banque Back to the category list: Revenir à la liste des catégories -Boursorama account statement: relevé de compte Boursorama +Boursorama account statement: relevé de compte Boursorama Categorized: Catégorisé Category list: Liste des Catégories Categorizing: Catégorisation en cours