From c3bb0a6782a6cdb4dd5456e4bc6d51a545317f3b Mon Sep 17 00:00:00 2001 From: BOHA Date: Tue, 24 Mar 2026 19:15:53 +0100 Subject: [PATCH] =?UTF-8?q?fix:=20March=20card=20header=20shows=20prorated?= =?UTF-8?q?=20fund=20(136h/17=20dn=C5=AF)=20matching=20the=20+/-=20values?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Card header, per-user +/-, progress bar, and yearly table all now use the same prorated fund_to_date for the current month. Co-Authored-By: Claude Opus 4.6 (1M context) --- src/admin/pages/AttendanceBalances.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/admin/pages/AttendanceBalances.tsx b/src/admin/pages/AttendanceBalances.tsx index 82a7db3..64424fc 100644 --- a/src/admin/pages/AttendanceBalances.tsx +++ b/src/admin/pages/AttendanceBalances.tsx @@ -451,7 +451,7 @@ export default function AttendanceBalances() { )} - {monthData.fund}h ({monthData.business_days} dnů) + {(monthData as any).fund_to_date ?? monthData.fund}h ({Math.round(((monthData as any).fund_to_date ?? monthData.fund) / 8)} dnů)