{{ trans('admin/users/table.name') }}
{{ $user->present()->fullName() }}
@if (!is_null($user->company))
{{ trans('general.company') }}
{{ $user->company->name }}
@endif
{{ trans('admin/users/table.username') }}
@if ($user->isSuperUser())
@elseif ($user->hasAccess('admin'))
@endif
{{ $user->username }}
@if (($user->address) || ($user->city) || ($user->state) || ($user->country))
{{ trans('general.address') }}
@if ($user->address)
{{ $user->address }}
@endif
@if ($user->city)
{{ $user->city }}
@endif
@if ($user->state)
{{ $user->state }}
@endif
@if ($user->country)
{{ $user->country }}
@endif
@if ($user->zip)
{{ $user->zip }}
@endif
@endif
{{ trans('general.groups') }}
@if ($user->groups->count() > 0)
@foreach ($user->groups as $group)
@can('superadmin')
{{ $group->name }}
@else
{{ $group->name }}
@endcan
@endforeach
@else
--
@endif
@if ($user->start_date)
{{ trans('general.start_date') }}
{{ \App\Helpers\Helper::getFormattedDateObject($user->start_date, 'date', false) }}
@endif
@if ($user->end_date)
{{ trans('general.end_date') }}
{{ \App\Helpers\Helper::getFormattedDateObject($user->end_date, 'date', false) }}
@endif
@if ($user->jobtitle)
{{ trans('admin/users/table.job') }}
{{ $user->jobtitle }}
@endif
@if ($user->employee_num)
{{ trans('admin/users/table.employee_num') }}
{{ $user->employee_num }}
@endif
@if ($user->manager)
{{ trans('admin/users/table.manager') }}
@endif
@if ($user->email)
{{ trans('admin/users/table.email') }}
@endif
@if ($user->phone)
{{ trans('general.website') }}
@endif
@if ($user->phone)
{{ trans('admin/users/table.phone') }}
@endif
@if ($user->userloc)
{{ trans('admin/users/table.location') }}
{{ link_to_route('locations.show', $user->userloc->name, [$user->userloc->id]) }}
@endif
{{ trans('general.last_login') }}
{{ \App\Helpers\Helper::getFormattedDateObject($user->last_login, 'datetime', false) }}
@if ($user->department)
{{ trans('general.department') }}
@endif
@if ($user->created_at)
{{ trans('general.created_at') }}
{{ \App\Helpers\Helper::getFormattedDateObject($user->created_at, 'datetime')['formatted']}}
@if ($user->createdBy)
-
@if ($user->createdBy->deleted_at=='')
{{ $user->createdBy->present()->fullName }}
@else
{{ $user->createdBy->present()->fullName }}
@endif
@endif
@endif
{{ trans('admin/users/general.vip_label') }}
{!! ($user->vip=='1') ? ' '.trans('general.yes') : ' '.trans('general.no') !!}
{{ trans('admin/users/general.remote') }}
{!! ($user->remote=='1') ? ' '.trans('general.yes') : ' '.trans('general.no') !!}
{{ trans('general.login_enabled') }}
{!! ($user->activated=='1') ? ' '.trans('general.yes') : ' '.trans('general.no') !!}
{{ trans('general.autoassign_licenses') }}
{!! ($user->autoassign_licenses=='1') ? ' '.trans('general.yes') : ' '.trans('general.no') !!}
LDAP
{!! ($user->ldap_import=='1') ? ' '.trans('general.yes') : ' '.trans('general.no') !!}
@if ($user->activated == '1')
{{ trans('admin/users/general.two_factor_active') }}
{!! ($user->two_factor_active()) ? ' '.trans('general.yes') : ' '.trans('general.no') !!}
{{ trans('admin/users/general.two_factor_enrolled') }}
{!! ($user->two_factor_active_and_enrolled()) ? ' '.trans('general.yes') : ' '.trans('general.no') !!}
@if ((Auth::user()->isSuperUser()) && ($snipeSettings->two_factor_enabled!='0') && ($snipeSettings->two_factor_enabled!=''))
@endif
@endif
@if ($user->notes)
{{ trans('admin/users/table.notes') }}
{!! nl2br(Helper::parseEscapedMarkedownInline($user->notes)) !!}
@endif
@if($user->getUserTotalCost()->total_user_cost > 0)
{{ trans('admin/users/table.total_assets_cost') }}
{{trans('general.assets').': '. Helper::formatCurrencyOutput($user->getUserTotalCost()->asset_cost)}}
{{trans('general.licenses').': '. Helper::formatCurrencyOutput($user->getUserTotalCost()->license_cost)}}
{{trans('general.accessories').': '.Helper::formatCurrencyOutput($user->getUserTotalCost()->accessory_cost)}}
@endif