@extends('layouts.yellow') @section('title') {{__('detail-patient.medicalRecipe')}} @endsection @section('content')

{{__("detail-patient.medicalRecipe")}}

{{__("com-form-history.backReturn")}}
@php $identity = \App\Helper\ClinicIdentityHelper::getActiveIdentity(); @endphp @if($identity && $identity->logo_path) Logo {{ $identity->name }} @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
{{__("detail-patient.patient")}}

{{$patientName}}

{{ date('d/m/Y') }}

@php $recipe = App\Models\MedicalRecipe::find($id); $doctor = $recipe ? $recipe->user()->first() : null; $hasDoctorSignature = $doctor && $doctor->hasDigitalSignature(); @endphp @if($hasDoctorSignature)
{{__('doctor.recipe.docSignature')}}

{{__('doctor.recipe.signedBy', ['name' => $doctor->name])}}

@if($doctor && $doctor->signature_path)
Firma digital
@endif
@endif
@endsection