@extends('layout.main') @push('css') @endpush @section('content')
@include('shared.errors')
profile_photo ?? 'avatar.jpg' }} class='rounded-circle fixed-size-img'>

{{ $employee->full_name }} ({{ $user->username }})

{{ $employee->designation->designation_name ?? '' }}, {{ $employee->department->department_name ?? '' }}

{{ __('Last Login') }}: {{ date('d-m-Y H:i:s', strtotime(str_replace('--', ' ', $user->last_login_date))) }}

{{ __('My Office Shift') }}: @if (!$shift_in) {{ __('No Shift Today') }} @else {{ \Carbon\Carbon::parse($shift_in)->format('H:i') }} - {{ \Carbon\Carbon::parse($shift_out)->format('H:i') }} @endif ({{ $shift_name }})

{{ trans('file.Profile') }} @if (env('ENABLE_CLOCKIN_CLOCKOUT') != null)
@csrf @if (!$employee_attendance || $employee_attendance->clock_in_out == 0) @else @endif {{--
--}} @if ($employee->attendance_type == 'ip_based' && $ipCheck != true) [Please login with your office's internet to clock in or clock out] @endif
@endif

Leave

{{ __(' View Leave Info') }}

Travel

{{ __('View Travel Info') }}
@endsection