Add daily hour totals when viewing or editing single employee time sheet

This commit is contained in:
Lance Edgar 2017-05-15 17:34:47 -05:00
parent d1e092d9d3
commit d7160a0a38
2 changed files with 8 additions and 0 deletions

View file

@ -20,5 +20,9 @@
${employee.worked_hours_display}
</%def>
<%def name="render_employee_day_total(day)">
${day['worked_hours_display']}
</%def>
${self.timesheet_wrapper()}

View file

@ -79,6 +79,10 @@
${employee.worked_hours_display}
</%def>
<%def name="render_employee_day_total(day)">
${day['worked_hours_display']}
</%def>
<%def name="edit_form()">
${h.form(url('timesheet.employee.edit'), id='timetable-form')}
${h.csrf_token(request)}