nettoyer le contrôle html de la facture
This commit is contained in:
parent
1bce173b1c
commit
283f3af2ed
4 changed files with 18 additions and 11 deletions
|
|
@ -1,5 +1,6 @@
|
|||
using System.Collections.Generic;
|
||||
using System.Globalization;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
using Yavsc.Billing;
|
||||
using Yavsc.Models.Billing;
|
||||
|
|
@ -18,5 +19,11 @@ namespace Yavsc.Helpers
|
|||
$"\n\nTotal: {total}";
|
||||
return bill;
|
||||
}
|
||||
|
||||
public static FileInfo GetBillInfo(string billingcode, long id)
|
||||
{
|
||||
var filename = $"facture-{billingcode}-{id}.pdf";
|
||||
return new FileInfo(Path.Combine(Startup.UserBillsDirName, filename));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue