Add invoice PDF generation, download, and email attachment

- InvoiceService: generates A4 invoice PDF with dompdf (organizer info,
  buyer info, event details, items table, totals, payment details)
- Route /ma-commande/{orderNumber}/{token}/facture to download invoice
- Invoice attached to confirmation email alongside ticket PDFs
- /mon-compte factures tab: list paid orders with download button
- /mon-compte achats tab: add facture download button
- /ma-commande public page: add facture download button
- Confirmation page: add facture download button

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Serreau Jovann
2026-03-21 17:08:26 +01:00
parent c6fd76da28
commit dfeed0ab5e
9 changed files with 285 additions and 6 deletions

View File

@@ -38,6 +38,7 @@
<file>src/Service/StripeService.php</file>
<file>src/Service/PayoutPdfService.php</file>
<file>src/Service/BilletOrderService.php</file>
<file>src/Service/InvoiceService.php</file>
</exclude>
<deprecationTrigger>