[FIX] ATTENDANCE : Fixed the filter form appearing issue in the work record
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -64,5 +64,11 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<script>
|
||||
$(document).ready(function () {
|
||||
$(".row").find("select").select2({
|
||||
width: '100%'
|
||||
});
|
||||
});
|
||||
</script>
|
||||
{% endblock content %}
|
||||
|
||||
Reference in New Issue
Block a user