signing estimate

This commit is contained in:
2017-02-22 22:58:02 +01:00
parent f0a94ef3d8
commit 11f9714b65
8 changed files with 69 additions and 54 deletions

View File

@ -12,10 +12,10 @@
<table class="table">
<tr>
<th>
@Html.DisplayNameFor(model => model.Description)
@Html.DisplayNameFor(model => model.Title)
</th>
<th>
@Html.DisplayNameFor(model => model.Title)
@Html.DisplayNameFor(model => model.Description)
</th>
<th>
@Html.DisplayNameFor(model => model.Query.Client)
@ -23,6 +23,9 @@
<th>
@SR["Performer"]
</th>
<th>
@Html.DisplayNameFor(model => model.ProviderValidationDate)
</th>
<th>
@SR["Id"]
</th>
@ -32,10 +35,10 @@
@foreach (var item in Model) {
<tr>
<td>
@Html.DisplayFor(modelItem => item.Description)
@Html.DisplayFor(modelItem => item.Title)
</td>
<td>
@Html.DisplayFor(modelItem => item.Title)
@Html.DisplayFor(modelItem => item.Description)
</td>
<td>
@Html.DisplayFor(modelItem => item.Query.Client.UserName)
@ -43,6 +46,9 @@
<td>
@Html.DisplayFor(modelItem => item.Query.PerformerProfile.Performer.UserName)
</td>
<td>
@Html.DisplayFor(modelItem => item.ProviderValidationDate)
</td>
<td>
@Html.DisplayFor(modelItem => item.Id)
</td>

View File

@ -1,4 +1,5 @@
@model Estimate
<dl class="dl-horizontal">
<dt>
@Html.DisplayNameFor(model => model.Title)
@ -23,5 +24,8 @@
}
</dd>
</dl>
</div>
<label>Signature fournisseur :
<img src="/api/pdfestimate/prosign/@Model.Id" alt="" style="height:100px; background-color: white;">
</label>
@await Component.InvokeAsync("Estimate",Model.Id)