2023-04-02 01:17:44 +04:00
|
|
|
@{
|
|
|
|
ViewData["Title"] = "Create";
|
|
|
|
}
|
|
|
|
|
|
|
|
<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">
|
2023-04-03 00:03:07 +04:00
|
|
|
<select id="client" name="client" class="form-control"></select>
|
2023-04-02 01:17:44 +04:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-4">Дата открытия счёта:</div>
|
|
|
|
<div class="col-8">
|
|
|
|
<input type="text" id="dateOpen" name="dateOpen" readonly />
|
|
|
|
</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>
|
|
|
|
|
|
|
|
|
|
|
|
<script>
|
|
|
|
$('#client').on('change', function () {
|
|
|
|
check();
|
|
|
|
});
|
|
|
|
|
|
|
|
function check() {
|
|
|
|
$("#dateOpen").val(today);
|
|
|
|
}
|
|
|
|
</script>
|