new component usage
This commit is contained in:
parent
75cc82c75b
commit
f37e5bd1bf
1 changed files with 4 additions and 11 deletions
|
|
@ -36,15 +36,8 @@
|
||||||
</div>
|
</div>
|
||||||
<p>
|
<p>
|
||||||
<a asp-action="Edit" asp-route-id="@Model.Id">@SR["Edit"]</a> |
|
<a asp-action="Edit" asp-route-id="@Model.Id">@SR["Edit"]</a> |
|
||||||
<a asp-action="Index">@SR["Back to List"]</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>
|
|
||||||
|
|
||||||
</p>
|
</p>
|
||||||
|
<div>
|
||||||
|
@await Component.InvokeAsync("Estimate",Model.Id)
|
||||||
|
</div>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue