[UPDT] RECRUITMENT: Offboarding task chart filteration and remove duplicate chart

This commit is contained in:
Horilla
2024-02-09 11:52:34 +05:30
parent 32486fe98a
commit 4bf97c6448
3 changed files with 3 additions and 13 deletions

View File

@@ -1544,12 +1544,12 @@ def task_report(request):
"""
This method is used to show the task report.
"""
stage_id = request.GET.get("stage_id")
employee_id = request.GET.get("employee_id")
if not employee_id:
employee_id = request.user.employee_get.id
my_tasks = OnboardingTask.objects.filter(
employee_id__id=employee_id,
candidates__is_active = True,
candidates__recruitment_id__closed=False,
).distinct()
tasks = []

View File

@@ -325,17 +325,7 @@ class Candidate(models.Model):
],
)
sequence = models.IntegerField(null=True, default=0)
offerletter_status = models.CharField(
max_length=20,
choices=[
("not_sent", "Not sent"),
("waiting", "Waiting Confirmation"),
("accepted", "Accepted / Confirmed"),
("rejected", "Rejected / Canceled"),
],
default="not_sent",
editable = False,
)
probation_end = models.DateField(null=True, editable=False)
offer_letter_status = models.CharField(
max_length=10,

View File

@@ -1,7 +1,7 @@
{% extends 'index.html' %} {% block content %} {% load mathfilters static recruitmentfilters i18n %}
<style>
.oh-card-dashboard{
height: 100%;
height: 100;
}
.done-task{
background-color: #9acd322e !important;