@extends('layouts.app') @push('styles') @if ((!is_null($viewEventPermission) && $viewEventPermission != 'none') || (!is_null($viewHolidayPermission) && $viewHolidayPermission != 'none') || (!is_null($viewTaskPermission) && $viewTaskPermission != 'none') || (!is_null($viewTicketsPermission) && $viewTicketsPermission != 'none') || (!is_null($viewLeavePermission) && $viewLeavePermission != 'none') ) @endif @endpush @section('content')
{!! now()->timezone(company()->timezone)->format(company()->time_format) . '' . now()->timezone(company()->timezone)->format('l') . '' !!} @if (!is_null($currentClockIn)) @lang('app.clockInAt') - {{ $currentClockIn->clock_in_time->timezone(company()->timezone)->format(company()->time_format) }} @endif
@if (in_array('attendance', user_modules()) && $cannotLogin == false) @if (is_null($currentClockIn) && is_null($checkTodayLeave) && is_null($checkTodayHoliday)) @endif @endif @if (!is_null($currentClockIn) && is_null($currentClockIn->clock_out_time)) @endif @if (in_array('admin', user_roles())) @endif{{ $user->employeeDetails->designation->name ?? '--' }}
@lang('app.employeeId') : {{ mb_strtoupper($user->employeeDetails->employee_id) }}
@php $endTime = now(); $totalHours = $endTime->diff($myActiveTimer->start_time)->format('%d') * 24 + $endTime->diff($myActiveTimer->start_time)->format('%H'); $totalMinutes = $totalHours * 60 + $endTime->diff($myActiveTimer->start_time)->format('%i'); $totalMinutes = $totalMinutes - $myActiveTimer->breaks->sum('total_minutes'); $timeLog = intdiv($totalMinutes, 60) . ' ' . __('app.hrs') . ' '; if ($totalMinutes % 60 > 0) { $timeLog .= $totalMinutes % 60 . ' ' . __('app.mins'); } @endphp @lang('modules.timeLogs.totalHours'): {{ $timeLog }}
@foreach ($task->labels as $label) {{ $label->label_name }} @endforeach
@lang('app.menu.notices')