-
Notifications
You must be signed in to change notification settings - Fork 71
Refonte - Trésorerie > Journal > Ajout/Edition #2108
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
8d9992d to
d23e6d7
Compare
sources/AppBundle/Accounting/Model/Repository/EventRepository.php
Outdated
Show resolved
Hide resolved
sources/AppBundle/Accounting/Model/Repository/TransactionRepository.php
Outdated
Show resolved
Hide resolved
sources/AppBundle/Controller/Admin/Accounting/Journal/EditTransactionAction.php
Outdated
Show resolved
Hide resolved
e7d187e to
3efad79
Compare
| <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> |
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.
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.
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.
Il manquait effectivement le javascript. je l'ai rajouté et adapté
3efad79 to
bd5dcf0
Compare
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.
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 🙏
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 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.
bd5dcf0 to
64946ed
Compare
fixes #2107