+
+
Order Summary
+
+ @foreach (var item in _order.Items)
+ {
+ -
+ @item.Quantity x @(_products.FirstOrDefault(p => p.Id == item.ProductId)?.Name)
+ @(item.Total.ToString("C"))
+
+ }
+
+ @if (_order.Items.Any()) {
+
+ Total
+ @(_order.Total.ToString("C"))
+
+
+
+ }
+
+
+ @foreach (var product in _products)
+ {
+
+ }
+
-@code {
- private bool isLoading;
- private CashierState cashierState = CashierState.Idle;
+
- private Product[] products;
+