@if($barcode_settings['barcode_number']['show']||$barcode_settings['sample_type']['show'])
@if($barcode_settings['barcode_number']['show'])
|
{{$sample['sample_id']}}
|
@endif
@if($barcode_settings['sample_type']['show'])
{{$sample['sample_type']['name']}}
|
@endif
@endif
|
@if($barcode_settings['patient_name']['show'])
|
{{$sample['invoice']['patient']['name']}}
|
@endif
@if($barcode_settings['age_gender']['show']||$barcode_settings['date']['show'])
@if($barcode_settings['age_gender']['show'])
|
{{$sample['invoice']['patient_age_en']}} / {{ucfirst($sample['invoice']['patient']['gender'])}}
|
@endif
@if($barcode_settings['date']['show'])
{{date('d-m-Y h:i A',strtotime($sample['invoice']['registration_date']))}}
|
@endif
@endif
@if($barcode_settings['tests']['show'])
|
@php
$count_tests=1;
$count_sample_tests=count($sample['sample_tests']);
@endphp
@foreach($sample['sample_tests'] as $sample_test)
{{$sample_test['testable']['barcode_name']}}
@if($count_sample_tests>$count_tests) - @endif
@php
$count_tests++;
@endphp
@endforeach
|
@endif
|
|
|