Force gold accent color on invitation tickets, change header to 'Invitation'

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Serreau Jovann
2026-03-21 19:18:58 +01:00
parent be630e1c67
commit a13ee33078

View File

@@ -4,7 +4,8 @@
<meta charset="UTF-8">
<title>{{ ticket.reference }} - {{ event.title }}</title>
<style>
{% set ac = design ? design.accentColor : '#4f46e5' %}
{% set is_inv = ticket.invitation ?? false %}
{% set ac = is_inv ? '#d4a017' : (design ? design.accentColor : '#4f46e5') %}
{% set inv_color = design ? design.invitationColor : '#d4a017' %}
{% set inv_title = design ? design.invitationTitle : 'Invitation' %}
@@ -255,7 +256,7 @@
<table class="header-table">
<tr>
<td>
<span class="header-org">Billet Entree — {{ event.title }}{{ ticket.billetName }}</span>
<span class="header-org">{{ is_inv ? 'Invitation' : 'Billet Entree' }}{{ event.title }}{{ ticket.billetName }}</span>
</td>
</tr>
</table>