@extends('layouts.prestataire') @section('title', 'Mes Factures & Relevés') @section('content')
{{-- Header --}}

📄 Factures & Relevés

Historique de vos ventes et commissions

Export CSV
{{-- Stats Cards --}}

Factures totales

{{ $stats['total_count'] }}

📋

CA Total

{{ number_format($stats['total_revenue'], 0, ',', ' ') }}€

💰

Commissions

{{ number_format($stats['total_commission'], 0, ',', ' ') }}€

📊

Net reçu

{{ number_format($stats['total_net'], 0, ',', ' ') }}€

{{-- Stats ce mois --}}

CA ce mois

{{ number_format($stats['this_month_revenue'], 0, ',', ' ') }}€

Net ce mois

{{ number_format($stats['this_month_net'], 0, ',', ' ') }}€

{{-- Filtres --}}
{{-- Liste --}} {{-- Pagination --}} @if($invoices->hasPages())
{{ $invoices->withQueryString()->links() }}
@endif
@endsection