@extends('layouts.admin-modern') @section('title', 'Commissions - ' . ($ambassador->user->name ?? '')) @section('content')
| Date | Prestataire | Type | Transaction | Taux | Commission | Statut |
|---|---|---|---|---|---|---|
| {{ $c->created_at->format('d/m/Y H:i') }} | {{ $c->prestataire->company_name ?? 'N/A' }} | {{ ucfirst($c->order_type) }} | {{ number_format($c->base_amount, 2, ',', ' ') }}€ | {{ $c->commission_rate }}% | {{ number_format($c->commission_amount, 2, ',', ' ') }}€ | @if($c->status === 'paid') Payé @elseif($c->status === 'pending') En attente @elseif($c->status === 'cancelled') Annulé @else {{ ucfirst($c->status) }} @endif |
| Aucune commission. | ||||||