@extends('both.template') @section('title', 'DETAILS PRESENCE | OPTIMIA') @section('styleSheets') @endsection @section('content')
Timesheet {{ date('d M Y', strtotime( $attendances->first()->attendedAt ))}}
Punch In

{{ date('d M Y | H:i:s', strtotime( $attendances->first()->attendedAt ))}}

3.45 hrs

Break

1.21 hrs

Overtime

3 hrs
Statistiques

Aujoud'hui 3.45 / 8 hrs

Cette semaine 28 / 40 hrs

Ce mois ci 90 / 160 hrs

Restant 90 / 160 hrs

Overtime 4

Activités d'aujourd'hui
    @foreach($attendances as $attendance)
  • @if ($attendance->punchIn != null)

    Punch In

    {{ $attendance->punchIn }}

    @else

    Punch Out

    {{ $attendance->punchOut }}

    @endif
  • @endforeach
@php $i = 1; @endphp @foreach($attendances as $attendance) @php $i++; @endphp @endforeach
# Date Punch In Punch Out Production Break Overtime
{{ $i }} {{ date('d M Y', strtotime( $attendance->attendedAt ))}} {{ $attendance->punchIn }} {{ $attendance->punchOut }} 9 hrs 1 hrs 0
@endsection @section('scriptsSheets') @endsection