@php
$filePath = storage_path('app/public/uploads/' . $applicationInfo->photo);
@endphp
@if (file_exists($filePath) && $applicationInfo->photo)
@if (pathinfo($applicationInfo->photo, PATHINFO_EXTENSION) == 'pdf')
@else
@endif
@else
Aucune photo disponible.
@endif
@php
$filePath = storage_path('app/public/uploads/' . $applicationInfo->copy_baccalaureat_attestation_reussite);
@endphp
@if (file_exists($filePath) && $applicationInfo->copy_baccalaureat_attestation_reussite)
@if (pathinfo($applicationInfo->copy_baccalaureat_attestation_reussite, PATHINFO_EXTENSION) == 'pdf')
@else
@endif
@else
Aucun document disponible.
@endif