@extends('layouts.base') @section('menu') @include('admin.menu') @endsection @section('content')

Détails de la demande d'inscription

@if(session('success'))
{{ session('success') }}
@endif

Nom : {{ $user->name }}

Prénoms : {{ $user->surname }}

Téléphone :{{ $user->code_pays . " " . $user->phone }}

Email : {{ $user->email }}

Date de naissance :{{ \Carbon\Carbon::createFromFormat('Y-m-d', $user->birthday)->format('d-m-Y') }}

Sexe : {{$user->sexe}}

Nationnalité : {{$user->nationalite}}

Statut de la validation d'inscription: {{ ucfirst($user->status) }}

Date de l'inscription : {{ (new \DateTime($user->created_at))->format('d/m/Y') }}

{{--

Année academique : 2020-2023

--}}

Filière : {{$filiere}}

Niveau de formation : {{$niveau}}

Statut : {{$statut}}

Lieu de naissance :{{ $user->birthplace }}

Pièce jointe :

@if($user->attachment) @if(in_array(pathinfo($user->attachment, PATHINFO_EXTENSION), ['jpg', 'jpeg', 'png', 'gif'])) Attachment
Télécharger l'image @endif @if(pathinfo($user->attachment, PATHINFO_EXTENSION) == 'pdf')
{{-- --}} Télécharger le PDF @endif @if(in_array(pathinfo($user->attachment, PATHINFO_EXTENSION), ['docx', 'xlsx', 'pptx']))

Ce fichier ne peut pas être prévisualisé.

Télécharger pour voir @endif @else

Aucune pièce jointe

@endif
@if($user->status === 'en attente')
@else @endif
@endsection