43 lines
1.0 KiB
Plaintext
43 lines
1.0 KiB
Plaintext
|
@{
|
||
|
ViewData["Title"] = "SaleCreate";
|
||
|
}
|
||
|
<div class="text-center">
|
||
|
<h2 class="display-4">Продажа</h2>
|
||
|
</div>
|
||
|
<form method="post">
|
||
|
<div class="row">
|
||
|
<div class="col-4">Сумма:</div>
|
||
|
<div class="col-8">
|
||
|
<input type="number" name="sum" id="sum" readonly/>
|
||
|
</div>
|
||
|
</div>
|
||
|
<div class="row">
|
||
|
<div class="col-4">Автомобили:</div>
|
||
|
<div class="col-8">
|
||
|
<select name="cars" id="cars" class="form-control" multiple size="5">
|
||
|
@foreach (var car in ViewBag.Cars)
|
||
|
{
|
||
|
<option value="@car.Id">@car.Name</option>
|
||
|
}
|
||
|
</select>
|
||
|
</div>
|
||
|
</div>
|
||
|
<div class="row">
|
||
|
<div class="col-4">Услуги:</div>
|
||
|
<div class="col-8">
|
||
|
<select name="services" id="services" class="form-control" multiple size="5">
|
||
|
@foreach (var service in ViewBag.Services)
|
||
|
{
|
||
|
<option value="@service.Id">@service.Name</option>
|
||
|
}
|
||
|
</select>
|
||
|
</div>
|
||
|
</div>
|
||
|
<div class="row">
|
||
|
<div class="col-8"></div>
|
||
|
<div class="col-4">
|
||
|
<input type="submit" value="Создать" class="btn btn-primary" />
|
||
|
</div>
|
||
|
</div>
|
||
|
</form>
|