Add daily hour totals when viewing or editing single employee time sheet
This commit is contained in:
parent
d1e092d9d3
commit
d7160a0a38
|
@ -20,5 +20,9 @@
|
|||
${employee.worked_hours_display}
|
||||
</%def>
|
||||
|
||||
<%def name="render_employee_day_total(day)">
|
||||
${day['worked_hours_display']}
|
||||
</%def>
|
||||
|
||||
|
||||
${self.timesheet_wrapper()}
|
||||
|
|
|
@ -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)}
|
||||
|
|
Loading…
Reference in a new issue