@if($receipt_settings['show_header']&&isset($invoice['branch'])) @if($receipt_settings['show_header_image']&&\File::exists('uploads/branches/'.$receipt_settings['header_image']))
@else
@if($receipt_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($receipt_settings['show_qrcode']&&!$invoice['quotation']&&!auth()->guard('contract')->check()) @endif {{-- @if($receipt_settings['show_qrcode']&&!$invoice['quotation']) @endif --}}
{{__('Report QRCODE')}} {{-- --}}
VAT Number {{$info['vat_number']}}
Barcode barcode
{{$invoice['barcode']}}
Name @if(isset($invoice['patient'])) @if(!empty($invoice['patient']['title'])) {{$invoice['patient']['title']}} : @endif {{ ucwords($invoice['patient']['name']) }} @endif
Age / Sex @if(isset($invoice['patient'])) {{$invoice['patient']['age_locale']}} / {{ucfirst($invoice['patient']['gender'])}} @endif
Request Date {{ date('Y-m-d h:i A',strtotime($invoice['registration_date'])) }}
Referred By @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
Result date {{ date('Y-m-d h:i A',strtotime($invoice['result_date'])) }}
{{__('Invoice QRCODE')}}
@endif