@extends('layouts.admin') @section('title', 'Daftar Departemen') @section('breadcrumb') Departemen @endsection @section('header')

Daftar Departemen

Kelola struktur departemen perusahaan Anda.

Import Tambah Departemen
@endsection @section('content') {{-- Filters --}}
{{-- Search --}}
{{-- Status --}}
@if(request()->hasAny(['search', 'is_active'])) Reset @endif
{{-- Department List --}}
Departemen Kode Jumlah Karyawan Jumlah Jabatan Status Aksi @forelse($departments as $department)
{{ $department->name }} @if($department->parent)

Induk: {{ $department->parent->name }}

@endif
@if($department->code) {{ $department->code }} @else - @endif {{ $department->employees_count }} orang {{ $department->positions->count() }} jabatan @if($department->is_active) Aktif @else Nonaktif @endif @empty

Belum ada data departemen.

Tambah Departemen
@endforelse
@if($departments->hasPages()) @endif
@endsection