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

{{ __($pageTitle) }}

@endsection @push('head-script') @endpush @section('content')
@if(in_array('projects',$modules)) @endif @if(in_array('timelogs',$modules)) @endif @if(in_array('tasks',$modules)) @endif
@if(in_array('attendance',$modules))
@lang('app.menu.attendance')
@if (!isset($noClockIn)) @if(!$checkTodayHoliday) @if($todayTotalClockin < $maxAttandenceInDay)

@lang('modules.attendance.clock_in')

@lang('modules.attendance.clock_in') IP

@if(is_null($currenntClockIn)) {{ \Carbon\Carbon::now()->timezone($global->timezone)->format($global->time_format) }} @else {{ $currenntClockIn->clock_in_time->timezone($global->timezone)->format($global->time_format) }} @endif
{{ $currenntClockIn->clock_in_ip ?? request()->ip() }}
@if(!is_null($currenntClockIn) && !is_null($currenntClockIn->clock_out_time))

{{ $currenntClockIn->clock_out_time->timezone($global->timezone)->format($global->time_format) }}

{{ $currenntClockIn->clock_out_ip }}
@endif
@if(is_null($currenntClockIn)) @else
{{ $currenntClockIn->working_from }} @endif
@if(is_null($currenntClockIn)) @endif @if(!is_null($currenntClockIn) && is_null($currenntClockIn->clock_out_time)) @endif
@else
@lang('modules.attendance.maxColckIn')
@endif @else
@lang('modules.dashboard.holidayCheck') {{ ucwords($checkTodayHoliday->occassion) }}.
@endif @else

@lang('messages.officeTimeOver')

@endif
@endif @if(in_array('tasks',$modules))
@lang('modules.dashboard.overdueTasks')
  • @lang('app.title') @lang('app.dueDate')
  • @forelse($pendingTasks as $key=>$task) @if((!is_null($task->project_id) && !is_null($task->project) ) || is_null($task->project_id))
  • {!! ($key+1).'. '.ucfirst($task->heading).'' !!} @if(!is_null($task->project_id) && !is_null($task->project)) {{ ucwords($task->project->project_name) }} @endif
  • @endif @empty
  • @lang("messages.noOpenTasks")
  • @endforelse
@endif
@if(in_array('projects',$modules))
@lang('modules.dashboard.projectActivityTimeline')
@forelse($projectActivities as $activity)
{{ ucwords($activity->project_name) }}: {{ $activity->activity }}
{{ $activity->created_at->timezone($global->timezone)->diffForHumans() }}
@empty
@lang("messages.noProjectActivity")
@endforelse
@endif @if(in_array('notices',$modules) && $user->cans('view_notice'))
@lang('modules.module.noticeBoard')
@foreach($notices as $notice)
{{ ucwords($notice->heading) }}
{{ $notice->created_at->timezone($global->timezone)->diffForHumans() }}
@endforeach
@endif @if(in_array('employees',$modules))
@lang('modules.dashboard.userActivityTimeline')
@forelse($userActivities as $key=>$activity)
user'
@if($user->cans('view_employees')) {{ ucwords($activity->user->name) }} @else {{ ucwords($activity->user->name) }} @endif {{ $activity->created_at->timezone($global->timezone)->diffForHumans() }}

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

@if(count($userActivities) > ($key+1))
@endif @empty
@lang("messages.noActivityByThisUser")
@endforelse
@endif
{{--Timer Modal--}} {{--Timer Modal Ends--}} {{--Ajax Modal--}} {{--Ajax Modal Ends--}} @endsection @push('footer-script') @if ($attendanceSettings->radius_check == 'yes') @endif @endpush