Case_accounting/CaseAccounting/CaseAccountingProviderView/Views/Deal/Update.cshtml

34 lines
1.1 KiB
Plaintext
Raw Normal View History

@{
ViewData["Title"] = "Договор";
}
@{
<h4 class="fw-bold" id="vb-id" data-id="@ViewBag.Deal.Id">Изменение договора</h4>
if (ViewBag.Deal == null)
2023-05-19 02:05:22 +04:00
{
<h3 class="display-4">Войдите в аккаунт</h3>
return;
}
<div id="error-div-shell" class="error-div-shell mb-2">
<div>
2023-05-20 09:10:45 +04:00
<p id="error-p" class="error-p text-danger"></p>
</div>
</div>
<p class="mb-0">Объект договора:</p>
<input type="text" id="subject-input" name="subject" class="form-control mb-3" />
<p class="mb-0">Обязаности:</p>
<input type="text" id="responsibilities-input" name="responsibilities" class="form-control mb-3" />
<p class="mb-0">Дата составления:</p>
<input type="date" id="date-input" name="date" class="form-control mb-3" />
2023-05-19 02:05:22 +04:00
<button id="update-button" type="button" class="btn btn-primary text-button">
Обновить
</button>
}
<script src="~/js/deal/deal-update.js" asp-append-version="true"></script>