-
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
sources/AppBundle/Controller/Admin/Accounting/Journal/ExportAction.php
Outdated
Show resolved
Hide resolved
de24339 to
62406e2
Compare
| @@ -0,0 +1,3 @@ | |||
| Date;Compte;Événement;Catégorie;Description;Débit;Crédit;Règlement;Commentaire;Justificatif;"Nom justificatif";"Montant HT";TVA;"Montant HT non soumis à TVA";"Montant HT soumis à TVA 5,5";"TVA 5,5";"Montant HT soumis à TVA 10";"TVA 10";"Montant HT soumis à TVA 20";"TVA 20";"Zone de TVA" | |||
| 2026-01-01;"Compte courant";AG;"A déterminer";"Description dépense 001";-12001.00;;;;Non;;0.00;0.000;;;;;;;;"Non définie" | |||
| 2026-01-02;"Compte courant";AG;"A déterminer";"Description recette 001";;12002.00;;;Non;;0.00;0.000;;;;;;;;"Non définie" | |||
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.
J'ai fait une comparaison d'un export de prod et avec ta branche sur les mêmes données et y'a quelques différences qui pourraient avoir de l'impact :
- colonnes Débit et Crédit qui changent de format de décimale :
-0,26=>-0.26 - colonnes Débit et Crédit qui avaient un espace insécable pour les milliers :
-4 872,00=>-4872.00(et pas juste un espace simple) - certains montants float perdent en précision :
1.50=>1.5 - certains montants in perdent en précision :
125.00=>125
Je ne sais pas si le cabinet comptable a besoin de ces formats exacts mais dans le doute faudrait les garder je pense.
Ce serait bien d'ajouter une ligne dans ce fichier de test avec toutes les colonnes renseignées, comme ça on se sécurise l'export au max.
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.
certains montants float perdent en précision : 1.50 => 1.5
certains montants in perdent en précision : 125.00 => 125
Ces montants correspondent à quelles colonnes ?
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.
@Mopolo J'ai rajouté la validation du csv, ainsi qu'une version avec les entrées déjà pointées qui contient une ligne avec toutes les colonnes numériques remplies.
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.
Impec, je viens de refaire un test et les fichiers sont identiques entre ta branche et master.
Du coup tu peux conserver les fichiers de test que tu as créés.
1b4b91d to
c779d17
Compare
sources/AppBundle/Controller/Admin/Accounting/Journal/ExportAction.php
Outdated
Show resolved
Hide resolved
9138c87 to
65f2d6c
Compare
65f2d6c to
b72b38d
Compare
fix #2074