@yield('titulo')
VOTACIONES CLUB DE LEONES CALI LA MERCED
@guest
{{ __('Ingresar') }}
@if (Route::has('register'))
@endif @else
{{ Auth::user()->name }}
@php $idFecha = App\FechaVotaciones::orderByDesc("id")->first() @endphp @php $concejos = App\ConcejoDirectivo::all() @endphp @php $registro = App\RegistroVoto::where("user_id",Auth::user()->id)->where("fecha_votacione_id",$idFecha["id"])->get() @endphp
@if(count($registro) < count($concejos) && Auth::user()->role_id != 1 ) @php date_default_timezone_set('America/Bogota') @endphp @php $fechaActual = explode("/",date("Y-m-d h:i:s")) @endphp @if($fechaActual[0] < $idFecha["fechaInicio"])
{{ __('Salir') }}
@else
{{"Por favor realice la votación en todos los concejos directivos"}}
@endif @else
{{ __('Salir') }}
@endif
@csrf
@endguest
@yield('content')