@if(\App\Services\ShalomProxyVotingService::enabled())
Este parlamentar representa:
Ninguém
@foreach(\App\Models\Assemblyman::where('active', 1)->orderBy('short_name')->get() as $represented)
@if($represented->id !== $item->id)
id] ?? 0) === (int)$represented->id ? 'selected' : '' }}>{{ mb_strtoupper($represented->short_name) }}
@endif
@endforeach
@if(empty($shalomProxies[$item->id]))
Copiar link
@else
Recebe o link e vota também pelo parlamentar selecionado.
@endif
@endif
SIM
voting()->get()->where('id', $voting->id)->first()->votes()->where('voting_id', $voting->id)->where('assemblyman_id', $item->id)->where('yes', 1)->first()) checked @endif>
NÃO
voting()->get()->where('id', $voting->id)->first()->votes()->where('voting_id', $voting->id)->where('assemblyman_id', $item->id)->where('no', 1)->first()) checked @endif>
NULO
voting()->get()->where('id', $voting->id)->first()->votes()->where('voting_id', $voting->id)->where('assemblyman_id', $item->id)->where('abstention', 1)->first()) checked @endif>
AUSENTE
voting()->get()->where('id', $voting->id)->first()->votes()->where('voting_id', $voting->id)->where('assemblyman_id', $item->id)->where('out', 1)->first()) checked @endif>