diff --git a/client/src/modules/inventory/InventoryDetailPage.tsx b/client/src/modules/inventory/InventoryDetailPage.tsx index ce4557e..fe23e41 100644 --- a/client/src/modules/inventory/InventoryDetailPage.tsx +++ b/client/src/modules/inventory/InventoryDetailPage.tsx @@ -156,6 +156,10 @@ export function InventoryDetailPage() {
Default cost
{item.defaultCost == null ? "Not set" : `$${item.defaultCost.toFixed(2)}`}
+
+
Default price
+
{item.defaultPrice == null ? "Not set" : `$${item.defaultPrice.toFixed(2)}`}
+
Flags
diff --git a/client/src/modules/inventory/InventoryFormPage.tsx b/client/src/modules/inventory/InventoryFormPage.tsx index d17d417..228817f 100644 --- a/client/src/modules/inventory/InventoryFormPage.tsx +++ b/client/src/modules/inventory/InventoryFormPage.tsx @@ -71,6 +71,7 @@ export function InventoryFormPage({ mode }: InventoryFormPageProps) { isSellable: item.isSellable, isPurchasable: item.isPurchasable, defaultCost: item.defaultCost, + defaultPrice: item.defaultPrice, notes: item.notes, bomLines: item.bomLines.map((line) => ({ componentItemId: line.componentItemId, @@ -199,6 +200,17 @@ export function InventoryFormPage({ mode }: InventoryFormPageProps) { className="w-full rounded-2xl border border-line/70 bg-page px-2 py-2 text-text outline-none transition focus:border-brand" /> +