@if($objection->deadline)
Objection Deadline: {{ $objection->deadline->format('M d, Y') }}
({{ $objection->deadline->diffForHumans() }})
@endif

Planning reference:

{{ $objection->planning_reference }}

{{ $objection->title }}

{{ ucfirst($objection->status) }}
@if (session('status'))
{{ session('status') }}
@endif

Start a new discussion thread

@csrf
@foreach($topics as $topic) @endforeach
@forelse ($threads as $thread)
{{ $thread->user->initials }}
{{ $thread->user->name }} @if($thread->user_id === $objection->user_id) Owner @endif @if($thread->is_pinned) Pinned @endif
{{ $thread->created_at->format('d M Y, H:i') }} @if($thread->topics->count() > 0)
@foreach($thread->topics as $topic) {{ $topic->name }} @endforeach
@endif
@if(auth()->id() === $objection->user_id)
@csrf @method('PATCH')
@endif
{{ $thread->body }}
@if($thread->replies->count() > 0)

{{ $thread->replies->count() }} {{ Str::plural('Reply', $thread->replies->count()) }}

@foreach($thread->replies as $reply)
{{ $reply->user->initials }}
{{ $reply->user->name }} @if($reply->user_id === $objection->user_id) Owner @endif {{ $reply->created_at->diffForHumans() }}
{{ $reply->body }}
@endforeach
@endif
@csrf
@empty

No discussion yet

Be the first to start a thread on this objection.

@endforelse