@forelse($agendaWithAnswers as $agendaWithAnswer)
{{$agendaWithAnswer->title}}
{{$agendaWithAnswer->title_bn}}

{!! nl2br($agendaWithAnswer->details) !!}

{!! nl2br($agendaWithAnswer->details_bn) !!}

@if($agendaWithAnswer->proposed_resolution || $agendaWithAnswer->proposed_resolution_bn)

Proposed Resolution / প্রস্তাবিত সিদ্ধান্ত :

@if($agendaWithAnswer->proposed_resolution)

{!! nl2br($agendaWithAnswer->proposed_resolution) !!}

@endif @if($agendaWithAnswer->proposed_resolution_bn)

{!! nl2br($agendaWithAnswer->proposed_resolution_bn) !!}

@endif
@endif {{-- @if($agendaWithAnswer->total_shareholder_quantity || $agendaWithAnswer->total_share_quantity)
@if($agendaWithAnswer->total_shareholder_quantity)

Total Shareholder Qty: {{number_format($agendaWithAnswer->total_shareholder_quantity,0,".",",")}}

@endif @if($agendaWithAnswer->total_share_quantity)

Total Share Qty: {{number_format($agendaWithAnswer->total_share_quantity,0,".",",")}}

@endif
@endif --}} @if($agendaWithAnswer->questionOptionR)
@forelse($agendaWithAnswer->questionOptionR as $questionOption) @if($agendaWithAnswer->positiveResultOption) @if($agendaWithAnswer->positiveResultOption->questionResultR)

{{$questionOption->option}} : {{$questionOption->questionResultR->total_share_quantity ? number_format($questionOption->questionResultR->total_share_quantity,0) : 0}}

@endif @endif @empty @endforelse
@endif @if($agendaWithAnswer->positiveResultOption) @if($agendaWithAnswer->positiveResultOption->questionResultR) @if($agendaWithAnswer->positiveResultOption->questionResultR->vote_quantity >= 2) {{-- {{dd($agendaWithAnswer->questionAnswerFirstTwoUser)}}--}} @if($agendaWithAnswer->questionAnswerFirstTwoUser)
@forelse($agendaWithAnswer->questionAnswerFirstTwoUser->questionAnsweredFirstTwo->take(2) as $key => $answer_user)

@if($key == 0) Proposed By
@else Seconded By
@endif Name: {{ $answer_user->userTakeTwo->name }}
BO ID: {{ $answer_user->userTakeTwo->bo_id }}

@empty @endforelse
@endif @endif @endif @endif
@if($agendaWithAnswer->questionOptionR) @forelse($agendaWithAnswer->questionOptionR as $questionOption) @if($questionOption) userQuestionAnswerId->contains('question_id',$agendaWithAnswer->id)) wire:click.prevent="warningRepeatVoteShow()" class="btn btn-lg {{$loop->odd ? 'btn-secondary' : 'btn-secondary' }} text-white" @else wire:click.prevent="QuestionAnswerById({{$questionOption->id }},{{$questionOption->question_id}})" class="btn btn-lg {{$loop->odd ? 'btn-success' : 'btn-warning' }} text-white" @endif @else wire:click.prevent="notEligibleUserWarning()" class="btn btn-lg {{$loop->odd ? 'btn-info' : 'btn-info' }} text-white" @endif >{{$questionOption->option}}
@if($agendaWithAnswer->positiveResultOption) @if($agendaWithAnswer->positiveResultOption->questionResultR) @if($agendaWithAnswer->positiveResultOption->questionResultR->vote_quantity >= 2) @if($questionOption->questionResultR) {{$questionOption->questionResultR->vote_quantity}}

{{$questionOption->questionResultR->percentage}}% @else 0% @endif @endif @endif @endif
@endif @empty @endforelse @endif
@empty @endforelse {{--
--}} {{--
Loading...
--}} {{--
--}} {{--
--}} {{--
--}} {{--
--}}