[UPDT] RECRUITMENT: Offboarding task chart filteration and remove duplicate chart
This commit is contained in:
@@ -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 = []
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user