@extends('layouts.app', ['activePage' => 'dashboard', 'titlePage' => __('Welcome To Electronic Voting System ')]) @section('content')

@if(Auth::user()->role_id == '3') Scrutinizer @elseif(Auth::user()->role_id == '5') Member @elseif(Auth::user()->role_id == '2') Company @endif Dashboard

Active Voting List

@if(Auth::user()->role_id == '5')
@if (session('message'))
{{ session('message') }}
@endif @if(Session::has("success"))
{{Session::get("success")}}
@elseif(Session::has("failed")) {{Session::get("failed")}} @endif
@if($resolutions) @foreach($resolutions as $key => $value) @endforeach @else @endif
SR.No. EVSN Entity Name Voting Shares Start Date End Date Meeting Date Status/Voting Result Action
{{($key+1)}} {{$value->evsn}} {{ucfirst($value->entity_name)}} {{$value->shares}} {{Carbon\Carbon::parse($value->voting_start_date)->format('d-m-Y')}} {{Carbon\Carbon::parse($value->voting_end_date)->format('d-m-Y')}} {{Carbon\Carbon::parse($value->meeting_date)->format('d-m-Y')}} {{$value->voting_result()}}
{{ $value->voting_count() }} / {{$value->total_resolution()}}
@csrf
No Records!
@endif
@endsection