{{-- GEAS_STATGRID_v2 --}} {{-- :::stat-grid - number: "27%" label: "Max cycle return" trend: "up" (optional: up|down) sublabel: "vs. plan avg" (optional) - number: "$50" label: "Starting capital" ::: --}} @php $items = $items ?? []; @endphp @if(!empty($items))
@foreach($items as $stat)
{{ $stat['number'] ?? '' }} @if(isset($stat['trend'])) @if($stat['trend'] === 'up') @elseif($stat['trend'] === 'down') @endif @endif
{{ $stat['label'] ?? '' }}
@if(!empty($stat['sublabel']))
{{ $stat['sublabel'] }}
@endif
@endforeach
@endif