@extends('layouts.app') @section('title','Relatório — Operadores e Clubes') @section('content') @include('components.seletor-contest')

🏛️ Operadores por Clube

{{ number_format($totalOps) }}
Operadores
{{ number_format($totalClubes) }}
Clubes
{{-- Filtros --}}
@if($busca || $grupo) ✕ Limpar @endif
@php $cores = [ 'LABREs' => ['bg'=>'#EBF5FB','titulo'=>'#1B4F8C','badge'=>'#AED6F1'], 'BRAZIL' => ['bg'=>'#EAFAF1','titulo'=>'#1E8449','badge'=>'#A9DFBF'], 'OUTROS' => ['bg'=>'#FEFCE8','titulo'=>'#7D6608','badge'=>'#F9E79F'], ]; @endphp @forelse($dados as $groupName => $clubes) @php $cor = $cores[$groupName] ?? ['bg'=>'#f9f9f9','titulo'=>'#333','badge'=>'#ddd']; @endphp
{{ $groupName }} {{ count($clubes) }} clube(s)
@foreach($clubes as $clubNome => $info) @php if (strtoupper($groupName)==='BRAZIL' && strtoupper(substr(trim($clubNome),0,5))==='LABRE') continue; @endphp
{{ $clubNome }} Total: {{ number_format($info['club_total']) }}
@php $totP=$totM1=$totM2=$totM3=$totF=0; @endphp @foreach($info['calls'] as $c) @php $totP+=$c->total_pontos; $totM1+=$c->total_m1; $totM2+=$c->total_m2; $totM3+=$c->total_m3; $totF+=$c->final_score; @endphp @endforeach
CallsignPontos M1M2M3 Final Score
{{ $c->call_sent }} {{ number_format($c->total_pontos) }} {{ $c->total_m1 }} {{ $c->total_m2 }} {{ $c->total_m3 }} {{ number_format($c->final_score) }}
TOTAL {{ number_format($totP) }} {{ $totM1 }}{{ $totM2 }}{{ $totM3 }} {{ number_format($totF) }}
@endforeach
@empty

Nenhum dado encontrado.

@endforelse @endsection