@extends('layouts.member-app') @section('page-title')

{{ __($pageTitle) }}

@endsection @push('head-script') @endpush @section('content')
user
user

{{ ucwords($employee->name) }}

{{ $employee->email }}
{{--

@lang('modules.employees.tasksDone')

{{ $taskCompleted }}

@lang('modules.employees.hoursLogged')

{{ floor($hoursLogged) }}
--}}

@lang('modules.employees.tasksDone')

{{ $taskCompleted }}

@lang('modules.employees.hoursLogged')

{{ $hoursLogged }}
@forelse($activities as $key=>$activity)
user'
{{ ucwords($employee->name) }} {{ $activity->created_at->diffForHumans() }}

{!! ucfirst($activity->activity) !!}

@if(count($activities) > ($key+1))
@endif @empty
@lang('messages.noActivityByThisUser')
@endforelse
@lang('modules.employees.employeeId')

{{ ucwords($employee->employeeDetail->employee_id) }}

@lang('modules.employees.fullName')

{{ ucwords($employee->name) }}

@lang('app.mobile')

{{ $employee->mobile ?? '-'}}


@lang('app.email')

{{ $employee->email }}

@lang('app.address')

{{ (!is_null($employee->employeeDetail)) ? $employee->employeeDetail->address : '-'}}


@lang('app.designation')

{{ (!is_null($employee->employeeDetail) && !is_null($employee->employeeDetail->designation)) ? ucwords($employee->employeeDetail->designation->name) : '-' }}

@lang('modules.employees.hourlyRate')

{{ (!is_null($employee->employeeDetail)) ? $employee->employeeDetail->hourly_rate : '-' }}


@lang('modules.employees.slackUsername')

{{ (!is_null($employee->employeeDetail)) ? '@'.$employee->employeeDetail->slack_username : '-' }}

{{--Custom fields data--}} @if(isset($fields))

@foreach($fields as $field)
{{ ucfirst($field->label) }}

@if( $field->type == 'text') {{$employeeDetail->custom_fields_data['field_'.$field->id] ?? ''}} @elseif($field->type == 'password') {{$employeeDetail->custom_fields_data['field_'.$field->id] ?? ''}} @elseif($field->type == 'number') {{$employeeDetail->custom_fields_data['field_'.$field->id] ?? ''}} @elseif($field->type == 'textarea') {{$employeeDetail->custom_fields_data['field_'.$field->id] ?? ''}} @elseif($field->type == 'radio') {{ !is_null($employeeDetail->custom_fields_data['field_'.$field->id]) ? $employeeDetail->custom_fields_data['field_'.$field->id] : '-' }} @elseif($field->type == 'select') {{ (!is_null($employeeDetail->custom_fields_data['field_'.$field->id]) && $employeeDetail->custom_fields_data['field_'.$field->id] != '') ? $field->values[$employeeDetail->custom_fields_data['field_'.$field->id]] : '-' }} @elseif($field->type == 'checkbox') {{ !is_null($employeeDetail->custom_fields_data['field_'.$field->id]) ? $field->values[$employeeDetail->custom_fields_data['field_'.$field->id]] : '-' }} @elseif($field->type == 'date') {{ isset($employeeDetail->custom_fields_data['field_'.$field->id])? Carbon\Carbon::parse($employeeDetail->custom_fields_data['field_'.$field->id])->format($global->date_format): ''}} @endif

@endforeach
@endif {{--custom fields data end--}}
@forelse($projects as $key=>$project) @empty @endforelse
# @lang('app.project') @lang('app.deadline') @lang('app.completion')
{{ $key+1 }} {{ ucwords($project->project_name) }} @if($project->deadline){{ $project->deadline->format($global->date_format) }}@else - @endif
@lang('app.completed'){{ $project->completion_percent }}%
{{ $project->completion_percent }}% @lang('app.completed')
@lang('messages.noProjectFound')

@lang('app.id') @lang('app.project') @lang('app.task') @lang('app.dueDate') @lang('app.status')
@lang('app.id') @lang('app.project') @lang('modules.employees.startTime') @lang('modules.employees.endTime') @lang('modules.employees.totalHours') @lang('modules.employees.memo')
@forelse($employeeDocs as $key=>$employeeDoc) @empty @endforelse
# @lang('app.name') @lang('app.action')
{{ $key+1 }} {{ ucwords($employeeDoc->name) }}
@lang('messages.noDocsFound')
{{--Ajax Modal--}} {{--Ajax Modal Ends--}} @endsection @push('footer-script')