diff --git a/CutList.Web/Components/Layout/NavMenu.razor b/CutList.Web/Components/Layout/NavMenu.razor index 917c4d5..3329aac 100644 --- a/CutList.Web/Components/Layout/NavMenu.razor +++ b/CutList.Web/Components/Layout/NavMenu.razor @@ -23,6 +23,11 @@ Materials +
Loading...
+} +else +{ +No supplier offerings configured yet.
+ } + else + { +| Supplier | +Part # | +Price | +Actions | +
|---|---|---|---|
| @offering.Supplier.Name | +@(offering.PartNumber ?? "-") | +@(offering.Price.HasValue ? offering.Price.Value.ToString("C") : "-") | ++ + + | +
Loading...
+} +else if (stockItems.Count == 0) +{ +| Material | +Length | +Name | +Actions | +
|---|---|---|---|
| @item.Material.DisplayName | +@ArchUnits.FormatFromInches((double)item.LengthInches) | +@(item.Name ?? "-") | ++ Edit + + | +
No stock lengths configured yet.
+No offerings configured yet.
} else {| Material | -Length | +Stock Item | +Part # | Price | Actions | |
|---|---|---|---|---|---|---|
| @stock.Material.DisplayName | -@ArchUnits.FormatFromInches((double)stock.LengthInches) | -@(stock.Price.HasValue ? stock.Price.Value.ToString("C") : "-") | +@offering.StockItem.Material.DisplayName - @ArchUnits.FormatFromInches((double)offering.StockItem.LengthInches) | +@(offering.PartNumber ?? "-") | +@(offering.Price.HasValue ? offering.Price.Value.ToString("C") : "-") |
- |