@extends('layouts.app', ['activePage' => 'resolution-details', 'titlePage' => __('Resolution Details ')]) @section('content')
@if(Auth::user()->role_id == '5')

Please cast your vote here.

@if (session('message'))
{{ session('message') }}
@endif @if(Session::has("success"))
{{Session::get("success")}}
@elseif(Session::has("failed")) {{Session::get("failed")}} @endif
@csrf
{{$resolution->entity_name}}
{{$resolution->evsn}}
From {{Carbon\Carbon::parse($resolution->voting_start_date)->format('d-m-Y')}} To {{Carbon\Carbon::parse($resolution->voting_end_date)->format('d-m-Y')}}
{{$voting_count}}/{{$total_resolutions}}
@if(Carbon\Carbon::parse($resolution->voting_end_date)->toDateTimeString() < Carbon\Carbon::now()->toDateTimeString()) @php $disabled = 'disabled'; @endphp @else @php $disabled = ''; @endphp @endif @if(empty($disabled)) @endif @if($resolution_desc) @foreach($resolution_desc as $key => $value) @if(empty($disabled)) @endif @endforeach @else @endif
SR.No. View Resolution Resolution Description Choice
@if(empty($disabled)) Select All Assent(Yes)
Select All Dissent(No)
Select All Abstain
@endif
{{($key+1)}} View Resolution {{$value->description }} @if(empty($disabled)) id]) && $votings[$value->id] == 'yes') checked @endif {{$disabled}} /> I assent(Yes) to the Resolution
id]) && $votings[$value->id] == 'no') checked @endif {{$disabled}} /> I dissent(No) to the Resolution
id]) && $votings[$value->id] == 'abstain') checked @endif {{$disabled}} /> I Abstain to the Resolution
@else @if(isset($votings[$value->id]) && $votings[$value->id] == 'yes') I assent(Yes) to the Resolution @endif @if(isset($votings[$value->id]) && $votings[$value->id] == 'no') I dissent(No) to the Resolution @endif @if(isset($votings[$value->id]) && $votings[$value->id] == 'abstain') I Abstain to the Resolution @endif @endif
Reset
No Records!
@endif
@endsection @push('js') @endpush