@extends('layouts.app') @section('title', 'Mon profil') @section('content') @php $pct = (int) ($completion['percent'] ?? 0); $missing = array_slice($completion['missing'] ?? [], 0, 3); $isPremium = $user->isPremium(); $initials = \Illuminate\Support\Str::of($user->name)->explode(' ')->filter()->take(2)->map(fn ($w) => mb_strtoupper(mb_substr($w, 0, 1)))->implode(''); $typeWord = $user->account_type === 'client' ? 'Recruteur' : 'Candidat'; @endphp
Votre profil est complet.
@endifQue faire maintenant ?
Premium actif
Valable jusqu'au {{ $user->premium_until->locale('fr')->translatedFormat('d F Y') }}.
Prolonger mon abonnement → @elseCompte simple
Passez en Premium pour voir le détail des missions et répondre aux clients.
Découvrir Premium @endif @if ($payments->isNotEmpty()) @php $last = $payments->first(); @endphpDernier paiement : {{ $last->amountLabel() }}, {{ $last->created_at->format('d/m/Y') }} · {{ ['pending' => 'En attente', 'paid' => 'Payé', 'failed' => 'Non réussi', 'cancelled' => 'Annulé', 'refunded' => 'Remboursé'][$last->status] ?? $last->status }}
@endif{{ $referral['validated'] }} ami{{ $referral['validated'] > 1 ? 's' : '' }} inscrit{{ $referral['validated'] > 1 ? 's' : '' }} grâce à vous.