|
|
|
@ -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>
|
|
|
|
|