@extends('layout.app') @section('content')
Patients ({{ $datas->count() }})   Ajouter


@if(!auth()->user()->isSecretary()) @endif @foreach($datas as $data) @if(!$data->archive) @if(!auth()->user()->isSecretary()) @endif @else @endif @endforeach
Chambre Noms Sexe Téléphone Groupe Etat Actuel Assuré Prise en charge Actions
{{ $data->lastIntervention() ? $data->lastIntervention()->room->name : '' }} {{ $data->lastIntervention() ? ($data->lastIntervention()->room->department?' - '.$data->lastIntervention()->room->department->name:'') : '' }} {{ $data->name }} {{ $data->sex }} {{ $data->tel }} {{ $data->group->name }} {{ $data->lastIntervention() ? $data->lastIntervention()->status->name : '' }} {{ $data->assured ? 'Oui' : 'Non' }} Suivi @if(auth()->user()->subStandard()) Téléconsulter @endif Consulter Hospitaliser {{-- @if(auth()->user()->subGold())--}} {{-- @endif--}} @if(!$data->hasRelatedRecords()) @endif
@endsection @push('scripts') @endpush