{% extends "base.html" %} {% from "components/ui.html" import page_header, stat_card, badge %} {% from "components/client_select.html" import client_select %} {% block title %}{{ _('Time Entries Overview') }}{% endblock %} {% block content %} {% set breadcrumbs = [ {'text': _('Time Entries')} ] %} {{ page_header( icon_class='fas fa-clock', title_text=_('Time Entries Overview'), subtitle_text=_('View and manage all time entries'), breadcrumbs=breadcrumbs, actions_html=None ) }}
{{ stat_card(_('Total Hours'), totals.total_hours, 'fas fa-hourglass-half', 'blue-500') }} {{ stat_card(_('Billable Hours'), totals.total_billable_hours, 'fas fa-dollar-sign', 'green-500') }} {{ stat_card(_('Paid Hours'), totals.total_paid_hours, 'fas fa-check-circle', 'emerald-500') }} {{ stat_card(_('Entries'), totals.total_entries, 'fas fa-list', 'purple-500') }}

{{ _('Filters') }}

{{ _('Exports use current filters') }} {{ _('Export CSV') }} {{ _('Export PDF') }}
{% if can_view_all %}
{% endif %}
{{ client_select('client_id', clients, selected_id=filters.client_id, required=False, only_one_client=only_one_client|default(false), single_client=single_client) }}
{% if custom_field_definitions %} {% for definition in custom_field_definitions %}
{% endfor %} {% endif %}
{% include 'timer/_time_entries_list.html' %}
{% endblock %}