@extends('layouts.admin') @php $permissions = Auth::user()->getPermission($project->id); $client_keyword = Auth::user()->getGuard() == 'client' ? 'client.' : ''; @endphp @php $logo = \App\Models\Utility::get_file('users-avatar/'); $logo_tasks = \App\Models\Utility::get_file('tasks/'); @endphp @push('css-page') @endpush @section('page-title') {{ __('Bug Report') }} @endsection @section('links') @if (\Auth::guard('client')->check()) @else @endif @if (\Auth::guard('client')->check()) @else @endif @endsection @section('action-button') @if ( (isset($permissions) && in_array('create bug report', $permissions)) || ($currentWorkspace && $currentWorkspace->permission == 'Owner')) @endif @endsection @section('content')
@if ($project && $currentWorkspace)
@foreach ($stages as $stage)

{{ $stage->name }}

@foreach ($stage->bugs as $bug)
@if ($bug->priority == 'Low')
{{ $bug->priority }}
@elseif($bug->priority == 'Medium')
{{ $bug->priority }}
@elseif($bug->priority == 'High')
{{ $bug->priority }}
@endif
@if ($currentWorkspace->permission == 'Owner' || isset($permissions)) @endif
  • {{ $bug->comments->count() }} {{ __('Comments') }}
@endforeach
@endforeach
@else

404

{{ __('Page Not Found') }}
@endif
@endsection @if ($project && $currentWorkspace) @push('scripts') @endpush @endif