@extends('layouts.management') @section('content')
Manage operational and functional departments operating across all station branches and hubs.
{{ session('success') }}
Total Departments
{{ $departments->count() }}
Active Departments
{{ $departments->where('status', true)->count() }}
Operating Branches
{{ $departments->pluck('branch_id')->filter()->unique()->count() }}
Functional sections mapped to their parent branches and designated leadership.
Create departments (e.g. Executive Kitchen, Catering Service, Cashier Counter) under your operating branches.
| Department | Department Head | Parent Branch | Status | Actions |
|---|---|---|---|---|
|
{{ substr($department->department_id, 0, 3) }}
{{ $department->name }}
{{ $department->department_id }}
|
@if($department->head)
{{ $department->head->name }}
{{ $department->head->email }}
@else
Unassigned
@endif
|
@if($department->branch) {{ $department->branch->name }} @else Unassigned @endif | @if($department->status) Active @else Inactive @endif | Edit |