@extends('layouts.admin') @section('title') {{ (\Auth::user()->id != $user->id) ? $user->name.__("'s Overview") : __('My Overview') }} @endsection @section('action-button') @endsection @php $logo = \App\Models\Utility::get_file('tasks/'); $logo_path=\App\Models\Utility::get_file('/'); @endphp @push('theme-script') @endpush @section('content')
{{ $user->name }} {{$role['role']}} {{ $user->email }} {{ (!empty($user->phone)) ? $user->phone : ''}}
@if(Auth::user()->id == $user->id) @endif
@if(!empty($user->skills)) @foreach(explode(',',$user->skills) as $skill) {{$skill}} @endforeach @else {{__('No Skills Found..!')}} @endif
{{__('Facebook')}}
{{ (!empty($user->facebook) ? $user->facebook : '-') }}

{{__('WhatsApp')}}
{{ (!empty($user->whatsapp) ? $user->whatsapp : '-') }}

{{__('Instagram')}}
{{ (!empty($user->instagram) ? $user->instagram : '-') }}

{{__('LinkedIn')}}
{{ (!empty($user->likedin) ? $user->likedin : '-') }}
@if($role['role'] != 'Client')
{{__('Time Logged on Timesheet')}}
{{ $user_data['timesheet_timelog'] }}

{{__('Total Completed Task')}}
{{ $user_data['complete_task'] }}

{{__('Total Open Task')}}
{{ $user_data['open_task'] }}
@endif
@if($role['role'] != 'Client')
{{__('Timesheet Logged Hours')}}
{{__('Last 7 days')}}
@endif
{{__('My Projects')}}
@include('users.project')
@if($role['role'] == 'Client')
{{__('Top Due Tasks')}}
@include('users.due_tasks')
@endif
@if($role['role'] != 'Client')
{{__('Total Tasks Report')}}
{{ $user_data['task_report']['done'] }} {{__('Done')}}
{{ $user_data['task_report']['open'] }} {{__('Open')}}
{{__('Recent Attachments')}}
{{__('That uploaded for this user\'s assigned project')}}
@if($user_data['task_files']->count() > 0) @foreach($user_data['task_files'] as $task_file)
{{ $task_file->name }}

{{ $task_file->file_size }}

@endforeach @else
{{__('No Attachments Found.')}}
@endif
{{__('Top Due Tasks')}}
@include('users.due_tasks')
@endif @endsection @push('script') @if($role['role'] != 'Client') @endif @endpush