@extends('layouts.horizontal', ['title' => 'Pacientes']) @vite(['resources/js/pages/custom-table.js']) @section('content')
@include('layouts.partials.page-title', ['subtitle' => 'Pacientes', 'title' => 'Listado de Pacientes'])
@if (session('success'))
{{ session('success') }}
@endif @if (session('error'))
{{ session('error') }}
@endif
Pacientes por Notificar

{{ $porNotificar }}

Pacientes

@permiso('pacientes-crud.crear') Nuevo Paciente @endpermiso
@forelse($pacientes as $p) @empty @endforelse
Expediente Nombre Completo Correo Teléfono Historial Acciones
{{ $p->expediente ?? '-' }} {{ $p->nombre_completo }} @if($p->notificacion == 1) Pendiente @endif {{ $p->correo ?? '-' }} {{ $p->telefono ?? '-' }} @permiso('historial-crud.editar') @endpermiso
@permiso('pacientes-crud.editar') @endpermiso @permiso('pacientes-crud.autorizar') @if($p->notificacion == 1)
@csrf
@endif @endpermiso @permiso('pacientes-crud.eliminar')
@csrf @method('DELETE')
@endpermiso
Sin pacientes registrados
@endsection @push('scripts') @endpush