@extends('layouts.horizontal', ['title' => 'Archivos del Paciente']) @section('content')
@if (session('ok')) @endif @include('layouts.partials.page-title', [ 'subtitle' => 'Historial', 'title' => 'Estudios de ' . ($paciente->nombre . ' ' . $paciente->apPaterno . ' ' . $paciente->apMaterno) ]) @if($paciente->notificacion == 1)
Notificación pendiente
Este paciente tiene resultados listos para enviar por WhatsApp.
@csrf
@endif @if (session('success'))
{{ session('success') }}
@endif
@foreach($estudios as $est)
Estudio: {{ $est->descripcion }}
@forelse($est->files as $f) @empty @endforelse
Archivo Fecha Acciones
{{ $f->archivo }} {{ \Carbon\Carbon::parse($f->fecha)->format('d/m/Y') }}
@csrf @method('DELETE')
Sin archivos
@endforeach
{{-- MODAL PARA AGREGAR ARCHIVO --}} @endsection @push('scripts') @endpush