@page
@model FakturyWeb.Pages.Faktury.EditModel

@{
    ViewData["Title"] = "Edit";
}

<h1>Edit</h1>

<h4>FAKTURA</h4>
<hr />
<div class="row">
    <div class="col-md-4">
        <form method="post">
            <div asp-validation-summary="ModelOnly" class="text-danger"></div>
            <input type="hidden" asp-for="FAKTURA.ID" />
            <div class="form-group">
                <label asp-for="FAKTURA.ZakaznikID" class="control-label"></label>
                <select asp-for="FAKTURA.ZakaznikID" class="form-control" asp-items="ViewBag.ZakaznikID"></select>
                <span asp-validation-for="FAKTURA.ZakaznikID" class="text-danger"></span>
            </div>
            <div class="form-group">
                <label asp-for="FAKTURA.CISLO" class="control-label"></label>
                <input asp-for="FAKTURA.CISLO" class="form-control" />
                <span asp-validation-for="FAKTURA.CISLO" class="text-danger"></span>
            </div>
            <div class="form-group">
                <label asp-for="FAKTURA.CISLO_ABS" class="control-label"></label>
                <input asp-for="FAKTURA.CISLO_ABS" class="form-control" />
                <span asp-validation-for="FAKTURA.CISLO_ABS" class="text-danger"></span>
            </div>
            <div class="form-group">
                <label asp-for="FAKTURA.VYSTAVENI" class="control-label"></label>
                <input asp-for="FAKTURA.VYSTAVENI" class="form-control" />
                <span asp-validation-for="FAKTURA.VYSTAVENI" class="text-danger"></span>
            </div>
            <div class="form-group">
                <label asp-for="FAKTURA.SPLATNOST" class="control-label"></label>
                <input asp-for="FAKTURA.SPLATNOST" class="form-control" />
                <span asp-validation-for="FAKTURA.SPLATNOST" class="text-danger"></span>
            </div>
            <div class="form-group">
                <label asp-for="FAKTURA.D_PRAJM" class="control-label"></label>
                <input asp-for="FAKTURA.D_PRAJM" class="form-control" />
                <span asp-validation-for="FAKTURA.D_PRAJM" class="text-danger"></span>
            </div>
            <div class="form-group">
                <label asp-for="FAKTURA.D_ULICE" class="control-label"></label>
                <input asp-for="FAKTURA.D_ULICE" class="form-control" />
                <span asp-validation-for="FAKTURA.D_ULICE" class="text-danger"></span>
            </div>
            <div class="form-group">
                <label asp-for="FAKTURA.D_MESTO" class="control-label"></label>
                <input asp-for="FAKTURA.D_MESTO" class="form-control" />
                <span asp-validation-for="FAKTURA.D_MESTO" class="text-danger"></span>
            </div>
            <div class="form-group">
                <label asp-for="FAKTURA.D_PSC" class="control-label"></label>
                <input asp-for="FAKTURA.D_PSC" class="form-control" />
                <span asp-validation-for="FAKTURA.D_PSC" class="text-danger"></span>
            </div>
            <div class="form-group">
                <label asp-for="FAKTURA.D_IC" class="control-label"></label>
                <input asp-for="FAKTURA.D_IC" class="form-control" />
                <span asp-validation-for="FAKTURA.D_IC" class="text-danger"></span>
            </div>
            <div class="form-group">
                <label asp-for="FAKTURA.D_DIC" class="control-label"></label>
                <input asp-for="FAKTURA.D_DIC" class="form-control" />
                <span asp-validation-for="FAKTURA.D_DIC" class="text-danger"></span>
            </div>
            <div class="form-group">
                <label asp-for="FAKTURA.D_BANKA" class="control-label"></label>
                <input asp-for="FAKTURA.D_BANKA" class="form-control" />
                <span asp-validation-for="FAKTURA.D_BANKA" class="text-danger"></span>
            </div>
            <div class="form-group">
                <label asp-for="FAKTURA.D_TELEFON" class="control-label"></label>
                <input asp-for="FAKTURA.D_TELEFON" class="form-control" />
                <span asp-validation-for="FAKTURA.D_TELEFON" class="text-danger"></span>
            </div>
            <div class="form-group">
                <label asp-for="FAKTURA.D_EMAIL" class="control-label"></label>
                <input asp-for="FAKTURA.D_EMAIL" class="form-control" />
                <span asp-validation-for="FAKTURA.D_EMAIL" class="text-danger"></span>
            </div>
            <div class="form-group">
                <label asp-for="FAKTURA.D_WEB" class="control-label"></label>
                <input asp-for="FAKTURA.D_WEB" class="form-control" />
                <span asp-validation-for="FAKTURA.D_WEB" class="text-danger"></span>
            </div>
            <div class="form-group">
                <label asp-for="FAKTURA.O_PRAJM" class="control-label"></label>
                <input asp-for="FAKTURA.O_PRAJM" class="form-control" />
                <span asp-validation-for="FAKTURA.O_PRAJM" class="text-danger"></span>
            </div>
            <div class="form-group">
                <label asp-for="FAKTURA.O_ULICE" class="control-label"></label>
                <input asp-for="FAKTURA.O_ULICE" class="form-control" />
                <span asp-validation-for="FAKTURA.O_ULICE" class="text-danger"></span>
            </div>
            <div class="form-group">
                <label asp-for="FAKTURA.O_MESTO" class="control-label"></label>
                <input asp-for="FAKTURA.O_MESTO" class="form-control" />
                <span asp-validation-for="FAKTURA.O_MESTO" class="text-danger"></span>
            </div>
            <div class="form-group">
                <label asp-for="FAKTURA.O_PSC" class="control-label"></label>
                <input asp-for="FAKTURA.O_PSC" class="form-control" />
                <span asp-validation-for="FAKTURA.O_PSC" class="text-danger"></span>
            </div>
            <div class="form-group">
                <label asp-for="FAKTURA.O_IC" class="control-label"></label>
                <input asp-for="FAKTURA.O_IC" class="form-control" />
                <span asp-validation-for="FAKTURA.O_IC" class="text-danger"></span>
            </div>
            <div class="form-group">
                <label asp-for="FAKTURA.O_DIC" class="control-label"></label>
                <input asp-for="FAKTURA.O_DIC" class="form-control" />
                <span asp-validation-for="FAKTURA.O_DIC" class="text-danger"></span>
            </div>
            <div class="form-group">
                <label asp-for="FAKTURA.FORMA_UHRADY" class="control-label"></label>
                <input asp-for="FAKTURA.FORMA_UHRADY" class="form-control" />
                <span asp-validation-for="FAKTURA.FORMA_UHRADY" class="text-danger"></span>
            </div>
            <div class="form-group">
                <label asp-for="FAKTURA.CINNOSTI" class="control-label"></label>
                <input asp-for="FAKTURA.CINNOSTI" class="form-control" />
                <span asp-validation-for="FAKTURA.CINNOSTI" class="text-danger"></span>
            </div>
            <div class="form-group">
                <input type="submit" value="Save" class="btn btn-primary" />
            </div>
        </form>
    </div>
</div>

<div>
    <a asp-page="./Index">Back to List</a>
</div>

@section Scripts {
    @{await Html.RenderPartialAsync("_ValidationScriptsPartial");}
}
