48 lines
1.0 KiB
Plaintext
48 lines
1.0 KiB
Plaintext
@model Estimate
|
|
|
|
@{
|
|
ViewData["Title"] = "Details";
|
|
}
|
|
|
|
<h2>Details</h2>
|
|
|
|
<div>
|
|
<h4>Estimate</h4>
|
|
<hr />
|
|
<dl class="dl-horizontal">
|
|
<dt>
|
|
@Html.DisplayNameFor(model => model.Title)
|
|
</dt>
|
|
<dd>
|
|
@Html.DisplayFor(model => model.Title)
|
|
</dd>
|
|
|
|
<dt>
|
|
@Html.DisplayNameFor(model => model.Description)
|
|
</dt>
|
|
<dd>
|
|
@Html.DisplayFor(model => model.Description)
|
|
</dd>
|
|
|
|
<dt>
|
|
@Html.DisplayNameFor(model => model.Status)
|
|
</dt>
|
|
<dd>
|
|
@Html.DisplayFor(model => model.Status)
|
|
</dd>
|
|
|
|
<dt>
|
|
@Html.DisplayNameFor(model => model.Bill)
|
|
</dt>
|
|
<dd>
|
|
@foreach (var cl in Model.Bill) {
|
|
@await Html.PartialAsync("BillingLine", cl);
|
|
}
|
|
</dd>
|
|
</dl>
|
|
</div>
|
|
<p>
|
|
<a asp-action="Edit" asp-route-id="@Model.Id">Edit</a> |
|
|
<a asp-action="Index">Back to List</a>
|
|
</p>
|