[FIX] OFFBOARDING: Design fixes
This commit is contained in:
@@ -61,7 +61,7 @@
|
||||
<div class="oh-sticky-table__th">{% trans "Stage" %}</div>
|
||||
{% endif %}
|
||||
<div class="oh-sticky-table__th text-center">{% trans "Task Status" %}</div>
|
||||
<div class="oh-sticky-table__th" style="width: 250px;">{% trans "Actions" %}</div>
|
||||
<div class="oh-sticky-table__th text-center" style="width: 250px;">{% trans "Actions" %}</div>
|
||||
{% for task in stage.grouper.offboardingtask_set.all %}
|
||||
<div class="oh-sticky-table__th" style="width: 200px;" >
|
||||
<div class="d-flex justify-content-between align-items-center">
|
||||
|
||||
@@ -29,7 +29,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="oh-sticky-table__td">
|
||||
{% if employee.notice_period_ends == today %} {% trans "today" %}{% elif employee.notice_period_ends < today %} {% trans "Notice period ended" %} {% else %}{% trans 'In' %} {{employee.notice_period_ends|sub:today}}{% endif %}
|
||||
{% if employee.notice_period_ends == today %} {% trans "today" %}{% elif employee.notice_period_ends < today %} {% trans "Notice period ended" %} {% else %} {% if employee.notice_period_ends|sub:today %} {% trans 'In' %} {{employee.notice_period_ends|sub:today}}{% endif %}{% endif %}
|
||||
</div>
|
||||
<div class="oh-sticky-table__td dateformat_changer">{{ employee.notice_period_starts }}</div>
|
||||
<div class="oh-sticky-table__td dateformat_changer">{{ employee.notice_period_ends }}</div>
|
||||
|
||||
@@ -551,9 +551,6 @@ def task_assign(request):
|
||||
task_id = request.GET["task_id"]
|
||||
employees = OffboardingEmployee.objects.filter(id__in=employee_ids)
|
||||
task = OffboardingTask.objects.get(id=task_id)
|
||||
print("==============================")
|
||||
print(employees)
|
||||
print("==============================")
|
||||
for employee in employees:
|
||||
try:
|
||||
assinged_task = EmployeeTask()
|
||||
|
||||
Reference in New Issue
Block a user