[UPDT] ATTENDANCE: Right sticky table in attendance activity
This commit is contained in:
@@ -35,7 +35,7 @@
|
||||
<div class='oh-sticky-table__th'>{% trans "Check In" %}</div>
|
||||
<div class='oh-sticky-table__th'>{% trans "Check Out" %}</div>
|
||||
<div class='oh-sticky-table__th' hx-target='#activity-table' hx-get="{% url 'attendance-activity-search' %}?{{pd}}&orderby=clock_out_date">{% trans "Out Date" %}</div>
|
||||
<div class='oh-sticky-table__th' scope="col" style="width: 80px;"></div>
|
||||
<div class='oh-sticky-table__th oh-sticky-table__right' scope="col" style="width: 80px;">{% trans "Actions" %}</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="oh-sticky-table__tbody">
|
||||
@@ -66,8 +66,7 @@
|
||||
<div class="oh-sticky-table__td timeformat_changer">{{activity.clock_in}}</div>
|
||||
<div class="oh-sticky-table__td timeformat_changer">{{activity.clock_out}}</div>
|
||||
<div class="oh-sticky-table__td dateformat_changer">{{activity.clock_out_date}}</div>
|
||||
<div class="oh-sticky-table__td">
|
||||
|
||||
<div class="oh-sticky-table__td oh-sticky-table__right">
|
||||
{% if perms.attendance.delete_attendanceactivity %}
|
||||
<form action="{% url 'attendance-activity-delete' activity.id %}"
|
||||
onclick="event.stopPropagation()" onsubmit="return confirm('{% trans "Are you sure want to delete this attendance?" %}')"
|
||||
|
||||
Reference in New Issue
Block a user