{# Section Licence e-commerce sur la fiche boutique (admin). Variables : company, license (nullable) #} {% set status_colors = { 'active': 'bg-green-100 text-green-800', 'suspended': 'bg-yellow-100 text-yellow-800', 'expired': 'bg-gray-100 text-gray-800', 'revoked': 'bg-red-100 text-red-800' } %} {% set status_labels = { 'active': 'Active', 'suspended': 'Suspendue', 'expired': 'Expirée', 'revoked': 'Révoquée' } %}

Licence e-commerce

{% if license %} {{ status_labels[license.status.value] }} {% endif %}
{% if license %}
Clé
{{ license.keyPrefix }}…
Plan
{{ license.plan }}
Offre
{{ license.offerLabel }}
Expiration
{{ license.expiresAt ? license.expiresAt|date('d/m/Y') : 'Perpétuelle' }}
Site lié
{{ license.siteUrl ?? '—' }}
{% else %}

Aucune licence de connecteur pour cette boutique.

Émettre une licence {% endif %}