@include('qrcode.partials.head')
@include('partials.validation_errors')
@if($invoice['signed_count']) @if($invoice['patient_due']>0)
{{__('Please pay the due amount on the invoice to print the report')}}
@else {{__('Print report')}} @if($invoice['smart_report_ready']) {{__('Print smart report')}} @endif @endif @else
{{__('The report is not ready yet, Please try again later')}}
@endif
@if(isset($invoice['patient']))
{{__('Personal information')}}
@if(!empty($invoice['patient']['avatar'])&&\File::exists('uploads/patient-avatar/'.$invoice['patient']['avatar'])) @else @endif
@if(!empty($invoice['patient']['title'])) {{$invoice['patient']['title']}} : @endif
{{ $invoice['patient']['name'] }}
{{__($invoice['patient']['gender'])}}
{{$invoice['patient']['dob']}}
@if(isset($invoice['patient']['country']))
{{$invoice['patient']['country']['name']}}
@endif
{{$invoice['patient']['passport_no']}}
@endif @if(isset($covid_test_name)&&$covid_test_result&&isset($invoice['signed_by_user'])&&$invoice['patient_due']<=0)
{{__('Result')}}

{{$covid_test_name}}

{{$covid_test_result}}

@endif
{{__('Tests')}}
@foreach($invoice['all_tests'] as $test) @endforeach @foreach($invoice['all_cultures'] as $culture) @endforeach
{{__('Ready')}} {{__('Test')}}
@if($test['verified']) @else @endif {{$test['test']['name']}}
@if($culture['verified']) @else @endif {{$culture['culture']['name']}}
@if(setting('subscription')['service_rating']) @if(!isset($invoice['rating']))
@csrf
{{__('Please rate our service')}}
@else
{{__('Your service rating')}}
{{__('Rating')}} :

@switch($invoice['rating']) @case(1) {{__('Very bad')}} @break @case(2) {{__('Bad')}} @break @case(3) {{__('Medium')}} @break @case(4) {{__('Good')}} @break @case(5) {{__('Excellent')}} @break @endswitch

@if(!empty($invoice['feedback']))
{{__('Feedback')}} :

{{$invoice['feedback']}}

@endif
@endif @endif
{{__('Report details')}}
{{$invoice['registration_date']}}
@if(isset($invoice['signed_by_user'])&&$invoice['patient_due']<=0)
{{$invoice['result_date']}}
@endif
@include('qrcode.partials.scripts')