@php $idtype = ''; $gender = ''; @endphp @if($qrdetail->idtype == '1') @php $idtype = 'Driver License'; @endphp @endif @if($qrdetail->idtype == '2') @php $idtype = 'Passport Number'; @endphp @endif @if($qrdetail->gender == '1') @php $gender = 'Male'; @endphp @endif @if($qrdetail->gender == '2') @php $gender = 'Female'; @endphp @endif
First Name: {{$qrdetail->fname}}
Middle Name: {{$qrdetail->mname}}
Last Name: {{$qrdetail->lname}}
Date Of Birth: {{$qrdetail->dobd}}/{{$qrdetail->dobm}}/{{$qrdetail->doby}}
{{$idtype}}: {{$qrdetail->id_number}}
URN Number : {{$qrdetail->customerno}}
Appointment Date : {{$qrdetail->app_date}}
Appointment Time : {{$qrdetail->app_time}}
Test Results : @if($qrdetail->test_result == '1') NEGATIVE @endif @if($qrdetail->test_result == '2') POSITIVE @endif @if($qrdetail->test_result == '3') INCONCLUSIVE @endif
Report Date : {{date("d/m/Y", strtotime($qrdetail->test_result_date) )}} {{date("H:i", strtotime($qrdetail->test_result_date) )}}