{{-- Observations Timeline / Feed --}}
@forelse($observations as $observation) {{-- Observation Card with dynamic border color based on status --}}
{{-- Top Actions & Stage Badge --}}
{{ $observation->stage->label() }} {{ $observation->status->label() }}
{{-- Dropdown Menu --}} @if ( $observation->status === \App\Enums\SaleTicketObservationEnum::PENDING && auth()->user()->can('finalize_sales_ticket_comment'))
@csrf @method('PATCH')
{{ __('Mark as answered') }}
@endif
{{-- Observation Message --}}
{{ $observation->message }}
{{-- Footer Metadata --}}
{{ $observation->user->name }}
Created {{ $observation->created_at->diffForHumans() }} @if ($observation->responded_at) Answered {{ $observation->responded_at->diffForHumans() }} @endif
@empty {{-- Empty State --}}

{{ __('No observations found') }}

@endforelse