{{ __('Timesheet') }} {{ format_date(Date('Y-m-d')) }}
{{ $totalHours }} {{ \Str::plural(__('Hour'), intval($totalHours)) }}
@if (!empty($clockedIn) && !empty($timeId)) @else @endif
@if (!empty($clockedIn) && !empty($timeStarted))

{{ __('Started At') }}

{{ format_date($timeStarted,'H:i:s A') }}
@endif
{{ __('Statistics') }}

{{ __('Today') }} {{ $totalHoursToday }} {{ \Str::plural(__('Hour'),$totalHoursToday) }}

{{ __('This Week ') }} {{ $totalHoursThisWeek }} {{ \Str::plural(__('Hour'),$totalHoursThisWeek) }}

{{ __('This Month') }} {{ $totalHoursThisMonth }} {{ \Str::plural(__('Hour'),$totalHoursToday) }}

{{ __('Today Activity') }}
    @if (!empty($todayActivity)) @foreach ($todayActivity as $item)
  • {{ __('Punch In at') }}

    {{ !empty($item->startTime) ? $item->startTime->format('H:i A'): '' }}

  • @if (!empty($item->endTime))
  • {{ __('Punch Out at') }}

    {{ !empty($item->endTime) ? $item->endTime->format('H:i A'): '' }}


  • @endif @endforeach @endif
@if (!empty($attendances)) @foreach ($attendances as $i => $attendance) @endforeach @endif
# {{ __('Date') }} {{ __('Punch In') }} {{ __('Punch Out') }} {{ __('Total Hours') }}
{{ ++$i }} {{ format_date($attendance->created_at) }} {{ !empty($attendance->startTime) ? format_date($attendance->startTime,'H A'): '' }} {{ !empty($attendance->endTime) ? format_date($attendance->endTime,'H A'): ''}} {{ $attendance->totalHours }}
@script @endscript