Présenter la facture à sa génération

This commit is contained in:
Paul Schneider 2017-07-24 17:45:50 +02:00
commit d249d19271
4 changed files with 47 additions and 9 deletions

View file

@ -88,7 +88,8 @@ namespace Yavsc.Models.Billing
{
string type = GetType().Name;
string ack = GetIsAcquitted() ? "-ack" : null;
return $"facture-{ActivityCode}-{type}-{Id}{ack}";
var bcode = Startup.BillingMap[type];
return $"facture-{bcode}-{Id}{ack}";
}
public string PaymentId { get; set; }