[UPDT] ATTENDANCE: yes_no filter tag into horillafilters tag
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
{% load static %} {% load i18n %} {% load basefilters %} {% load yes_no %}
|
||||
{% load static %} {% load i18n %} {% load basefilters %} {% load horillafilters %}
|
||||
{% if messages %}
|
||||
<div class="oh-wrapper">
|
||||
{% for message in messages %}
|
||||
@@ -14,7 +14,7 @@
|
||||
{% if late_in_early_out %}
|
||||
<div class="oh-modal__dialog-header">
|
||||
<h2 class="oh-modal__dialog-title m-0" id="objectDetailsModalLabel">
|
||||
{% trans "Details" %}
|
||||
{% trans "Details 123231" %}
|
||||
</h2>
|
||||
<button class="oh-modal__close" aria-label="Close">
|
||||
<ion-icon name="close-outline"></ion-icon>
|
||||
|
||||
@@ -68,12 +68,7 @@ def handle_attendance_errors(error_list):
|
||||
data_frame.to_excel(response, index=False)
|
||||
|
||||
def get_error_sheet(request):
|
||||
print("_______________________________________________________________")
|
||||
print(DYNAMIC_URL_PATTERNS)
|
||||
print("_______________________________________________________________")
|
||||
remove_dynamic_url(path_info)
|
||||
print(DYNAMIC_URL_PATTERNS)
|
||||
print("_______________________________________________________________")
|
||||
return response
|
||||
|
||||
from attendance.urls import path, urlpatterns
|
||||
|
||||
@@ -285,10 +285,6 @@ def attendance_import(request):
|
||||
"model": _("Attendance"),
|
||||
"path_info": path_info,
|
||||
}
|
||||
print(
|
||||
"_________________________________________________________________________________________"
|
||||
)
|
||||
print(context)
|
||||
html = render_to_string("import_popup.html", context)
|
||||
return HttpResponse(html)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user