This commit is contained in:
2021-07-27 23:41:40 +00:00
parent 634652ce19
commit 6b90c2c7d4
3 changed files with 5045 additions and 183 deletions

View File

@@ -62,8 +62,6 @@ namespace AyaNova.Biz
case AyaType.PartInventory: case AyaType.PartInventory:
return new PartInventoryBiz(ct, userId, translationId, roles); return new PartInventoryBiz(ct, userId, translationId, roles);
case AyaType.PM:
return new PMBiz(ct, userId, translationId, roles);
case AyaType.Project: case AyaType.Project:
return new ProjectBiz(ct, userId, translationId, roles); return new ProjectBiz(ct, userId, translationId, roles);
@@ -110,6 +108,22 @@ namespace AyaNova.Biz
return new QuoteBiz(ct, userId, translationId, roles, UserType.NotService);//default to not service for now arbitrarily on the principle of least access return new QuoteBiz(ct, userId, translationId, roles, UserType.NotService);//default to not service for now arbitrarily on the principle of least access
//--- //---
//--- PM
case AyaType.PM:
case AyaType.PMItem:
case AyaType.PMItemExpense:
case AyaType.PMItemLabor:
case AyaType.PMItemLoan:
case AyaType.PMItemPart:
case AyaType.PMItemScheduledUser:
case AyaType.PMItemTask:
case AyaType.PMItemTravel:
case AyaType.PMItemUnit:
case AyaType.PMItemOutsideService:
return new PMBiz(ct, userId, translationId, roles, UserType.NotService);//default to not service for now arbitrarily on the principle of least access
//---
case AyaType.Reminder: case AyaType.Reminder:
return new ReminderBiz(ct, userId, translationId, roles); return new ReminderBiz(ct, userId, translationId, roles);
case AyaType.Review: case AyaType.Review:

File diff suppressed because it is too large Load Diff

View File

@@ -73,8 +73,7 @@ namespace AyaNova.Models
//UTILITY FIELDS //UTILITY FIELDS
[NotMapped]
public bool IsLockedAtServer { get; set; } = false;//signal to client that it came from the server in a locked state
[NotMapped] [NotMapped]
public string AlertViz { get; set; } = null; public string AlertViz { get; set; } = null;