{{ report_name }}

{% if custom_field_name and custom_field_value %}

Filter: {{ custom_field_name }} = {{ custom_field_value }}

{% endif %}

Summary

{% if report_data.summary %}

Total Entries: {{ report_data.summary.get('total_entries', 0) }}

{% if report_data.summary.get('total_hours') %}

Total Hours: {{ "%.2f"|format(report_data.summary.get('total_hours', 0)) }}

{% endif %} {% if report_data.summary.get('unpaid_only') %}

Unpaid Hours Only: Yes

{% endif %} {% endif %}
{% if report_data.data and report_data.data|length > 0 %}

Report Data

{% for key in report_data.data[0].keys() %} {% endfor %} {% for row in report_data.data %} {% for key, value in row.items() %} {% endfor %} {% endfor %}
{{ key|title|replace('_', ' ') }}
{% if value is number %} {{ "%.2f"|format(value) if value % 1 else value|int }} {% else %} {{ value or '' }} {% endif %}
{% else %}

No data found for this report.

{% endif %}