@extends('layouts.admin')
@section('title', 'Manajemen Staff & Guru')
@section('page_title', 'Staff & Guru')
@section('page_subtitle', 'Kelola data staff, guru, dan pimpinan sekolah')
@section('content')
@if(session('success'))
{{ session('success') }}
@endif
| No |
Foto |
Nama |
Posisi |
Kategori |
Urutan |
Aksi |
@forelse($staff as $item)
| {{ $loop->iteration }} |
@if($item->image)
@else
No Img
@endif
|
{{ $item->name }}
{{ $item->nip }}
|
{{ $item->position }} |
@if($item->category == 'leadership')
Pimpinan
@elseif($item->category == 'teacher')
Guru
@else
Staff
@endif
|
{{ $item->order }} |
|
@empty
| Belum ada data staff. |
@endforelse
@endsection