@extends('layout') @section('actions')
Add a Department
@endsection @section('title') Departmentss Control @endsection @section('content')
@foreach($page['departments'] as $department) @endforeach
# Department Scope Actions
{{ $index++ }} {{ $department->name }} P:{{ $department->policies_count }} M:{{ $department->users_count }}
Edit
@if(count($department->unassigned_users))
{!! csrf_field() !!}
@endif
    @foreach($department->users as $user)
  • ID: {{$user->employee_id}} {{$user->name }}
    Remove View
    {!! csrf_field() !!}
  • @endforeach
@endsection