[ADD] ACCESSIBILITY: Add employee accessibility app for handling employees permissions and accessibility

This commit is contained in:
Horilla
2024-09-18 15:51:44 +05:30
parent 332e970870
commit d34fdcb846
26 changed files with 665 additions and 10 deletions

View File

@@ -1,5 +1,4 @@
import calendar
import io
import json
import os
import random
@@ -11,17 +10,17 @@ from django.conf import settings
from django.contrib.staticfiles import finders
from django.core.exceptions import ObjectDoesNotExist
from django.db import models
from django.db.models import F, ForeignKey, ManyToManyField, OneToOneField, Q
from django.db.models import ForeignKey, ManyToManyField, OneToOneField, Q
from django.db.models.functions import Lower
from django.forms.models import ModelChoiceField
from django.http import HttpResponse
from django.template.loader import get_template, render_to_string
from django.template.loader import get_template
from django.utils.translation import gettext as _
from xhtml2pdf import pisa
from base.models import Company, CompanyLeaves, DynamicPagination, Holidays
from employee.models import Employee, EmployeeWorkInformation
from horilla.decorators import login_required
from horilla.horilla_middlewares import _thread_locals
from horilla.horilla_settings import HORILLA_DATE_FORMATS, HORILLA_TIME_FORMATS