{% extends '@TimeClock/time_clock/layout.html.twig' %}{% import '@TimeClock/time_clock/_macros.html.twig' as tc %} {% block title %}Mon temps{% endblock %}{% block tc_content %}
Pointage › Mon temps

Mon temps {{ tc.status(state.session ? state.session.status : 'not_clocked') }}

{{ 'now'|date('l d F Y')|capitalize }} · Semaine {{ 'now'|date('W') }}

Demander une correction{% if state.state == 'working' %}
{% endif %}
{{ state.state == 'working' ? 'Au travail' : (state.state == 'on_break' ? 'En pause' : 'Non pointé') }}Aujourd'hui
{{ current and current.clockInAt ? current.clockInAt|date('H:i') : '—' }}Entrée
{{ current ? tc.duration(current.breakDurationMinutes) : '00 h 00' }}Pause
{{ current ? tc.duration(current.netWorkedMinutes) : '00 h 00' }}Temps net
0Anomalies ouvertes

Session du jour {{ current ? tc.status(current.status) : '' }}

{{ 'now'|date('l d F Y')|capitalize }}
{% if current %}
Entrée {{ current.clockInAt ? current.clockInAt|date('H:i') : '—' }}Début pause {{ state.break ? state.break.startedAt|date('H:i') : '—' }}Fin pause {{ state.break and state.break.endedAt ? state.break.endedAt|date('H:i') : '—' }}Sortie {{ current.clockOutAt ? current.clockOutAt|date('H:i') : 'En cours…' }}
Temps net travailléSession en cours · mise à jour en temps réel{{ tc.duration(current.netWorkedMinutes) }}
Planning prévu : 07 h 00 · écart calculé à la clôture
{% else %}
Vous n'avez pas encore pointé aujourd'hui.
{% endif %}

Chronologie du jour

{% if current %}

Entrée pointée · {{ current.clockInAt|date('H:i') }}

{% if state.break %}

Début de pause · {{ state.break.startedAt|date('H:i') }}

{% endif %}

En cours… · {{ 'now'|date('H:i') }}

{% else %}

Aucun événement aujourd'hui.

{% endif %}
{% endblock %}