@extends('admin.layouts.app') @section('title', 'Role List') @section('content')
@if (session('success'))
{{ session('success') }}
@endif @if (session('error'))
{{ session('error') }}
@endif

Role List

@if (isset($roles) && count($roles) > 0) @foreach ($roles as $role) @endforeach @endif
Name Department Actions
{{ $role->actual_name }} {{ $role->department->name }}
@endsection