{{-- analysis/portrait.blade.php --}} {{-- Portrait chinois: value frequency tables per Chinese type per product --}} {{-- Legacy: show_table_StudyQuery_pcpc() --}} @extends('layouts.app') @section('content') @include('components.analysis-nav', ['activeTab' => 'portrait']) @include('components.analysis-filter', ['formAction' => route('kms.study.portrait', $study->Id)]) @foreach($portraitData as $typeCode => $typeData)

{{ $typeData['label'] }}

@foreach($typeData['products'] as $prodId => $prodData)

{{ $products[$prodId]['Name'] ?? "Produit {$prodId}" }} (N={{ $prodData['total'] }})

@if(!empty($prodData['items'])) @foreach($prodData['items'] as $item) @include('components.row', ['index' => $loop->index]) @endforeach
Valeur N %
{{ $item['value'] }} {{ $item['count'] }} {{ $item['pct'] }}%
@else

Aucune donnée

@endif
@endforeach
@endforeach @endsection