@if($child->allergies && count($child->allergies) > 0)
Alergii:
{{ implode(', ', $child->allergies) }}
@endif
@if($child->medical_conditions && count($child->medical_conditions) > 0)
Condiții medicale:
{{ implode(', ', $child->medical_conditions) }}
@endif
@if($child->doctor_name)
Medic de familie:
{{ $child->doctor_name }}
@endif
@if($child->doctor_phone)
Telefon medic:
{{ $child->doctor_phone }}
@endif
@if($child->medical_certificate_expires_at)
Certificat medical expiră:
@if($child->medical_certificate_expires_at->isPast())
{{ $child->medical_certificate_expires_at->format('d.m.Y') }} (Expirat)
@elseif($child->medical_certificate_expires_at->diffInDays() <= 30)
{{ $child->medical_certificate_expires_at->format('d.m.Y') }} (Expiră în curând)
@else
{{ $child->medical_certificate_expires_at->format('d.m.Y') }}
@endif
@endif