@php $isPublic = 0; if(env('FILESYSTEM_DRIVER') == 's3') { $fileurlbase = env('URLS3') . '/' . env('FILEKEY') . '/'; } else { $fileurlbase = env('APP_URL') . '/'; } @endphp @extends($isPublic ? 'layouts.app-public' : 'layouts.app') @section('content') @section('style') @endsection

@foreach($participantesTotal as $tot) @endforeach @foreach($participantesTecnico as $tot) @endforeach @foreach($participantesComportamental as $tot) @endforeach @foreach($participantesEndo as $tot) @endforeach @foreach($participantesInt as $tot) @endforeach @foreach($participantesAdmitidos as $key => $tot) @endforeach @foreach($horasTotalMes as $key => $tot) @endforeach @foreach($horasTotalMesTecnico as $key => $tot) @endforeach @foreach($horasTotalMesComportamental as $key => $tot) @endforeach @foreach($horasTotalMesEndo as $tot) @endforeach @foreach($horasTotalMesInt as $tot) @endforeach @foreach($participantesAdmitidos as $key => $tot) @endforeach
Descrição Jan Fev Mar Abr Mai Jun Jul Ago Set Out Nov Dez Média Total
Número de Participantes{{ $tot }} {{ number_format($totalParticipantes / 12, 2) }} {{ $totalParticipantes }}
Técnicos{{ $tot }} {{ number_format($totalParticipantesTecnico / 12, 2) }} {{ $totalParticipantesTecnico }}
Comportamentais{{ $tot }} {{ number_format($totalParticipantesComportamental / 12, 2) }} {{ $totalParticipantesComportamental }}
Endomarketing{{ $tot }} {{ number_format($totalParticipantesEndo / 12, 2) }} {{ $totalParticipantesEndo }}
Integração{{ $tot }} {{ number_format($totalParticipantesInt / 12, 2) }} {{ $totalParticipantesInt }}
Admitidos (%){{ $participantesTotal[$key] > 0 ? ($tot / $participantesTotal[$key]) * 100 : 0}}% {{ number_format($totalParticipantes > 0 ? (($totalAdmitidos / $totalParticipantes) / 12) : 0, 2) }}% {{ $totalParticipantes > 0 ? ($totalAdmitidos / $totalParticipantes) : 0 }}%
Horas de Treinamento{{ $tot }} {{ number_format($totalHoras / 12, 2) }} {{ $totalHoras }}
Técnicos{{ $tot }} {{ number_format($totalHorasTecnico / 12, 2) }} {{ $totalHorasTecnico }}
Comportamentais{{ $tot }} {{ number_format($totalHorasComportamental / 12, 2) }} {{ $totalHorasComportamental }}
Endomarketing{{ $tot }} {{ number_format($totalHorasEndo / 12, 2) }} {{ $totalHorasEndo }}
Integração{{ $tot }} {{ number_format($totalHorasInt / 12, 2) }} {{ $totalHorasInt }}
Usuários Ativos{{ $tot }} {{ number_format($totalAdmitidos / 12, 2) }} {{ $totalAdmitidos }}
@endsection @section('script') @include('datatable', ['key' => 0, 'order' => 'desc']) @endsection