{{-- Nurses Table Partial --}} @php $headers = [ ['label' => 'User', 'class' => ''], ['label' => 'Specialty', 'class' => ''], ['label' => 'License', 'class' => ''], ['label' => 'Experience', 'class' => ''], ['label' => 'Applications', 'class' => 'w-28'], ['label' => 'Shortlisted', 'class' => 'w-24'], ['label' => 'Interview', 'class' => 'w-24'], ['label' => 'Rejected', 'class' => 'w-24'], ['label' => 'Status', 'class' => ''], ['label' => 'Actions', 'class' => 'text-right'], ]; $rows = []; foreach($nurses as $nurse) { $rows[] = [ 'cells' => [ [ 'content' => '
' . $nurse->name . '
' . $nurse->email . '