JFIFxxC      C  " }!1AQa"q2#BR$3br %&'()*456789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz w!1AQaq"2B #3Rbr
@if (count($tasks) > 0) @foreach ($tasks as $task) @php $checkProject = \Auth::user()->checkProject($task->project_id); @endphp @endforeach @else @endif
{{ __('Name') }} {{ __('Stage') }} {{ __('Priority') }} {{ __('End Date') }} {{ __('Assigned To') }} {{ __('Completion') }}
{{ $task->name }}

{{ $task->project->project_name }}

{{ __($checkProject) }}
{{ $task->stage->name }} {{ __(\App\Models\ProjectTask::$priority[$task->priority]) }} {{ Utility::getDateFormated($task->end_date) }}
@php $users = []; $getUsers = App\Models\ProjectTask::getusers(); if (!empty($task->assign_to)) { foreach (explode(',', $task->assign_to) as $key_user) { $user['name'] = $getUsers[$key_user]['name']; $user['avatar'] = $getUsers[$key_user]['avatar']; $users[] = $user; } $taskuser = $users; } else { $taskuser = []; } @endphp @if (count($taskuser) > 0) @foreach ($taskuser as $key => $user) @endforeach @else {{ __('-') }} @endif
{{--
@php $users = $task->users(); @endphp @if ($users->count() > 0) @if ($users) @foreach ($users as $key => $user) @if ($key < 3) avatar) src="{{ asset('/storage/uploads/avatar/' . $user->avatar) }}" @else src="{{ asset('/storage/uploads/avatar/avatar.png') }}" @endif title="{{ $user->name }}" class="hweb"> @else @break @endif @endforeach @endif @if (count($users) > 3) avatar) src="{{ asset('/storage/uploads/avatar/' . $user->avatar) }}" @else src="{{ asset('/storage/uploads/avatar/avatar.png') }}" @endif class="hweb"> @endif @else {{ __('-') }} @endif
--}}
{{ $task->taskProgress($task)['percentage'] }}
{{ __('No tasks found') }}