[FIX] BASE: Fix approve button showing for approved shift requests

This commit is contained in:
Horilla
2025-12-26 22:11:29 +05:30
parent fec56dcb34
commit 81f5f6c630

View File

@@ -7,7 +7,7 @@
{% is_manager_of request.user instance as can_manage %}
{% if perms.base.change_shiftrequest or can_manage %}
<div class="oh-btn-group w-100">
{% if instance.approved and instance.canceled %}
{% if instance.approved or instance.canceled %}
<a
href="#"
class="oh-btn oh-btn--success oh-btn--disabled w-100"