@extends('layouts.layout') @section('content') @foreach($tasks as $task) @endforeach
# Отдел Задача Статус Назначил Исполнители
{{ $task->id }} {{ $task->department->name }} {{ $task->name }}
@foreach($task->labels as $label) {{ $label->name }} @endforeach
{{ $task->status->name }} {{ $task->creator->name }} @foreach($task->users as $user) {{ $user->name }}
@endforeach
{{ $tasks->links() }} @endsection