{% extends 'base.html.twig' %} {% block title %}Admin Tarification | CARTECADEAU{% endblock %} {% block body %}

Back-office Admin

Parametrage Tarification

Configurez la devise, la source du taux, le taux manuel et la commission sans modifier les fichiers d'environnement.

Contexte applique actuellement

Base: {{ pricingContext.baseCurrency }} | Affichee: {{ pricingContext.displayCurrency }}

Taux: {{ pricingContext.exchangeRate|number_format(6, '.', ' ') }} | Source: {{ pricingContext.rateSource }}

Commission: {{ pricingContext.commissionPercent|number_format(2, ',', ' ') }}%

Reglages

{{ form_start(form, {'attr': {'class': 'stack-form'}}) }} {{ form_row(form.baseCurrency) }} {{ form_row(form.displayCurrency) }} {{ form_row(form.autoUpdateRate) }} {{ form_row(form.manualRate) }} {{ form_row(form.commissionPercent) }} {{ form_row(form.exchangeRateApiUrl) }} {{ form_end(form) }}

Historique des modifications

{% for event in history %} {% else %} {% endfor %}
Date Admin Avant Apres
{{ event.createdAt ? event.createdAt|date('Y-m-d H:i') : '-' }} {{ event.adminEmail }}
{{ event.oldValues|json_encode(constant('JSON_PRETTY_PRINT')) }}
{{ event.newValues|json_encode(constant('JSON_PRETTY_PRINT')) }}
Aucune modification enregistree.
{% endblock %}