@if($medical_report_settings['show_header']&&isset($invoice['branch'])) @if($medical_report_settings['show_header_image']&&\File::exists('uploads/branches/'.$medical_report_settings['header_image']))
@else
@if($medical_report_settings['show_logo']&&\File::exists('img/reports_logo.png')) @endif @if(!empty($invoice['branch']['phone'])) @endif @if(!empty($invoice['branch']['address_'.$locale])) @endif @if(!empty($invoice['branch']['email'])) @endif
{{preg_replace('/[^\PC\s]/u', '', $invoice['branch']['name_'.$locale])}}
{{preg_replace('/[^\PC\s]/u', '', $invoice['branch']['phone'])}}
{{preg_replace('/[^\PC\s]/u', '', $invoice['branch']['address_'.$locale])}}
{{preg_replace('/[^\PC\s]/u', '', $invoice['branch']['email'])}}
{{ route('website.index') }}
@endif @endif @if(isset($invoice['patient'])) @if($medical_report_settings['show_qrcode']) @endif
Patient Name : @if(isset($invoice['patient'])) @if(!empty($invoice['patient']['title'])) {{$invoice['patient']['title']}} : @endif {{ ucwords($invoice['patient']['name']) }} @endif
Civil ID : {{__($invoice['patient']['passport_no'])}}
Age / Gender : @if(isset($invoice['patient'])) {{$invoice['patient']['age']}} / {{ucfirst($invoice['patient']['gender'])}} @endif
Ref. Center : @if(isset($invoice['referral'])) @if(!empty($invoice['referral']['title'])) {{$invoice['referral']['title']}} : @endif {{ $invoice['referral']['name'] }} @elseif(isset($invoice['from_laboratory'])) {{$invoice['from_laboratory']['name']}} @endif
File Number : {{-- barcode
--}} {{$invoice['id']}}
Sample ID : {{$invoice['barcode']}}
Sample Date : {{ date('Y-m-d H:i',strtotime($invoice['registration_date'])) }}
@if($invoice['show_result_date']) @else @endif
Result date : {{ date('Y-m-d H:i',strtotime($invoice['result_date'])) }}
Printed at : {{ date('Y-m-d H:i') }}
@endif @if(request()->has('preview'))
{{__('The results have not been reviewed and the use of these results is not authorized')}}
@endif