This repository has been archived on 2021-04-30. You can view files and clone it, but cannot push or open issues or pull requests.
blazing-workshop/BlazingPizza.Client/Shared/OrderReview.razor

29 lines
494 B
Plaintext
Raw Permalink Normal View History

2020-12-17 15:52:43 +00:00
@foreach (var pizza in Order.Pizzas)
{
<p>
<strong>
@(pizza.Size)"
@pizza.Special.Name
(€@pizza.GetFormattedTotalPrice())
</strong>
</p>
<ul>
@foreach (var topping in pizza.Toppings)
{
<li>+ @topping.Topping.Name</li>
}
</ul>
}
<p>
<strong>
Gesamt:
€@Order.GetFormattedTotalPrice()
</strong>
</p>
@code {
[Parameter] public Order Order { get; set; }
}