@php $logo = \App\Models\Utility::get_file('avatars/'); $logo_tasks = \App\Models\Utility::get_file('tasks/'); $client_keyword = Auth::user()->getGuard() == 'client' ? 'client.' : ''; @endphp @if ($currentWorkspace && $bug)
{{ __('Description') }}:

{{ $bug->description }}

{{ __('Create Date') }}

{{ \App\Models\Utility::dateFormat($bug->created_at) }}

{{ __('Assigned') }}
user->avatar) src="{{ $logo . $bug->user->avatar }}" @else avatar="{{ $bug->user->name }}" @endif class="rounded-circle mt-1 w-20">
{{-- bug report comment --}}
@if ($currentWorkspace->is_chagpt_enable()) @endif
    @foreach ($bug->comments as $comment)
  • user_type != 'Client') @if ($comment->user->avatar) src="{{ $logo . $comment->user->avatar }}" @else avatar="{{ $comment->user->name }}" @endif alt="{{ $comment->user->name }}" @else avatar="{{ $comment->client->name }}" alt="{{ $comment->client->name }}" @endif />
    @if ($comment->user_type != 'Client') {{ $comment->user->name }} @else {{ $comment->client->name }} @endif
    {{ $comment->comment }} @auth('web') @endauth
  • @endforeach
{{-- end --}} {{-- for sending files --}}
@csrf

@foreach ($bug->bugFiles as $file)
{{-- {{ $file->extension }} --}}
{{ $file->name }}

{{ $file->file_size }}

@endforeach
{{-- end --}}
@else

404

{{ __('Page Not Found') }}
@endif