new component usage

This commit is contained in:
2016-11-30 11:03:45 +01:00
parent fd391ebabc
commit 64e7259666

View File

@ -36,15 +36,8 @@
</div>
<p>
<a asp-action="Edit" asp-route-id="@Model.Id">@SR["Edit"]</a> |
<a asp-action="Index">@SR["Back to List"]</a> |
@{ var filenametex = $"estimate-{Model.Id}.tex" ;
var filenamepdf = $"estimate-{Model.Id}.pdf" ;}
<a href="~/api/pdfestimate/estimate-@(Model.Id).tex" >Export au format LaTeX</a>
<form action="~/api/pdfestimate/gen/@Model.Id" method="POST">
<input type="submit" value="Générer le Pdf"/>
</form>
<a href="~/api/pdfestimate/get/@(Model.Id)" >Télécharger le document</a>
<a asp-action="Index">@SR["Back to List"]</a>
</p>
<div>
@await Component.InvokeAsync("Estimate",Model.Id)
</div>