This commit is contained in:
@@ -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
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user