@page "/stock/new"
@page "/stock/{Id:int}"
@inject StockItemService StockItemService
@inject MaterialService MaterialService
@inject SupplierService SupplierService
@inject NavigationManager Navigation
@using CutList.Core.Formatting
Loading...
} else {No transaction history yet.
} else {| Date | Type | Qty | Supplier | Price | Notes |
|---|---|---|---|---|---|
| @txn.CreatedAt.ToLocalTime().ToString("MM/dd/yy HH:mm") | @txn.Type | @(txn.Quantity >= 0 ? "+" : "")@txn.Quantity | @(txn.Supplier?.Name ?? "-") | @(txn.UnitPrice.HasValue ? txn.UnitPrice.Value.ToString("C") : "-") | @(txn.Notes ?? "-") |
No supplier offerings configured yet.
} else {| Supplier | Part # | Price | Actions |
|---|---|---|---|
| @offering.Supplier.Name | @(offering.PartNumber ?? "-") | @(offering.Price.HasValue ? offering.Price.Value.ToString("C") : "-") |