[FIX] ATTENDANCE : Fixed the filter form appearing issue in the work record

This commit is contained in:
Horilla
2025-09-16 10:25:36 +05:30
parent efc58a5cfd
commit f31c78e72b
2 changed files with 9 additions and 1 deletions

View File

@@ -2430,9 +2430,11 @@ def delete_comment_file(request):
def work_records(request):
today = date.today()
previous_data = request.GET.urlencode()
employee_filter_form = EmployeeFilter(request.GET)
context = {
"current_date": today,
"pd": previous_data,
"f": employee_filter_form,
}
return render(
request, "attendance/work_record/work_record_view.html", context=context

View File

@@ -64,5 +64,11 @@
</div>
</div>
</div>
<script>
$(document).ready(function () {
$(".row").find("select").select2({
width: '100%'
});
});
</script>
{% endblock content %}