From 9056802145ccb17fa7a4c3947757d9bee56ff939 Mon Sep 17 00:00:00 2001 From: John Yeo Date: Tue, 24 Feb 2026 21:05:17 +0000 Subject: [PATCH] fix: customer balance ui --- .../customer-balance/CustomerBalanceTableColumns.tsx | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/vite/src/views/customers2/components/table/customer-balance/CustomerBalanceTableColumns.tsx b/vite/src/views/customers2/components/table/customer-balance/CustomerBalanceTableColumns.tsx index 4c2623cfa..80241e36d 100644 --- a/vite/src/views/customers2/components/table/customer-balance/CustomerBalanceTableColumns.tsx +++ b/vite/src/views/customers2/components/table/customer-balance/CustomerBalanceTableColumns.tsx @@ -3,7 +3,14 @@ import type { FullCusEntWithFullCusProduct, FullCustomer, } from "@autumn/shared"; -import { cusEntToPrepaidQuantity, EntInterval } from "@autumn/shared"; +import { + cusEntsToBalance, + cusEntsToGrantedBalance, + cusEntsToPrepaidQuantity, + cusEntToPrepaidQuantity, + EntInterval, + nullish, +} from "@autumn/shared"; import { CaretRightIcon } from "@phosphor-icons/react"; import type { Row } from "@tanstack/react-table"; import { AdminHover } from "@/components/general/AdminHover";