@extends('layouts.master') @section('content')
@csrf
@if ($errors->has('department_id')) {{ $errors->first('department_id') }} @endif
@if ($errors->has('name')) {{ $errors->first('name') }} @endif
@foreach($permission as $value)
 
@endforeach
@if ($errors->has('permission')) {{ $errors->first('permission') }} @endif
@endsection