nettoyer le contrôle html de la facture
This commit is contained in:
@ -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));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user