refactorise la génération de la facture au format Pdf, presente la facture aquittée.
This commit is contained in:
parent
5f29298fe0
commit
fb0fbae077
9 changed files with 41 additions and 30 deletions
|
|
@ -1,8 +1,7 @@
|
|||
|
||||
@model IBillable
|
||||
<div class="bill">
|
||||
@{ var fi = BillingHelpers.GetBillInfo(ViewBag.BillingCode,Model.Id); }
|
||||
@if (fi.Exists) {
|
||||
@if (ViewBag.BillFileInfo.Exists) {
|
||||
<a class="btn btn-link" href="~/api/bill/facture-@(ViewBag.BillingCode)-@(Model.Id).pdf" >La facture au format Pdf</a>
|
||||
} else {
|
||||
<form action="~/api/bill/genpdf/@ViewBag.BillingCode/@Model.Id" method="POST">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue