@extends('layouts.admin') @section('title', 'Paiements') @section('content')
Suivi des paiements Premium, paiements manuels et remboursements.
{{ number_format($stats['revenue_month'], 0, ',', ' ') }}
FCFA encaissés ce mois-ci
{{ number_format($stats['revenue_total'], 0, ',', ' ') }}
FCFA encaissés au total
{{ $stats['paid_month'] }}
Paiements ce mois-ci
{{ $stats['active_subscribers'] }}
Abonnés actifs
{{ $stats['expiring_7d'] }}
Abonnements qui expirent sous 7 j
{{ $stats['pending'] }}
En attente
{{ $stats['refunded'] }}
Remboursés
Pour un paiement hors ligne (espèces, virement). Le Premium est prolongé immédiatement.
Aucun paiement ne correspond à ces filtres.
@else| Date | Réf. | Client | Formule | Montant | Fournisseur | Statut | Actions |
|---|---|---|---|---|---|---|---|
| {{ $p->created_at->format('d/m/Y H:i') }} | PAY-{{ $p->id }}@if ($p->provider_ref) {{ \Illuminate\Support\Str::limit($p->provider_ref, 22) }}@endif |
{{ $p->user?->name ?? 'Compte supprimé' }} {{ $p->user?->phone }} |
{{ $plans[$p->plan]['label'] ?? $p->plan }} {{ $p->days }} jours |
{{ $p->amountLabel() }} | {{ $p->providerLabel() }} |
{{ \Illuminate\Support\Str::limit($p->note, 60) }} @endif |
@if ($p->status === 'pending')
@endif
@if ($p->status === 'paid')
Rembourser |