@extends('layouts.app') @section('breadcrumb')

@lang('Show User')

@endsection @section('content')
@lang('Full Name'): {{ $user->name }}
@lang('Email'): {{ $user->email }}
@lang('Work phone'): {{ $user->phone }}
@lang('Mobile phone'): {{ $user->mobile }}
@lang('Roles'): @if(!empty($user->getRoleNames())) @foreach($user->getRoleNames() as $v) @endforeach @endif
@lang('Groups'): @if(!empty($user->groups)) @foreach($user->groups as $g) @endforeach @endif
@lang('Clients'): @if(!empty($user->clients)) @foreach($user->clients as $c) @endforeach @endif
@if($user->is_ldap_user)

Данные по сотруднику из LDAP (Active Directory)

@if(!empty($user->ldap_position))
Должность: {{ $user->ldap_position }}
@endif @if(!empty($user->ldap_filial))
Филиал: {{ $user->ldap_filial }}
@endif @if(!empty($user->ldap_department))
Департамен: {{ $user->ldap_department }}
@endif @if(!empty($user->ldap_company))
Компания: {{ $user->ldap_company }}
@endif
@endif @endsection