[UPDT] ATTENDANCE: Updated attendance sidebar file by removing condition for checking leave app exist
This commit is contained in:
@@ -54,14 +54,6 @@ SUBMENUS = [
|
||||
"redirect": reverse("view-my-attendance"),
|
||||
},
|
||||
]
|
||||
if apps.is_installed("leave"):
|
||||
SUBMENUS.append(
|
||||
{
|
||||
"menu": trans("Work Records"),
|
||||
"redirect": reverse("work-records"),
|
||||
"accessibility": "attendance.sidebar.work_record_accessibility",
|
||||
},
|
||||
)
|
||||
|
||||
|
||||
def attendances_accessibility(request, submenu, user_perms, *args, **kwargs):
|
||||
|
||||
@@ -41,8 +41,7 @@
|
||||
{% endfor %}
|
||||
|
||||
<div class="d-flex flex-row-reverse">
|
||||
<button type="submit" class="oh-btn oh-btn--secondary mt-2 mr-0 pl-4 pr-5 oh-btn--w-100-resp">{% trans
|
||||
'Save' %}</button>
|
||||
<button type="submit" class="oh-btn oh-btn--secondary mt-2 mr-0 pl-4 pr-5 oh-btn--w-100-resp">{% trans 'Save' %}</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user