@php use App\Helpers\Helper; @endphp {{ __("Medical Record - Vetypet") }}

{{ __("Medical Record") }}

{{ __("Pet Owner's Name") }}: {{ $ownerName }}

{{ __("Pet Name") }}: {{ $petName }}

{{ __("Animal Type") }}: {{ $animalType }}

@if(!empty($breed))

{{ __("Breed") }}: {{ $breed }}

@endif

{{ __("Birth Date") }}: {{ $birthdate ?? '-' }}

{{ __("Age") }}: {{ $age??'-' }}

{{ __("Gender") }}: {{ $gender ?? '-' }}

{{ __("Weight") }}: {{ $weight ? $weight.' kg.':'-' }}

{{ __("ID Chip / Other") }}: {{ $chipId ?? '-' }}

@if ($pedigreeCertNumber)

{{ __("Pedigree Certification Number") }}: {{ $pedigreeCertNumber }}

@endif @if ($generalDescription)

{{ __("General Description") }}: {{ $generalDescription }}

@endif @if ($personalityDescription)

{{ __("Personality Description") }}: {{ $personalityDescription }}

@endif
@if (!empty($awards))

{{ __("Awards Won") }}

@endif

{{ __("Health History") }}

{{ $healthHistory ?? '-' }}

{{ __("Vaccinations") }}

@if (empty($vaccines))

{{ __("There are no vaccinations registered for this pet.") }}

@else @foreach($vaccines as $vaccine) @endforeach
{{ __("Vaccine Name") }} {{ __("Dose Number") }} {{ __("Vaccination Date") }}
{{ $vaccine->vaccine->name }} {{ $vaccine->immunization }} {{ $vaccine->date ? Helper::getDateFormatByLang($vaccine->date, $lang):'-' }}
@endif

{{ __("Medical Diagnoses") }}

@if (empty($medicalDiagnoses))

{{ __("There are no medical diagnoses registered for this pet.") }}

@else @foreach($medicalDiagnoses as $diagnosis) @endforeach
{{ __("Diagnosis") }} {{ __("Instructions") }} {{ __("Treatment") }} {{ __("Suggested Tests") }} {{ __("Date of Diagnosis") }}
{{ strip_tags(str_replace("

", " ", $diagnosis['description'] ?? '-')) }}
{{ strip_tags(str_replace("

", " ", $diagnosis['indications'] ?? '-')) }}
{{ strip_tags(str_replace("

", " ", $diagnosis['treatment'] ?? '-')) }}
{{ strip_tags(str_replace("

", " ", $diagnosis['exams'] ?? '-')) }}
{{ strip_tags(str_replace("

", " ", $diagnosis['created_at']->format(Helper::getFormatDateByLang($lang)) ?? '-')) }}
@endif