@php
$stimme = is_null(auth()->user()) ? null : $film->votes()->where('user', auth()->user()->id)->first();
@endphp
@if (!is_null($stimme) && $stimme->vote == 0)
·
@elseif (!is_null($stimme) && $stimme->vote == 1)
·
@elseif(auth()->user() !== null)
·
@endif
{{ $film->activeVotes()->where('vote', 1)->sum('vote') }}
/{{ $film->activeVotes()->count()}}
{{ \Carbon\Carbon::parse($film->suggested)->format('d.m.Y') }} · {{ $film->suggester->name }}
{{ \Carbon\Carbon::parse($film->suggested)->format('d.m.Y') }}
{{ $film->suggester->name }}