        <div class="widget widget-table-one">
            <div class="widget-heading">
                <h5 class="">Waitlist Enrollments With Open Seats</h5>
            </div>
            @php $count = 0; @endphp
            @foreach ($waitListEnrollmentsReadyToAdd as $w)
                @if ($w->section->openSeats() > 0)
                    <div class="widget-content">
                        <div class="transactions-list t-info">
                            <div class="t-item">
                                <div class="t-company-name">
                                    <div class="t-icon">
                                        <div class="avatar">
                                            <span class="avatar-title">{{ substr($w->student->last_name, 0, 1) }}{{ substr($w->student->first_name, 0, 1) }}</span>
                                        </div>
                                    </div>
                                    <div class="t-name">
                                        <h4>{{ $w->student->last_name }}, {{ $w->student->first_name }}</h4>
                                        <p class="meta-date">{{ substr($w->section->course->name, 0, 35) }}</p>
                                    </div>
                                </div>
                                <div class="t-rate rate-inc">
                                    <p><span><a href="{{ route('enrollments.show', $w->id) }}">View</a> |
                                            <a href="{{ route('enrollments.edit', $w->id) }}">Edit</a></span>
                                    </p>
                                </div>
                            </div>
                        </div>
                    </div>
                @endif
            @endforeach
            @if($count == 0)
            <div class="dashboard-card">
                <h3>
                    <img src="/cork/src/assets/img/green-checkmark.png" height="50" width="50" class="green-checkmark" alt="Checkmark">
                    0
                </h3>
            </div>
            @endif
        </div>
