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