@extends('layouts.app') @section('title', 'Bug Detail - ' . $bug->title) @section('breadcrumb') @endsection @section('content')
{{ $bug->title }}
{{ ucfirst($bug->status) }} {{ ucfirst($bug->severity) }} {{ ucfirst($bug->type) }}
Description

{{ $bug->description }}

@if($bug->error_data)
Error Details
{{ json_encode($bug->error_data, JSON_PRETTY_PRINT) }}
@endif @if($bug->stack_trace)
Stack Trace
{{ $bug->stack_trace }}
@endif @if($bug->environment_data)
Environment Information
@foreach($bug->environment_data as $key => $value)
{{ ucfirst(str_replace('_', ' ', $key)) }}: {{ is_array($value) ? json_encode($value) : $value }}
@endforeach
@endif @if($bug->resolution_notes)
Resolution Notes

{{ $bug->resolution_notes }}

@endif
Bug Information
ID:
#{{ $bug->id }}
Module:
@if($bug->module) {{ $bug->module }} @else N/A @endif
URL:
@if($bug->url) {{ Str::limit($bug->url, 30) }} @else N/A @endif
Occurrences:
{{ $bug->occurrence_count }}x
Reported By:
@if($bug->user)
{{ $bug->user->name }}
{{ $bug->user->email }} @else System @endif
Created:
{{ $bug->created_at->format('M d, Y') }}
{{ $bug->created_at->format('H:i:s') }}
Last Occurred:
{{ $bug->last_occurred_at->format('M d, Y') }}
{{ $bug->last_occurred_at->format('H:i:s') }}
@if($bug->resolved_at)
Resolved:
{{ $bug->resolved_at->format('M d, Y') }}
{{ $bug->resolved_at->format('H:i:s') }}
@endif @if($bug->resolver)
Resolved By:
{{ $bug->resolver->name }}
{{ $bug->resolver->email }}
@endif
Update Status
@csrf @method('PUT')
Back to List
Actions
@if($bug->status !== 'resolved')
@csrf @method('PUT')
@endif
@csrf @method('DELETE')
@endsection