SoftwayWeb/Views/Giri/Create.cshtml

59 lines
3.0 KiB
Plaintext

@model SoftwayWeb.Models.GiriConsegnaView
@{
ViewData["Title"] = "Create";
Layout = "~/Views/Shared/_LayoutAreaRis.cshtml";
}
<div class="agy-project-wrapper agy-project-page-wrapper">
<div class="container">
<div class="row">
<div class="row">
<div class="col-md-8">
<form asp-action="Create">
<div class="form-group" style="width: 40%;">
<h5><label asp-for="CodAutista" class="agy-client-quote"></label></h5>
@Html.DropDownListFor(x => x.CodAutista, (IEnumerable<SelectListItem>)ViewBag.Autisti, new { @class = "agy-form-field require" })
<span asp-validation-for="CodAutista" class="text-danger"></span>
</div>
<div class="col-lg-6 col-md-6 col-sm-12 col-12">&nbsp;</div>
<div class="form-group" style="width: 40%;">
<h5><label asp-for="DataGiro" class="agy-client-quote"></label></h5>
@Html.TextBox("DataGiro", null, new { type = "date", @class = "agy-form-field require" })
<span asp-validation-for="DataGiro" class="text-danger"></span>
</div>
<div class="col-lg-6 col-md-6 col-sm-12 col-12">&nbsp;</div>
<div class="form-group" style="width: 40%;">
<h5><label asp-for="ImportoDaRecuperare" class="agy-client-quote"></label></h5>
<input asp-for="ImportoDaRecuperare" class="agy-form-field require" placeholder="Importo Da Recuperare" />
<span asp-validation-for="ImportoDaRecuperare" class="text-danger"></span>
</div>
<div class="col-lg-6 col-md-6 col-sm-12 col-12">&nbsp;</div>
<div class="form-group" style="width: 40%;">
<h5><label asp-for="BancaliCaricati" class="agy-client-quote"></label></h5>
<input asp-for="BancaliCaricati" class="agy-form-field require" placeholder="Bancali Caricati" />
<span asp-validation-for="BancaliCaricati" class="text-danger"></span>
</div>
<div class="col-lg-6 col-md-6 col-sm-12 col-12">&nbsp;</div>
<div class="form-group" style="width: 40%;">
<input type="submit" value="Salva" class="agy-btn submitForm" />
</div>
@Html.HiddenFor(x => x.SerialeGiro)
@Html.HiddenFor(x => x.Autista)
@Html.HiddenFor(x => x.BancaliRecuperati)
@Html.HiddenFor(x => x.ImportoRecuperato)
@Html.HiddenFor(x => x.DataChiusura)
</form>
</div>
</div>
@section Scripts {
@{
await Html.RenderPartialAsync("_ValidationScriptsPartial");
}
}
</div>
</div>
</div>