From 428817e23af014a0e6fe7594ef4bfb18af291318 Mon Sep 17 00:00:00 2001 From: "sas.fajri" Date: Thu, 30 Apr 2026 16:14:28 +0700 Subject: [PATCH] Fix checked out percentage denominator --- cpone-dashboard/templates/dashboard/partials/kpi.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cpone-dashboard/templates/dashboard/partials/kpi.html b/cpone-dashboard/templates/dashboard/partials/kpi.html index 36b4b16..7cd3fa7 100644 --- a/cpone-dashboard/templates/dashboard/partials/kpi.html +++ b/cpone-dashboard/templates/dashboard/partials/kpi.html @@ -36,8 +36,8 @@

{{.CheckedOut}}

- {{if gt .CheckedIn 0}} -

{{printf "%.1f%%" (pct .CheckedOut .CheckedIn)}} selesai

+ {{if gt .TotalStaff 0}} +

{{printf "%.1f%%" (pct .CheckedOut .TotalStaff)}} selesai

{{end}} {{end}}