From d99392ba5c3214c57fc5f74cc06845ca1e596b36 Mon Sep 17 00:00:00 2001 From: RadAlpaca11 Date: Thu, 3 Sep 2026 08:56:23 -0700 Subject: [PATCH 1/2] fix: moving finance reset button and adding description --- src/components/finance/FinanceManager.tsx | 23 ++++++++++++++++------- 1 file changed, 16 insertions(+), 7 deletions(-) diff --git a/src/components/finance/FinanceManager.tsx b/src/components/finance/FinanceManager.tsx index 59ee771..becccd8 100644 --- a/src/components/finance/FinanceManager.tsx +++ b/src/components/finance/FinanceManager.tsx @@ -256,13 +256,6 @@ export function FinanceManager({ initial }: { initial: FinanceData }) { setResetStep(1)}> - Reset school year - - ) : null - } /> {!activeQuarter ? (
@@ -488,6 +481,22 @@ export function FinanceManager({ initial }: { initial: FinanceData }) { + {activeQuarter ? ( +
+
+

Reset school year

+

+ Archives every STF bucket for {activeQuarter.name} and + clears them for a fresh school year. The gift fund is not affected. This + cannot be undone — only run it at the start of a new school year. +

+
+ +
+ ) : null} + 0} onOpenChange={(open) => !open && setResetStep(0)}> {resetStep === 1 ? ( From 35a011208f0fa203d75e87ced2fb0b864b06d675 Mon Sep 17 00:00:00 2001 From: RadAlpaca11 Date: Thu, 3 Sep 2026 09:30:57 -0700 Subject: [PATCH 2/2] fix: fixing description --- src/components/finance/FinanceManager.tsx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/components/finance/FinanceManager.tsx b/src/components/finance/FinanceManager.tsx index becccd8..1cb1b68 100644 --- a/src/components/finance/FinanceManager.tsx +++ b/src/components/finance/FinanceManager.tsx @@ -482,13 +482,14 @@ export function FinanceManager({ initial }: { initial: FinanceData }) { {activeQuarter ? ( -
+

Reset school year

Archives every STF bucket for {activeQuarter.name} and clears them for a fresh school year. The gift fund is not affected. This - cannot be undone — only run it at the start of a new school year. + cannot be undone.{" "} + Only run at the start of a new school year!