Changes
Co-authored-by: renee-png <262607627+renee-png@users.noreply.github.com>
This commit is contained in:
co-authored by
renee-png
parent
8cfebbec69
commit
4c6646c19f
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user