@php $selectedRows = $get('selected_rows') ?? []; $table_rows = $get('table_rows') ?? []; // Get the configurable threshold $stdDevThreshold = config('dyena.stdDevThreshold', 0.08); // fallback to 0.08 if not set // Debug: log the threshold value \Log::info('StdDev Threshold from config: ' . $stdDevThreshold); // Manually construct the correct path to the 'selected_rows' CheckboxList $viewStatePath = $getStatePath(); $basePath = substr($viewStatePath, 0, strrpos($viewStatePath, '.')); $checkboxListPath = $basePath . '.selected_rows'; @endphp
| {{-- Checkbox --}} | Well | Zellzahl | Sample Name | Cт | Cт Mean | Cт SD | ||
|---|---|---|---|---|---|---|---|---|
| {{-- Well, Group, Samplename, CT --}} | {{ $row['well'] }} | {{ $row['group_marker'] }} | {{ $row['samplename'] }} | {{ is_numeric($row['ct']) ? number_format($row['ct'], 3, ',', '') : $row['ct'] }} | {{-- Logic to display stats ONLY on the first row of a new group --}} @if ($row['group_marker'] !== $currentGroup) @php $currentGroup = $row['group_marker']; @endphp{{ number_format($get('display_mean_' . $groupKey), 3, ',', '.') }} | @if($isHighStdDev) 🚩 {{ number_format($stdDev, 3, ',', '.') }} @else {{ number_format($stdDev, 3, ',', '.') }} @endif | @else {{-- For subsequent rows, display empty cells --}}@endif |