{{ $number_employee }} | {{ $user->username }} | {{ $employee->job }} | {{ Carbon\Carbon::createFromFormat('Y-m-d', $date)->format('d-m-Y') }} | {{ $punch->day }} | {{ isset($punch->in['check']) ? $punch->in['check'] : '--' }} | {{ isset($punch->out['check']) ? $punch->out['check'] : '--' }} |
{{ $schedule[$punch->day]['start'] }} A {{ $schedule[$punch->day]['end'] }}
|
{{ isset($punch->in['diff']) && $punch->in['diff'] > 10 ? $punch->in['diff_human'] : '' }}
| |
@if (isset($punch->in['diff']) && $punch->in['diff'] > 20)
Entrada: {{ $punch->in['diff_human'] }}.
@php($hasNote = true)
@endif
@if (isset($punch->out['diff']) && $punch->out['diff'] < 0)
{{ $hasNote ? ' / ' : '' }}
Salida: {{ $punch->out['diff_human'] }}.
@endif
@if (!isset($punch->in['check']) && !isset($punch->out['check']))
{{-- Sin registros --}}
@else
@if (!isset($punch->in['check']) || !isset($punch->out['check']))
{{-- {{ $punch->report[0] }}. --}}
{{ $punch->report[count($punch->report) - 1] }}.
@endif
@endif
| | |
Sin registro
|
|