Add paid hours to reports

This commit is contained in:
2026-06-15 19:08:07 -04:00
parent 3defdc3aab
commit 2146fa6bad
2 changed files with 19 additions and 13 deletions

View File

@@ -38,12 +38,14 @@
<tr>
<th>User</th>
<th>Total Hours Worked</th>
<th>Paid Hours</th>
</tr>
{% for report in all_user_reports %}
<tr>
<td>{{ report.name }}</td>
<td>{{ report.hours }}</td>
<td>{{ report.total_hours }}</td>
<td>{{ report.paid_hours }}</td>
</tr>
{% endfor %}
@@ -166,10 +168,12 @@
<tr>
<th>Total Hours Worked</th>
<th>Paid Hours</th>
</tr>
<tr>
<td>{{ report_hours }}</td>
<td>{{ report_hours.total_hours }}</td>
<td>{{ report_hours.paid_hours }}</td>
</tr>
</table>