@extends('Admin.Layout.Master') @section('css') @endsection @section('content-header')

Department

@endsection @section('content')
@csrf @if ($id) @method('put') @endif
@error('department_name') {{ $message }} @enderror
@if($id)
is_active == 1 ? 'checked' : '') : 'checked' }}> Active
is_active == 0 ? 'checked' : '' }}> Deactive
@endif
@error('remark') {{ $message }} @enderror
@if (!$id) @endif @if ($id) @endif Cancel
@endsection @push('scripts') @endpush