-
Notifications
You must be signed in to change notification settings - Fork 71
Refonte - Trésorerie - Journal - Export #2077
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
4f0ac3b to
34bbce0
Compare
34bbce0 to
d18ddfa
Compare
|
ℹ️ On s'en sert beaucoup à la tréso donc je vais faire un test avec des données de prod. |
789ba90 to
4d4d104
Compare
| 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'); |
There was a problem hiding this comment.
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#' |
There was a problem hiding this comment.
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
4d4d104 to
46a09a1
Compare
46a09a1 to
de24339
Compare
fix #2074