@extends('layouts.admin') @section('page', 'Profile') @section('navigation')
  • Account
  • NAVIGATION
  • Dashboard
  • @canany(['project_see', 'status_see'])
  • Projects
  • @endcanany @endsection @section('content')

    {{ $user->fullname() }}

    Back

    ID: #{{ $user->id }}
    First Name: {{ $user->firstname }}
    Sur Name: {{ $user->surname }}

    Roles: @php($roles = $user->roles->sortBy('index')->all()) @if(!empty($roles)) {!! implode(' ', array_map(function ($v, $k) { return ''.$v->readable_name.''; }, $roles, array_keys($roles))) !!} @else None @endif

    Permissions: @php($permissions = $user->permissions->all()) @if(!empty($permissions)) {!! implode(' ', array_map(function ($v, $k) { return ''.$v->name.''; }, $permissions, array_keys($permissions))) !!} @else None @endif

    @endsection