Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 3 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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
```
29 changes: 29 additions & 0 deletions public/images/logo-fortuneo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions public/styles/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
25 changes: 25 additions & 0 deletions src/Services/FileParser/FortuneoAccountStatementParser.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
<?php

namespace App\Services\FileParser;

use App\Services\FileParser\Traits\PdfFileParserTrait;

class FortuneoAccountStatementParser extends AbstractAccountStatementParser
{
use PdfFileParserTrait;

public function getName(): string
{
return 'fortuneo';
}

public function getLabel(): string
{
return 'Fortuneo account statement';
}

public function extractsAccountsFromFile(): bool
{
return true;
}
}
20 changes: 20 additions & 0 deletions translations/messages.en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,23 @@ saved: saved
Could not save the sub category: Could not save the sub category
A sub category is required: A sub category is required
Invalid security token, please reload the page: Invalid security token, please reload the page
Import transactions: Import transactions
Transactions: Transactions
Import from a file: Import from a file
Export to elasticsearch: Export to elasticsearch
Csv export: Csv export
Categorize from rules: Categorize from rules
Sub categories rules: Sub categories rules
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
Crédit Mutuel account statement: Crédit Mutuel account statement
Fortuneo account statement: Fortuneo account statement
N26 account statement: N26 account statement
NBC chequing or savings account csv file: NBC chequing or savings account csv file
NBC credit account csv file: NBC credit account csv file
3 changes: 2 additions & 1 deletion translations/messages.fr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -34,6 +34,7 @@ Created at: Créé le
CSV file: Fichier CSV
Caisse d'épargne account statement: relevé de compte de la Caisse d'Épargne
Crédit Mutuel account statement: relevé de compte du Crédit Mutuel
Fortuneo account statement: relevé de compte Fortuneo
N26 account statement: relevé de compte N26
NBC chequing or savings account csv file: fichier CSV NBC du compte chèque ou savings
NBC credit account csv file: fichier CSV NBC du compte crédit
Expand Down
Loading