@extends('layouts.AdminLTE.index') @section('icon_page', 'eye') @section('title', 'View User') @section('menu_pagina')
  • Users
  • @endsection @section('content') @if ($user->id != 1)

    @if(file_exists($user->avatar)) @else @endif

    {{ $user->name }}

    @if($user->active == true) Active @else Inactive @endif

    E-mail:

    {{ $user->email }}

    Permission Group

    @foreach($roles as $role) @if(in_array($role->id, $roles_ids)) {{ $role->name }} @endif @endforeach

    Created on: {{$user->created_at->format('d/m/Y H:i') }}

    Last update: {{$user->updated_at->format('d/m/Y H:i') }}


    @endif @endsection