From 6932c5acbb4cb0afb83921b3ce447838d017db4b Mon Sep 17 00:00:00 2001 From: renee-png Date: Sun, 7 Jun 2026 17:22:07 -0400 Subject: [PATCH] Unit ledger: let amount input accept $0.00 The amount field had min="0.01", so the browser's native form validation blocked a $0.00 charge before the JS check ran. Lower to min="0" so a $0.00 charge/note can be submitted; the JS still restricts $0 to charge-type entries (payments require a positive amount). Co-Authored-By: Claude Opus 4.8 --- src/components/unit-profile/UnitLedgerTransactionForm.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/unit-profile/UnitLedgerTransactionForm.tsx b/src/components/unit-profile/UnitLedgerTransactionForm.tsx index 1897176..761709e 100644 --- a/src/components/unit-profile/UnitLedgerTransactionForm.tsx +++ b/src/components/unit-profile/UnitLedgerTransactionForm.tsx @@ -594,7 +594,7 @@ export default function UnitLedgerTransactionForm({ open, onOpenChange, unitId:
- +
{formData.type === "Charge" && formData.chargeType === "interest" && feeRules && (