From faef77b1b6288050b421535ddf6de508a08db121 Mon Sep 17 00:00:00 2001 From: Horilla Date: Sat, 20 Dec 2025 11:57:08 +0530 Subject: [PATCH] [FIX] HORILLA_THEME: Fix check in button disappearing when time is disabled --- .../templates/attendance/components/in_out_component.html | 7 +++++-- .../templates/horilla_theme/components/header.html | 5 ----- 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/horilla_theme/templates/attendance/components/in_out_component.html b/horilla_theme/templates/attendance/components/in_out_component.html index e34f1eba4..ccb2fa9c6 100644 --- a/horilla_theme/templates/attendance/components/in_out_component.html +++ b/horilla_theme/templates/attendance/components/in_out_component.html @@ -1,4 +1,5 @@ {% load static horillafilters attendancefilters i18n %} + {% if request.user.employee_get %} {% with get_forecasted_at_work=request.user.employee_get.get_forecasted_at_work %} {% if request.session.selected_company == "all" or request.user.employee_get.employee_work_info.company_id.id == request.session.selected_company|default:"-1"|add:"0" %} @@ -24,7 +25,7 @@ > -
+
{% trans "Check Out" %}