-
Notifications
You must be signed in to change notification settings - Fork 66
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
Fiscalisation : ajout d'un mécanisme de règles pour appliquer la TVA lors de l'import #1428
Closed
Tracked by
#1339
Comments
28 tasks
stakovicz
added a commit
to stakovicz/web
that referenced
this issue
Jan 20, 2024
stakovicz
added a commit
to stakovicz/web
that referenced
this issue
Jan 20, 2024
stakovicz
added a commit
to stakovicz/web
that referenced
this issue
Jan 21, 2024
stakovicz
added a commit
to stakovicz/web
that referenced
this issue
Jan 21, 2024
stakovicz
added a commit
to stakovicz/web
that referenced
this issue
Jan 22, 2024
stakovicz
added a commit
to stakovicz/web
that referenced
this issue
Jan 22, 2024
stakovicz
added a commit
to stakovicz/web
that referenced
this issue
Jan 22, 2024
stakovicz
added a commit
to stakovicz/web
that referenced
this issue
Feb 4, 2024
agallou
added a commit
that referenced
this issue
Feb 25, 2024
dans le cadre de l'issue #1428 on ajoute un cas de test sur l'import de fichier.
stakovicz
added a commit
to stakovicz/web
that referenced
this issue
Mar 3, 2024
stakovicz
added a commit
to stakovicz/web
that referenced
this issue
Mar 3, 2024
stakovicz
added a commit
to stakovicz/web
that referenced
this issue
Mar 3, 2024
stakovicz
added a commit
to stakovicz/web
that referenced
this issue
Mar 3, 2024
stakovicz
added a commit
to stakovicz/web
that referenced
this issue
Mar 3, 2024
stakovicz
added a commit
to stakovicz/web
that referenced
this issue
Mar 3, 2024
L'issue a été traitée dans cette PR : #1430 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Ajouter l'item de menu "Configuration" de la partie trésorerie de l'admin, ajouter un onglet "Règles"
Proposition de nouvelle table "compta_rules" :
Mettre en place le CRUD pour gérer ces règles.
Ensuite lors de l'import de fichier :
web/sources/Afup/Comptabilite/Comptabilite.php
Line 1044 in 1161dfe
Lire ces règles et si la description correspond à la condition, calculer le montant HT et le mettre dans le bon champ de montant hors texte. Ne faire cet ajout que si l'entrée est nouvelle.
Partir du montant TTC qui est importé, et si on a une valeur dans VAT utiliser ce taux de TVA pour calculer le montant HT, et selon la valeur mettre le montant HT dans le bon champ c'est à dire :
La priorité est surtout sur l'application des règles pour la TVA mais plus tard on pourra voir pour gérer les catégorie/événement/fichier requis (et passer les règles en dur en base).
The text was updated successfully, but these errors were encountered: