ISEbd-21_Melnikov_I.O._CarS.../CarService/CarServiceWebApp/Views/Home/RepairRequest.cshtml

17 lines
529 B
Plaintext

<div>
<h1>Заявка № @ViewBag.Request.Id</h1>
<p>Транспортное средство @ViewBag.Request.VehicleName</p>
<p>Клиент @ViewBag.Request.CustomerName</p>
<p>Затраты:</p>
@if (ViewBag.ItemsForRepair.Count != 0)
{
@foreach (var item in ViewBag.ItemsForRepair)
{
<p><div>@(item.ItemName + " " + item.Count + "шт.")</div></p>
}
}
<div>@ViewBag.Exception</div>
<form>
<a href ="/Home/Attachment/@ViewBag.Request.Id" class="btn btn-primary">Добавить</a>
</form>
</div>