Skip to content

Refonte - Évènements > Factures d'évènement#2211

Open
vgreb wants to merge 1 commit intoafup:masterfrom
vgreb:refacto/event-billing
Open

Refonte - Évènements > Factures d'évènement#2211
vgreb wants to merge 1 commit intoafup:masterfrom
vgreb:refacto/event-billing

Conversation

@vgreb
Copy link
Copy Markdown
Collaborator

@vgreb vgreb commented May 6, 2026

La MR intègre la refonte de la liste des facture d'évènements ainsi que les actions associées (téléchargement devis/facture, envoi d'une facture, suppression, etc)

Je n'ai pas repris le javascript de changement de date de facturation, celui-ci ne fonctionne pas depuis plusieurs années

@vgreb vgreb requested review from Mopolo, agallou and stakovicz as code owners May 6, 2026 22:34
@vgreb vgreb changed the title Refonte - Évènemnts > Factures d'évènement Refonte - Évènements > Factures d'évènement May 6, 2026
@vgreb vgreb force-pushed the refacto/event-billing branch from 5f877fe to 8022fc7 Compare May 7, 2026 05:21
@vgreb vgreb self-assigned this May 7, 2026
@vgreb
Copy link
Copy Markdown
Collaborator Author

vgreb commented May 7, 2026

/resolves #2211

Comment thread app/config/routing/admin_event.yml Outdated
Comment thread sources/AppBundle/Event/Model/Repository/EventRepository.php Outdated
Comment thread templates/admin/event/facturation/list.html.twig Outdated
Comment on lines +57 to +65
{% if invoice.invoice == 0 %}
A facturer
{% elseif invoice.invoice == 1 %}
Facturée
{% elseif invoice.invoice == 2 %}
Reçue
{% else %}
--
{% endif %}
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Je ne comprends pas ce bloc.

Dans l'entité c'est un bool, dans le repository aussi. Est-ce que c'est la bonne propriété ici ?

Et j'ai vérifié dans la base de prod, il n'y a que 0 et 1 comme valeurs dans la colonne.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Le template legacy utilise la colonne facturation qui correspond à la propriété invoice du modèle AppBundle\Event\Model\Invoice.

Je n'ai pas vérifié si template était cohérent avec chacune des valeur possibles de propriétés.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

J'ai remplacé par :

                        {% if invoice.invoice %}
                            Facturée
                        {% else %}
                            À facturer
                        {% endif %}

Comment thread templates/admin/event/facturation/list.html.twig Outdated
Comment thread templates/admin/event/facturation/list.html.twig Outdated
@vgreb vgreb force-pushed the refacto/event-billing branch from 8022fc7 to 21c59cd Compare May 7, 2026 16:11
Je n'ai pas repris le javascript de changement de date de facturation, celui-ci ne fonctionne pas depuis plusieurs années
@vgreb vgreb force-pushed the refacto/event-billing branch from 21c59cd to 92eeb01 Compare May 7, 2026 16:39
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.

2 participants