This commit is contained in:
2023-02-08 23:31:41 +00:00
parent 3072b672eb
commit 3e81f998a0
2 changed files with 4 additions and 1 deletions

View File

@@ -313,6 +313,8 @@ namespace Sockeye.Biz
301033167 AyaNova subscription additional 250 customer users monthly 250customerusersmonthly Product monthly HD1 Oct 6, 2022, 12:56 AM
301033168 AyaNova subscription additional 250 customer users yearly 250customerusersyearly Product 12 months HD1 Oct 6, 2022, 12:59 AM
*/
- sockeye note: Need to handle multiple raven license purchases, my policy is the freshest date is honoured so for examle tri-star bought in December then in Feb 2 users each time so the feb is the freshest, the trick is when the december renews not to cut it short but still use the feb date. since eventually sockeye will be automated it needs to handle this up front now, not later
//RAVEN licenses have one week padding to be on the safe side
var dtOneYear = DateTime.UtcNow.AddYears(1).AddDays(7);
var dtOneMonth = DateTime.UtcNow.AddMonths(1).AddDays(7);

View File

@@ -25,7 +25,8 @@ namespace Sockeye.Models
public ProductGroup PGroup { get; set; }
[NotMapped]
public string ProductViz { get; set; }
public string SalesOrderNumber { get; set; }
public string SalesOrderNumber { get; set; }
public bool IsRenewal { get; set; }//True if flagged by payment processor as a renewal type order
public string DbId { get; set; }//if a RAVEN order
/*
"accounting": {