diff --git a/base/templates/request_and_approve/overtime_approve.html b/base/templates/request_and_approve/overtime_approve.html index 0bd446519..aa1e657c2 100644 --- a/base/templates/request_and_approve/overtime_approve.html +++ b/base/templates/request_and_approve/overtime_approve.html @@ -1,68 +1,130 @@ {% load i18n %} -{% if overtime_attendances %} -
-
-
-
-
- {% trans "Employee" %} + +
+ {% if overtime_attendances.has_previous %} + + + + {% endif %} + + {% trans 'Overtime To Approve' %} + + + {% if overtime_attendances.has_next %} + + + + {% endif %} +
+ +
+ {% if overtime_attendances %} +
+
+
+
+
+ {% trans "Employee" %} +
+
+ {% trans "Overtime" %} +
+
-
- {% trans "Overtime" %} -
-
-
- {% for attendance in overtime_attendances %} + {% for attendance in overtime_attendances %}
+ class="oh-sticky-table__tr" + draggable="false" + data-toggle="oh-modal-toggle" + data-target="#bigModal" + hx-target="#bigModalTarget" + hx-get="{% url 'user-request-one-view' attendance.id %}?ot=true&instances_ids={{ot_attendances_ids}}&dashboard=true" + >
- +
{{attendance.employee_id}}{{attendance.employee_id}}
- {{attendance.attendance_overtime}} + {{attendance.attendance_overtime}}
- {% endfor %} + {% endfor %} +
+ + {% trans "Page" %} {{ overtime_attendances.number }} {%trans "of" %} + {{overtime_attendances.paginator.num_pages }}. + + {% else %} +
+
+ +

+ {% trans "No data Found..." %} +

+
+
+ {% endif %}
-{% else %} -
-
- -

{% trans "No data Found..." %}

-
-
-{% endif %} \ No newline at end of file