@extends('layouts.app-admin') @section('content')
{{ __('all.users') }}
@if($users->count()) @foreach($users as $user) @endforeach @endif
{{ __('all.code') }} {{ __('all.user') }} {{ __('all.age') }} {{ __('all.association') }} {{ __('all.group') }} {{ __('all.subgroup') }} {{ __('all.data_protection') }} {{ __('all.signature_date') }} {{ __('all.photo') }} {{ __('all.active') }} {{ __('all.actions') }}
{{$user->code}} {{$user->first_name}} {{$user->last_name}} {{$user->age}} {{$user->association}} {{$user->group}} {{$user->subgroup}} @if($user->data_protection == 0) {{ __('all.pending') }} @else {{ __('all.signed') }} @endif @if($user->data_protection_date) {{Carbon\Carbon::parse($user->data_protection_date)->format('d/m/Y H:i')}} @else ----- @endif
@if($user->photo) @else @endif
@if($user->active === 1) {{ __('all.activated') }} @else {{ __('all.deactivated') }} @endif
{{-- --}} @if($user->active === 1) @else @endif
@endsection