This commit is contained in:
2021-12-24 22:57:45 +00:00
parent e703b440b2
commit 71fa9e5ef5
47 changed files with 145 additions and 109 deletions

View File

@@ -5099,7 +5099,7 @@ namespace AyaNova.Biz
//confirm customer is active before proceeding
if (!await ct.Customer.AsNoTracking().Where(x => x.Id == p.CustomerId).Select(x => x.Active).FirstOrDefaultAsync())
{
log.LogTrace($"PM {p.Serial} has an Inactive customer selected so it will be skipped for generation");
log.LogDebug($"PM {p.Serial} has an Inactive customer selected so it will be skipped for generation");
continue;
}
@@ -5138,7 +5138,7 @@ namespace AyaNova.Biz
{
p.Active = false;
await ct.SaveChangesAsync();
log.LogTrace($"PM {p.Serial} has reached it's stop generating date and has been automatically deactivated");
log.LogDebug($"PM {p.Serial} has reached it's stop generating date and has been automatically deactivated");
continue;
}