commit b741aff192e92cdff681ac47233ef38dd8c5067b parent 65f18c2f41165f6b6fcd5e5ffaa9b26e5d6845b2 Author: Brennen T. Mazur <brennen@madis.cool> Date: Fri, 31 Mar 2023 12:45:52 -0600 added employee aggregate,select page Diffstat:
A | app/templates/admin/employee_report/index.html | | | 23 | +++++++++++++++++++++++ |
1 file changed, 23 insertions(+), 0 deletions(-)
diff --git a/app/templates/admin/employee_report/index.html b/app/templates/admin/employee_report/index.html @@ -0,0 +1,23 @@ +{% extends 'base.html' %} + +{% block title %}Employee Reports{% endblock %} + +{% block content %} + <section class="admin-grid"> + <!-- returned values from admin check is array of permissive ACCESS else return 'missing permissions response' --> + <section class="agreements"> + <h3>Hours by Employee</h3> + <table> + <tr><th>First</th><th>Middle</th><th>Last</th><th>Pay</th><th>Hours</th></tr> + {%- for user in users %} + <tr><td>{{user.fname}}</td><td>{{user.mname}}</td><td>{{user.lname}}</td><td>{{user.pay_value}}</td><td>{{user.total_hours}}</td></tr> + {% endfor %} + </table> + </section> + {%- for x in ['reports','roles','users'] %} + {% include 'admin/'~x~'/widget.html' %} + {%- else-%} + {{ 'You do not have permission to access this page' }} + {%- endfor %} + </section> +{% endblock %}