{% if projects|e %} {% for project in projects %}
{{ project.name }}
Due: {{ project.due_date }}
{{ project.current_hours }} / {{ project.budgeted_hours }}: (Hours / Budgeted Hours @ {{ project.task_rate }}) - Report generated on {{ "now"|date('Y-m-d') }}
Date
Description
Duration
{% for task in project.tasks %} {% for log in task.time_log%}
{{ log.start_date }}
{{ log.description }}
{{ task.user.name }}
{{ log.duration|date('h:i:s')}}
{% endfor %} {% endfor %}
{% endfor %} {% endif %}