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