@extends('layouts.app') @section('title', 'Edit Department') @section('content')

Edit Department - {{ $department->name }}

Update department information and details

@if(session('error')) @endif
@csrf @method('PUT')
Basic Information
@if($isps->count() > 0) @if($isps->count() == 1) @php $isp = $isps->first(); @endphp
{{ $isp->name }} ({{ $isp->code }})
@else @endif @else
No ISP/Branch assigned to your account. Please contact administrator.
@endif @error('isp_id')
{{ $message }}
@enderror Select the ISP this department belongs to (Required)
@error('name')
{{ $message }}
@enderror
@error('code')
{{ $message }}
@enderror Unique code for the department (optional, will be converted to uppercase)
@error('description')
{{ $message }}
@enderror
Department Head Information
@error('head_name')
{{ $message }}
@enderror
@error('head_email')
{{ $message }}
@enderror
@error('head_phone')
{{ $message }}
@enderror
Status
is_active) ? 'checked' : '' }}>
Uncheck to deactivate this department
Cancel View Department
@endsection