Skip to content

Conversation

@vgreb
Copy link
Collaborator

@vgreb vgreb commented Jan 1, 2026

fix #2074

@vgreb vgreb force-pushed the refacto/accounting-journal-export branch 2 times, most recently from 4f0ac3b to 34bbce0 Compare January 5, 2026 12:43
@vgreb vgreb self-assigned this Jan 5, 2026
@vgreb vgreb force-pushed the refacto/accounting-journal-export branch from 34bbce0 to d18ddfa Compare January 5, 2026 13:13
@vgreb vgreb requested review from Mopolo and stakovicz and removed request for Mopolo January 5, 2026 15:43
@Mopolo
Copy link
Contributor

Mopolo commented Jan 5, 2026

ℹ️ On s'en sert beaucoup à la tréso donc je vais faire un test avec des données de prod.

@vgreb vgreb force-pushed the refacto/accounting-journal-export branch 2 times, most recently from 789ba90 to 4d4d104 Compare January 10, 2026 22:05
public function __invoke(Request $request): Response
{
$periodId = $request->query->has('periodId') && !empty($request->query->get('periodId')) ? $request->query->getInt('periodId') : null;
$alsoDisplayClassifed = $request->query->getBoolean('alsoClassified');
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Dans le template c'est also_display_classifed_entries le paramètre donc ça ne va pas fonctionner.

J'en profite pour proposer de renommer ce paramètre en with_reconciled pour être plus exact en anglais. (dans ce controller uniquement, pas besoin de toucher aux variables dans les anciennes pages).

# Export Excel
When I follow "Exporter la période en CSV"
Then the response header "Content-disposition" should match '#^attachment; filename="AFUP_(.*)_journal_from(.*).csv"#'
Then the response header "content-disposition" should match '#^attachment; filename=AFUP_(.*)_journal_from(.*).csv#'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Est-ce que tu peux ajouter une assertion sur le contenu du fichier ?

On a déjà une phrase qui le fait, check dans tests/behat/features/Admin/Events/Conferences.feature

@vgreb vgreb force-pushed the refacto/accounting-journal-export branch from 4d4d104 to 46a09a1 Compare January 10, 2026 23:30
@vgreb vgreb force-pushed the refacto/accounting-journal-export branch from 46a09a1 to de24339 Compare January 10, 2026 23:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Refonte - Trésorerie > Journal > Export

3 participants