This commit is contained in:
@@ -338,8 +338,11 @@ namespace AyaNova.Biz
|
||||
}
|
||||
if (!userIsSelfScheduledOnThisItem) removeItems.Add(wi);
|
||||
}
|
||||
foreach (var removeitem in removeItems)
|
||||
foreach (var removeitem in removeItems)
|
||||
{
|
||||
ret.Items.Remove(removeitem);
|
||||
ret.IsCompleteRecord = false;
|
||||
}
|
||||
}
|
||||
|
||||
if (populateDisplayFields)
|
||||
|
||||
@@ -91,10 +91,12 @@ namespace AyaNova.Models
|
||||
public string AlertViz { get; set; } = null;
|
||||
[NotMapped]
|
||||
public bool HasPartCosts { get; set; } = false;//signal to client that part costs were not populated (due to user rights / role / type)
|
||||
[NotMapped]
|
||||
[NotMapped]
|
||||
public bool HasTravelAndLaborRateCosts { get; set; } = false;
|
||||
[NotMapped]
|
||||
[NotMapped]
|
||||
public bool HasLoanItemCosts { get; set; } = false;
|
||||
[NotMapped]
|
||||
public bool IsCompleteRecord { get; set; } = true;//indicates if some items were removed due to user role / type restrictions (i.e. woitems they are not scheduled on)
|
||||
|
||||
|
||||
[NotMapped, JsonIgnore]
|
||||
|
||||
Reference in New Issue
Block a user