Re-Appear @if (Auth::user()->role == 3 || Auth::user()->role == 2) Add New @endif
Download
Import
@foreach ($reappear as $index => $item) @scope('cell_id', $std) {{ $loop->iteration }} @endscope @scope('cell_program_id', $item) {{ \Carbon\Carbon::parse($item->program->start_date)->format('d-M-Y') . ' To '. \Carbon\Carbon::parse($item->program->end_date)->format('d-M-Y')}} @endscope @scope('cell_re_appear_program_id', $item) {{ \Carbon\Carbon::parse($item->reappear_program->start_date)->format('d-M-Y') . ' To '. \Carbon\Carbon::parse($item->reappear_program->end_date)->format('d-M-Y')}} @endscope @scope('cell_reappear_course', $item) @php $courseIds = explode(', ', $item->reappear_course); $courseNames = \App\Models\Course::whereIn('id', $courseIds)->pluck('name')->toArray(); $courseNamesString = implode(', ', $courseNames); @endphp {{ $courseNamesString }} @endscope @scope('cell_status', $item) {{ $item->status }} @endscope @scope('cell_actions', $item)
@if ($item->status !== 'Approved') @else @endif
@endscope @endforeach
Click 'Confirm' to permanently delete the caste.