@extends('layouts.app') @section('css') @endsection @section('content')
{{ __('Task List') }}
@if(Helpers::has_permission(Auth::user()->id, 'add_task'))  {{ __('New Task') }} @endif
@foreach($summary as $key=>$data) @php if ($data['color']) { $color = $data['color']; } else { $color = '008000'; } @endphp
{{ $data['name'] }}
{{ $data['total_status'] }}
@if($allassignee != Auth::user()->id) {{ __('Assign to me') }}: {{ $assign_to_me[$key] }} @endif
@endforeach
{!! $dataTable->table(['class' => 'table table-striped table-hover dt-responsive', 'width' => '100%', 'cellspacing' => '0']) !!} @if (isset($task) && !empty($task)) {{ $task->name }} @endif
@include('admin.task.details') @endsection @section('js') {!! $dataTable->scripts() !!} @include('admin.task.details_script') @endsection