@extends('layouts.master') @section('title') {{ __('sentence.All Patients') }} @endsection @section('content')
{{ __('sentence.All Patients') }}
@foreach($patients as $patient) @endforeach
{{ __('sentence.patient') }} {{ __('sentence.medical record') }} {{ __('sentence.allergies') }} {{ __('sentence.surgery history') }} {{ __('sentence.Chronic diseases') }} {{ __('sentence.Actions') }} Fecha de registro Nombre Edad Teléfono Correo electrónico
{{ __('sentence.dateCreated') }}: {{ $patient->created_at->format('d/m/Y') }}
{{ __('sentence.patientName') }}: {{ ucwords(strtolower($patient->name)) }}
{{ __('sentence.Age') }}: {{ \Carbon\Carbon::parse($patient->Patient->birthday)->age }}
{{ __('sentence.Phone') }} : {{ $patient->Patient->phone }}
{{ __('sentence.patientMail') }} : {{ $patient->email }}
{{ __('sentence.emergency contact') }} : Ver
@if(!empty($patient->Patient->blood) || !empty($patient->Patient->imc)) @endif @if(!empty($patient->Patient->alergias)) @endif @if(!empty($patient->Patient->cirugias)) @endif @if(!empty($patient->Patient->apf)) @endif {{ $patient->created_at->format('d/m/Y') }} {{ ucwords(strtolower($patient->name)) }} {{ \Carbon\Carbon::parse($patient->Patient->birthday)->age }} {{ $patient->Patient->phone }} {{ $patient->email }}
@endsection @section('footer') @endsection