[FIX] RECRUITMENT: Add to rejected candidates not working issue

This commit is contained in:
Horilla
2025-02-07 09:46:21 +05:30
parent 4006e06af7
commit 5e2994cf3f
6 changed files with 6 additions and 6 deletions

View File

@@ -131,7 +131,7 @@
> >
</li> </li>
{% endif %} {% endif %}
{% if onboarding|app_installed %} {% if "onboarding"|app_installed %}
{% if perms.recruitment.add_rejectedcandidate or request.user|is_stagemanager or perms.recruitment.chanage_candidate %} {% if perms.recruitment.add_rejectedcandidate or request.user|is_stagemanager or perms.recruitment.chanage_candidate %}
<li class="oh-dropdown__item"> <li class="oh-dropdown__item">
<a <a

View File

@@ -223,7 +223,7 @@
<button class="oh-btn oh-btn--light-bkg w-100" title='{% trans "Candidate is Converted " %}' style="opacity: 30%; padding:0.8rem 1rem"> <button class="oh-btn oh-btn--light-bkg w-100" title='{% trans "Candidate is Converted " %}' style="opacity: 30%; padding:0.8rem 1rem">
<ion-icon name="thumbs-down-outline"></ion-icon></button> <ion-icon name="thumbs-down-outline"></ion-icon></button>
{% else %} {% else %}
{% if onboarding|app_installed %} {% if "onboarding"|app_installed %}
{% if perms.recruitment.add_rejectedcandidate or perms.recruitment.change_candidate %} {% if perms.recruitment.add_rejectedcandidate or perms.recruitment.change_candidate %}
<button <button
type="button" type="button"

View File

@@ -184,7 +184,7 @@
<button class="oh-btn oh-btn--light-bkg w-100" title='{% trans "Candidate is Converted " %}' style="opacity: 30%; padding:0.8rem 1rem"> <button class="oh-btn oh-btn--light-bkg w-100" title='{% trans "Candidate is Converted " %}' style="opacity: 30%; padding:0.8rem 1rem">
<ion-icon name="thumbs-down-outline"></ion-icon></button> <ion-icon name="thumbs-down-outline"></ion-icon></button>
{% else %} {% else %}
{% if onboarding|app_installed %} {% if "onboarding"|app_installed %}
{% if perms.recruitment.add_rejectedcandidate or perms.recruitment.change_candidate %} {% if perms.recruitment.add_rejectedcandidate or perms.recruitment.change_candidate %}
<button <button
type="button" type="button"

View File

@@ -265,7 +265,7 @@
<ion-icon name="heart-circle-outline"></ion-icon> <ion-icon name="heart-circle-outline"></ion-icon>
</button> </button>
{% endif %} {% endif %}
{% if onboarding|app_installed %} {% if "onboarding"|app_installed %}
{% if perms.recruitment.add_rejectedcandidate or request.user.employee_get in stage.stage_managers.all %} {% if perms.recruitment.add_rejectedcandidate or request.user.employee_get in stage.stage_managers.all %}
<button type="button" hx-target="#rejectModalBody" hx-swap="innerHTML" <button type="button" hx-target="#rejectModalBody" hx-swap="innerHTML"
class="oh-btn oh-btn--light" data-toggle="oh-modal-toggle" data-target="#rejectModal" class="oh-btn oh-btn--light" data-toggle="oh-modal-toggle" data-target="#rejectModal"

View File

@@ -153,7 +153,7 @@
</li> </li>
{% endif %} {% endif %}
{% endif %} {% endif %}
{% if onboarding|app_installed %} {% if "onboarding"|app_installed %}
{% if perms.recruitment.add_rejectedcandidate or request.user.employee_get in stage.stage_managers.all %} {% if perms.recruitment.add_rejectedcandidate or request.user.employee_get in stage.stage_managers.all %}
<li class="oh-dropdown__item"> <li class="oh-dropdown__item">
<a <a

View File

@@ -213,7 +213,7 @@
> >
</li> </li>
{% endif %} {% endif %}
{% if onboarding|app_installed %} {% if "onboarding"|app_installed %}
{% if perms.recruitment.add_rejectedcandidate or request.user|is_stagemanager %} {% if perms.recruitment.add_rejectedcandidate or request.user|is_stagemanager %}
<li class="oh-dropdown__item"> <li class="oh-dropdown__item">
<a <a