Co-authored-by: renee-png <262607627+renee-png@users.noreply.github.com>
This commit is contained in:
gpt-engineer-app[bot]
2026-04-19 15:46:23 +00:00
co-authored by renee-png
parent 8cfebbec69
commit 4c6646c19f
+2
View File
@@ -282,6 +282,8 @@ function FeeEditDialog({
name: form.name.trim(),
description: form.description?.trim() || null,
category: form.category,
pricing_type:
form.category === "expense" ? "flat" : form.pricing_type ?? "hourly",
amount: Number(form.amount) || 0,
billable: form.billable ?? true,
active: form.active ?? true,