@php $check = false; $otherCheck = false; $queueCount = 1; @endphp @foreach ($projects as $key => $project) @if ($loop->first && $project->status_text == 'In Progress')
{{ $project->status_text ?? '' }} Projects
@elseif ($project->status_text == 'In Queue') @if (!$check)
{{ $project->status_text ?? '' }} Projects
@endif @elseif ($project->status_text == 'Revision in Queue') @if (!$otherCheck)
{{ $project->status_text ?? '' }} Projects
@endif @else @if ($loop->first)
@endif @endif @if ($lastLoaded && $loop->iteration > $lastLoaded)

@else
@if ($project->getComments->count() > 0) @endif

{{ $project->title ?? '' }}

schedule {{ $project->created_at->format('d M Y') ?? '' }}

@if ($project->status_text == 'In Queue')
drag_indicator
@endif
@endif @if ($project->status_text == 'In Queue') @php $check = true; @endphp @php $queueCount++; @endphp @endif @if ($project->status_text == 'Revision in Queue') @php $otherCheck = true; @endphp @endif @if ($loop->last)
@endif @endforeach