[UPDT] ATTENDANCE : Grace time and break point table style

This commit is contained in:
Horilla
2024-02-22 22:58:18 +05:30
parent fb110815e6
commit 92c3b4ad7b
2 changed files with 3 additions and 3 deletions

View File

@@ -26,7 +26,7 @@
{% trans 'OT Cut-Off/Day' %}
</div>
{% if perms.attendance.change_attendancevalidationcondition %}
<div class="oh-sticky-table__th"></div>
<div class="oh-sticky-table__th">{% trans "Actions" %}</div>
{% endif %}
</div>
</div>

View File

@@ -39,7 +39,7 @@
<div class="oh-sticky-table__tr" draggable="true">
<div class="oh-sticky-table__td">{{ default_grace_time.allowed_time }} {% trans 'Minutes' %}</div>
<div class="oh-sticky-table__td">
<div class="d-flex justify-content-center">
<div class="d-flex">
<div class="oh-switch">
{% if perms.attendance.change_gracetime%}
<input type="checkbox" id="GTIsActivate" data-id ="{{default_grace_time.id}}" class="oh-switch__checkbox" {% if default_grace_time.is_active %} checked {% endif %} onchange="updateIsActivate(this)">
@@ -200,7 +200,7 @@ $.ajax({
<div class="oh-sticky-table__tr" draggable="true">
<div class="oh-sticky-table__td">{{ grace_time.allowed_time }} {% trans 'Minutes' %}</div>
<div class="oh-sticky-table__td">
<div class="d-flex justify-content-center">
<div class="d-flex">
<div class="oh-switch">
{% if perms.attendance.change_gracetime%}
<input type="checkbox" id="GTIsActivate" data-id ="{{grace_time.id}}" class="oh-switch__checkbox" {% if grace_time.is_active %} checked {% endif %} onchange="updateIsActivate(this)">