@extends('layouts.meeting') @section('content-meeting')

LISTA DE PRESENÇA

{!! $meeting->SessionType->name !!}

Sessão Nº: {!! $meeting->number !!}

Data: {!! $meeting->date_start !!}

@foreach ($cargo as $item) @if ($item->currentResponsibility?->responsibility?->name === 'Presidente')
voting_active > 0 ? 'checked' : '' }}>
@endif @endforeach

VEREADORES

SELECIONAR TODOS
{!! Form::token() !!}
@foreach ($assemblyman as $item) @php $video = \App\Models\Video::where('meeting_id', $meeting->id) ->where('assemblyman_id', $item->id) ->first(); $presenceRecord = $item->meeting()->where('meeting_id', $meeting->id)->first(); $isPresent = (bool) $presenceRecord; $isRemote = (bool) optional($presenceRecord?->pivot)->is_remote; @endphp

{{ mb_strtoupper($item->preferred_name) }}

{{ $item->responsibility_assemblyman->last()?->responsibility?->name ?? '-' }} @if(\App\Services\ShalomProxyVotingService::enabled())
@if(empty($shalomProxies[$item->id])) @else {{ mb_strtoupper($item->preferred_name) }} receberá o link e seu voto também será registrado para o parlamentar selecionado. @endif
@endif
@if ($video && $video->meeting_id == $meeting->id) @endif
@endforeach

{{-- Modal --}} @endsection