[UPDT] OFFBOARDING: Updated offboarding pipeline employees table by adding user permission for task create tr & td

This commit is contained in:
Horilla
2025-06-16 17:28:11 +05:30
parent 193df46f0c
commit ce05a3da98

View File

@@ -193,7 +193,7 @@
{% endif %} {% endif %}
{% endif %} {% endif %}
{% endfor %} {% endfor %}
{% if perms.offboarding.add_offboardingtask or request.user.employee_get|any_manager %} {% if perms.offboarding.add_offboardingtask or request.user.employee_get|is_stage_manager:stage.grouper.title or request.user.employee_get|is_offboarding_manager %}
<div class="oh-sticky-table__td"></div> <div class="oh-sticky-table__td"></div>
{% endif %} {% endif %}
</div> </div>