A view component

This commit is contained in:
Paul Schneider 2016-11-09 14:03:57 +01:00
commit e74a81deca
11 changed files with 258 additions and 190 deletions

View file

@ -39,6 +39,11 @@
<a asp-action="Index">@SR["Back to List"]</a> |
@{ var filenametex = $"estimate-{Model.Id}.tex" ;
var filenamepdf = $"estimate-{Model.Id}.pdf" ;}
<a href="~/do/@filenametex" >Export au format LaTeX</a>
<a href="~/do/@filenamepdf" >Export au format Pdf</a>
<a href="~/api/pdfestimate/gettex/@Model.Id" >Export au format LaTeX</a> |
<form action="~/api/pdfestimate/gen/@Model.Id" method="GET">
<input type="submit" value="Générer le Pdf"/>
</form>
</p>