[FIX] PMS: Added own records in employee queryset

This commit is contained in:
Horilla
2024-09-23 17:14:57 +05:30
parent 153243004c
commit 06b2314d50
2 changed files with 2 additions and 2 deletions

View File

@@ -93,7 +93,7 @@
</div>
</div>
{% endfor %}
{% endfor %}
</div>

View File

@@ -221,7 +221,7 @@
</div> {% endcomment %}
<!-- checking user permission for objective creation -->
{% if perms.pms.add_employeeobjective %}
{% if perms.pms.add_employeeobjective or request.user|is_reportingmanager %}
<button
class="oh-btn oh-btn--secondary ml-2"
data-toggle="oh-modal-toggle"