{% extends "client_portal/base.html" %} {% from "components/ui.html" import page_header %} {% block title %}{{ _('Time Entry Approvals') }} - {{ _('Client Portal') }}{% endblock %} {% block content %} {% set breadcrumbs = [ {'text': _('Client Portal'), 'url': url_for('client_portal.dashboard')}, {'text': _('Approvals')} ] %} {{ page_header( icon_class='fas fa-check-circle', title_text=_('Time Entry Approvals'), subtitle_text=_('Review and approve time entries'), breadcrumbs=breadcrumbs ) }}
{{ _('Requested on') }} {{ approval.requested_at|user_datetime if approval.requested_at else _('N/A') }}
{{ _('Project') }}
{{ approval.time_entry.project.name if approval.time_entry.project else _('N/A') }}
{{ _('Duration') }}
{{ "%.2f"|format(approval.time_entry.duration_hours) }} {{ _('hours') }}
{{ _('Date') }}
{{ approval.time_entry.start_time|user_date if approval.time_entry.start_time else _('N/A') }}
{{ _('Description') }}
{{ approval.time_entry.description }}
{{ _('Request Comment') }}
{{ approval.request_comment }}
{% if status_filter == 'pending' %} {{ _('You have no pending time entry approvals. All caught up!') }} {% else %} {{ _('No approvals found for this status.') }} {% endif %}