My Tasks
@foreach($tasks as $task)
{{ $task->title }}
@if($task->completed_at)
Completed
@endif
{{ $task->description }}
@if($task->owner && ($ownerLabel = $task->ownerLabel()))
@if($ownerRoute = $task->ownerRoute())
{{ $ownerLabel }}
@else
{{ $ownerLabel }}
@endif
@endif
@if($task->completed_at)
Completed {{ $task->completed_at->format('d/m/Y H:i') }}
@else
Due {{ $task->due_at->format('d/m/Y H:i') }}
@endif
@if(!$task->completed_at)
@endif
@endforeach