@foreach($tasks as $task)
@php $checked = $task->users->count() > 0 && $task->users->first() ? "checked" : ""; @endphp
id }}" {{ $checked }} />
@if($task->users->count() > 0)

{{ __('forms.lbl_completed') }} : {{ App\Services\DateUtils::parseIsoDate($task->users->first()->pivot->created_at)->diffForHumans() }}

@endif
@endforeach