From c9db366d7dbe598d9f8c552361e84191c895805f Mon Sep 17 00:00:00 2001 From: "gpt-engineer-app[bot]" <159125892+gpt-engineer-app[bot]@users.noreply.github.com> Date: Sun, 26 Apr 2026 08:30:14 +0000 Subject: [PATCH] Changes Co-authored-by: renee-png <262607627+renee-png@users.noreply.github.com> --- src/components/cases/collections-tab.tsx | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/src/components/cases/collections-tab.tsx b/src/components/cases/collections-tab.tsx index 06cac6d..5062be2 100644 --- a/src/components/cases/collections-tab.tsx +++ b/src/components/cases/collections-tab.tsx @@ -57,7 +57,7 @@ import { BUCKET_LABEL, computeBucketBalances, num, - withRunningBalance, + withAllocations, } from "@/lib/ledger"; import { DndContext, @@ -533,7 +533,7 @@ export function CollectionDetail({ [entries, opening], ); const withRunning = useMemo( - () => withRunningBalance(entries as any, opening), + () => withAllocations(entries as any, opening), [entries, opening], ); @@ -972,13 +972,13 @@ export function CollectionDetail({