@{
	ViewData["Title"] = "Договор";
}

@{
    <h4 id="deal-data" class="fw-bold" data-id="@ViewBag.Deal.Id">Привязка контракта к договору</h4>

    <div id="error-div-shell" class="error-div-shell mb-2">
            <div>
                <p id="error-p" class="error-p"></p>
            </div>
    </div>

    <p class="mb-0">Номер:</p>
    <input type="text" readonly value="@ViewBag.Deal.Id" id="name-input" name="name" class="form-control mb-3" />

    <div>
            <div class="scrollable-table">
                <table class="table table-bordered">
                    <thead class="thead-light">
                        <tr>
                            <th>Услуга:</th>
                            <th>Цена:</th>
                            <th>Дата:</th>
                        </tr>
                    </thead>
                    <tbody id="scrollable-table__tbody">
                    </tbody>
                </table>
            </div>
    </div>

    <button id="save-button" type="button" class="btn btn-primary text-button">
                Сохранить привязку
    </button>
}
<script src="~/js/deal/deal-bind.js" asp-append-version="true"></script>
