@forelse($observations as $observation) {{-- Observation Card with dynamic border color based on status --}}
{{-- Línea de tiempo dinámica --}}
{{-- Top Actions & Stage Badge --}}
{{-- Stage Badge --}} {{ $observation->stage->label() }} {{-- Status Badge --}} {{ $observation->status->label() }}
{{-- Dropdown Menu (Administrative Actions) --}} @if ( $observation->status === \App\Enums\PurchaseTicketStatusObservationEnum::PENDING && auth()->user()->can('finalize_sales_ticket_comment'))
@csrf @method('PATCH')
{{ __('Mark as answered') }}
@endif
{{-- Observation Message --}}
{{ $observation->observation }}
{{-- Footer Metadata --}}
{{-- Author Info --}}
{{ $observation->user->name }}
{{-- Timeline Details --}}
Created {{ $observation->created_at->diffForHumans() }} @if ($observation->responded_at) Responded {{ $observation->responded_at->diffForHumans() }} @endif
@empty {{-- Empty State --}}

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

{{ __('Everything seems to be in order with this ticket.') }}

@endforelse