@extends('print') @section('title', 'Consultation médicale') @push('scripts.header') @endpush @section('heading')
Logo de {{ $company->name }}
{{ $company->name }}
{{ $company->address ? $company->address : '-' }} • BP {{ $company->postal_code ? $company->postal_code : '-' }}
{{ $company->phone_number ? $company->phone_number : '-' }} • {{ $company->fax ? $company->fax : '-' }}
{{ $company->email ? $company->email : '-' }}
{{--
{{ $company->website ? $company->website : '-' }}
--}} {{--
NINEA : {{ $company->ninea ? $company->ninea : '-' }}
--}}
@stop @section('content')

Consultation du {{ $consultation->la_date }}

Informations du patient

@if ($consultation->patient)
Prénom : {{ $consultation->patient->prenom }}
Nom : {{ $consultation->patient->nom }}
Matricule : {{ $consultation->patient->matricule }}
Fonction : {{ $consultation->patient->post }}
Date de naissance : {{ Carbon\Carbon::parse($consultation->patient->date_naissance)->format('d/m/Y') }} ({{ $consultation->patient->age }} ans)
Lieu de naissance : {{ $consultation->patient->lieu_naissance }}
Adresse : {{ $consultation->patient->adresse }}
Tel. dom. : {{ $consultation->patient->tel_dom }}
Tel. port. : {{ $consultation->patient->tel_port }}
Entreprise : @if ($consultation->patient->entreprise) {{ $consultation->patient->entreprise->name }} @endif
@endif
@foreach($data as $datum)
{{ $datum->name }}
@foreach($datum->fields as $field)
{{ $field->label }} :
@if(is_array($field->value))
@foreach($field->value as $val) •{{ $val }} @endforeach
@else {{ $field->value }} @endif
@endforeach
@endforeach
@stop @section('footer') @stop