@php
$identity = \App\Helper\ClinicIdentityHelper::getActiveIdentity();
@endphp
@if($identity && $identity->logo_path)
 }})
@endif
@if($identity)
{{ $identity->name }}
@if($identity->specialty)
{{ $identity->specialty }}
@endif
{{ $identity->address }}
@if($identity->phone || $identity->email)
@if($identity->phone) {{ $identity->phone }} @endif
@if($identity->phone && $identity->email) | @endif
@if($identity->email) {{ $identity->email }} @endif
@endif
@endif
@php
$report = App\Models\MedicalReport::find($id);
$doctor = $report ? $report->user()->first() : null;
$hasDoctorSignature = $doctor && $doctor->hasDigitalSignature();
@endphp
@if($hasDoctorSignature)
{{__('doctor.report.docSignature')}}
{{__('doctor.report.signedBy', ['name' => $doctor->name])}}
@if($doctor && $doctor->signature_path)
@endif