{{-- resources/views/filament/modals/panelresult-details.blade.php --}}
{{-- Header Info --}}

Sample

{{ $samplehead->sample_nr }}

Result Number

{{ $result_nr }}

{{-- PCR Test Results --}} @php $pcrTests = $panelresults->where('fieldtype', 'pcr_test'); $customFields = $panelresults->where('fieldtype', 'custom_field'); @endphp @if($pcrTests->isNotEmpty())

PCR Test Results

@foreach($pcrTests as $test) @endforeach
Test Name Cycle Count Cell Count (RXN) Cell Count (Projected) Ratio
{{ $test->test_name }}
Total: {{ $test->cyclecount_total ?? 'N/A' }}
Alive: {{ $test->cyclecount_alive ?? 'N/A' }}
Total: {{ $test->cellcount_rxn_total ?? 'N/A' }}
Alive: {{ $test->cellcount_rxn_alive ?? 'N/A' }}
Total: {{ $test->cellcount_projected_total ?? 'N/A' }}
Alive: {{ $test->cellcount_projected_alive ?? 'N/A' }}
{{ $test->ratio ?? 'N/A' }}
@endif {{-- Custom Field Results --}} @if($customFields->isNotEmpty())

Custom Field Results

@foreach($customFields as $field) @endforeach
Field Name Value Type
{{ $field->customfield_name }} {{ $field->customfield_value ?? 'N/A' }} @if($field->pcrpanelField) {{ ucfirst($field->pcrpanelField->type) }} @endif
@endif @if($pcrTests->isEmpty() && $customFields->isEmpty())

No results found

No panel results found for this result number.

@endif