{{-- analysis/density.blade.php --}} {{-- Density / concentration analysis for cotation profiles --}} {{-- Legacy: show_table_StudyQuery_densite() --}} @extends('layouts.app') @section('content') @include('components.analysis-nav', ['activeTab' => 'density']) @include('components.analysis-filter', ['formAction' => route('kms.study.density', $study->Id)]) {{-- Chinese type selector --}}

{{-- Header --}} @foreach($densityData['labels'] as $label) @endforeach {{-- Data rows --}} @foreach($densityData['products'] as $prodId => $data) @include('components.row', ['index' => $loop->index]) @foreach($densityData['keys'] as $key) @endforeach @endforeach
Produit Total{{ $label }} %Densité
{{ $products[$prodId]['Name'] ?? "Produit {$prodId}" }} {{ $data['total_cotations'] }}{{ $data['distribution'][$key]['avg'] ?? 0 }}%@include('components.cell', ['type' => 'TWO_DECI', 'value' => $data['density_index']])
@endsection