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:14 +00:00
co-authored by renee-png
parent 4d8a6a3d82
commit 8cfebbec69
+7 -5
View File
@@ -203,11 +203,13 @@ function FeeSection({
</TableCell>
<TableCell className="text-right font-mono">
{formatCurrency(Number(i.amount))}
{unit && (
<span className="text-muted-foreground text-xs ml-1">
{unit}
</span>
)}
{(() => {
const isHourly = i.category === "time" && i.pricing_type !== "flat";
const u = isHourly ? "/ hr" : i.category === "time" ? " flat" : unit;
return u ? (
<span className="text-muted-foreground text-xs ml-1">{u}</span>
) : null;
})()}
</TableCell>
<TableCell>
{i.billable ? (