@props(['task']) @php $user = getAuthenticatedUser(); $showSettings = $user->can('edit_tasks') || $user->can('delete_tasks') || $user->can('create_tasks'); $webGuard = Auth::guard('web')->check(); $canEditTasks = $user->can('edit_tasks'); $canDeleteTasks = $user->can('delete_tasks'); $canDuplicateTasks = $user->can('create_tasks'); @endphp
{{ $task->title }}
@if(Auth::guard('web')->check() || $task->client_can_discuss) @endif @if ($showSettings) @endif
{{ $task->project->title }}