Skip to content

Conversation

@vgreb
Copy link
Collaborator

@vgreb vgreb commented Jan 11, 2026

fixes #2107

@vgreb vgreb self-assigned this Jan 11, 2026
@vgreb vgreb force-pushed the refacto/accounting-journal-add-edit branch 3 times, most recently from 8d9992d to d23e6d7 Compare January 12, 2026 11:13
@vgreb vgreb requested review from Mopolo and stakovicz and removed request for stakovicz January 14, 2026 10:11
@vgreb vgreb force-pushed the refacto/accounting-journal-add-edit branch 2 times, most recently from e7d187e to 3efad79 Compare January 17, 2026 13:43
<label class="three wide column">
</label>
<div class="field seven wide column">
<a href="#" id="apply-vat-5-5">Calculer le montant HT soumis à TVA 5,5% sur la base de l'intégralité du montant TTC</a>
Copy link
Contributor

Choose a reason for hiding this comment

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

Ces boutons ne fonctionnent pas quand je checkout la branche. Au clic ça rajoute juste un # à l'url et remonte en haut de la page sans remplir le champ.

Je pense qu'il doit manquer l'inclusion d'un script dans cette nouvelle page.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Il manquait effectivement le javascript. je l'ai rajouté et adapté

@vgreb vgreb force-pushed the refacto/accounting-journal-add-edit branch from 3efad79 to bd5dcf0 Compare January 20, 2026 22:31
@vgreb vgreb requested a review from Mopolo January 21, 2026 09:52
Copy link
Contributor

Choose a reason for hiding this comment

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

C'est nécessaire d'avoir le .twig dans le nom du fichier ?

Et on n'a pas de linter pour le js mais est-ce que tu pourrais fixer l'indentation pour que ce soit un peu plus lisible 🙏

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

J'ai modifié l'indentation.
Concernant l'extension du fichier : \

  • soit le le conserve en .js.twig pour mutualiser au maximum
  • soit je le renomme en .js et devrais dupliquer les balises script dans les 2 templates add.html.twig et edit.html.twig pour éviter que les IDE remontent des erreurs de syntaxe.

@vgreb vgreb force-pushed the refacto/accounting-journal-add-edit branch from bd5dcf0 to 64946ed Compare January 21, 2026 20:06
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 > Ajout / Edition

2 participants