@forelse($est->files as $file)
@php
$year = !empty($file->fecha)
? \Carbon\Carbon::parse($file->fecha)->format('Y')
: \Carbon\Carbon::parse($cita->fecha)->format('Y');
@endphp
Ver archivo
@empty
Sin archivos para este estudio.
@endforelse
{{ $est->plantilla_texto }}