{% extends "base.html" %} {% load static %} {% block title %}Accounting Dashboard{% endblock %} {% block content %}

Dashboard

Contracts Overview

{% if contracts %} {% for c in contracts %} {% endfor %}
Contract Name Budget Hours Logged Hours
{{ c.name }} {{ c.budget_hours }} {{ c.total_logged }}
{% else %}

No contracts available.

{% endif %}

Employee Hours per Contract

{% if employee_data %} {% for c in contracts %} {% endfor %} {% for row in employee_data %} {% for ch in row.contract_hours %} {% endfor %} {% endfor %}
Employee Name{{ c.name }}
{{ row.employee }}{{ ch.hours }}
{% else %}

No employees available.

{% endif %}
{% endblock %}