Add paid hours to reports
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user