| {{__('Barcode')}} | @if(isset($sample['invoice'])) {{$sample['invoice']['barcode']}} @endif |
|---|---|
| {{__('Patient name')}} | @if(isset($sample['invoice'])&&isset($sample['invoice']['patient'])) {{$sample['invoice']['patient']['name']}} @endif |
| {{__('Sample ID')}} | {{$sample['sample_id']}} |
| {{__('Sample type')}} | @if(isset($sample['sample_type'])) {{$sample['sample_type']['name']}} @endif |
| {{__('Status')}} | @switch($sample['status']) @case(1) {{__('Collected')}} @break @case(2) {{__('Received')}} @break @case(3) {{__('Rejected')}} @break @default {{__('Pending')}} @endswitch |
| {{__('Printed')}} | @switch($sample['printed']) @case(0) @break @case(1) @break @endswitch |
| {{__('Printed by')}} | @if(isset($sample['printed_by'])) {{$sample['printed_by']['name']}} @endif |
| {{__('Printing date')}} | {{$sample['printed_date']}} |
| {{__('Collection site')}} | @switch($sample['collected_out_lab']) @case(0) {{__('In lab')}} @break @case(1) {{__('Out lab')}} @break @endswitch |
| {{__('Collection date')}} | {{$sample['collected_date']}} |
| {{__('Collected by')}} | @if(isset($sample['collected_by'])) {{$sample['collected_by']['name']}} @endif |
| {{__('Receiving date')}} | {{$sample['received_date']}} |
| {{__('Received by')}} | @if(isset($sample['received_by'])) {{$sample['received_by']['name']}} @endif |
| {{__('Rejection date')}} | {{$sample['rejected_date']}} |
| {{__('Rejected by')}} | @if(isset($sample['rejected_by'])) {{$sample['rejected_by']['name']}} @endif |
| {{__('Rejection reason')}} | {{__($sample['rejection_reason'])}} |
| {{__('Note')}} | {{$sample['note']}} |