30 lines
952 B
Plaintext
30 lines
952 B
Plaintext
|
@{
|
||
|
ViewData["Title"] = "AddBuildToPurchase";
|
||
|
}
|
||
|
<div class="text-center mb-5">
|
||
|
<h2 class="display-4">Добавить сборку в покупку</h2>
|
||
|
</div>
|
||
|
<form method="post">
|
||
|
<div class="row mb-5">
|
||
|
<div class="col-4">Покупка:</div>
|
||
|
<div class="col-8 ">
|
||
|
<select id="purchaseId" name="purchaseId" class="form-control" asp-items="@(new SelectList(@ViewBag.Purchases,"Id", "Date"))"></select>
|
||
|
</div>
|
||
|
</div>
|
||
|
<div class="row mb-5">
|
||
|
<div class="col-4">Сборка:</div>
|
||
|
<div class="col-8">
|
||
|
<select id="productId" name="productId" class="form-control" asp-items="@(new SelectList(@ViewBag.Products,"Id", "ProductName"))"></select>
|
||
|
</div>
|
||
|
</div>
|
||
|
<div class="row mb-5">
|
||
|
<div class="col-4">Количество:</div>
|
||
|
<div class="col-8">
|
||
|
<input type="text" name="count" id="count" />
|
||
|
</div>
|
||
|
</div>
|
||
|
<div class="col-4">
|
||
|
<input type="submit" value="Добавить" class="btn btn-success" />
|
||
|
</div>
|
||
|
</form>
|