{% extends 'base.html.twig' %} {% block title %}Administration PayPal - AEF{% endblock %} {% block body %}

Administration PayPal

Retour Dashboard Webhooks

{{ stats.total_payments }}

Paiements total

{{ (stats.total_amount)|number_format(0, ',', ' ') }}€

Montant total

{{ stats.pending_payments }}

En attente

{{ stats.failed_payments }}

Échoués

Évolution des revenus PayPal (12 derniers mois)
Répartition par statut
Paiements PayPal ({{ payments|length }})
{% if payments|length > 0 %}
{% for payment in payments %} {% endfor %}
ID PayPal Objet Acheteur Vendeur Montant Statut Date Actions
{{ payment.paypalPaymentId }}
{% if payment.paypalOrderId %}
Commande: {{ payment.paypalOrderId }}
{% endif %}
{% if payment.item %}
{% if payment.item.images|length > 0 %} {{ payment.item.title }} {% endif %}
{{ payment.item.title }}
{{ payment.item.category.name ?? 'Non classé' }}
{% else %} Objet supprimé {% endif %}
{{ payment.buyerName }}
{{ payment.buyerEmail }}
{% if payment.seller %}
{{ payment.seller.fullName }}
{{ payment.seller.email }} {% else %} Vendeur supprimé {% endif %}
{{ payment.amount|number_format(2, ',', ' ') }}€
{% if payment.fee %} Frais: {{ payment.fee|number_format(2, ',', ' ') }}€ {% endif %}
{% set status_class = { 'completed': 'bg-success', 'pending': 'bg-warning', 'failed': 'bg-danger', 'cancelled': 'bg-secondary', 'refunded': 'bg-info' } %} {{ payment.status|trans }} {% if payment.failureReason %}
{{ payment.failureReason }}
{% endif %}
{{ payment.createdAt|date('d/m/Y H:i') }}
{% if payment.completedAt %}
Complété: {{ payment.completedAt|date('d/m/Y H:i') }}
{% endif %}
{% if payment.status == 'pending' %} {% endif %} {% if payment.status == 'completed' %} {% endif %}
{% if pagination %} {% endif %} {% else %}
Aucun paiement PayPal trouvé

Les paiements PayPal apparaîtront ici une fois effectués.

{% endif %}
{% endblock %}