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,9 +62,7 @@ namespace AyaNova.Biz
case AyaType.PartInventory:
return new PartInventoryBiz(ct, userId, translationId, roles);
case AyaType.PM:
return new PMBiz(ct, userId, translationId, roles);
case AyaType.Project:
return new ProjectBiz(ct, userId, translationId, roles);
case AyaType.PurchaseOrder:
@@ -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
//---
//--- 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:
return new ReminderBiz(ct, userId, translationId, roles);
case AyaType.Review:

File diff suppressed because it is too large Load Diff

View File

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