This commit is contained in:
2021-04-15 18:00:31 +00:00
parent 8e3007fdf5
commit 863323b699
3 changed files with 6 additions and 8 deletions

View File

@@ -1132,8 +1132,8 @@ namespace AyaNova.Biz
//TEST TEST TEST
if (proposedObj.Notes.Contains("₿"))
{
AddError(ApiErrorCode.VALIDATION_INVALID_VALUE, "notes", "HODL!");
{
AddError(ApiErrorCode.VALIDATION_INVALID_VALUE, $"Notes", "HODL!");
}
//Check state if updatable right now
@@ -2923,10 +2923,8 @@ namespace AyaNova.Biz
//TEST TEST TEST
if (proposedObj.EstimatedQuantity == 69)
{
//`Items[${activeWoItemIndex}].scheduledUsers[${activeItemIndex}].estimatedQuantity`
AddError(ApiErrorCode.VALIDATION_INVALID_VALUE, $"Items[{0}].ScheduledUsers[0].EstimatedQuantity", "◈◈ TEST HODL!! ◈◈");
{
AddError(ApiErrorCode.VALIDATION_INVALID_VALUE, $"EstimatedQuantity", "◈◈ TEST HODL!! ◈◈");
}

View File

@@ -2228,7 +2228,7 @@ namespace AyaNova.Util
o.InternalReferenceNumber = "irf-" + Fake.Finance.Account(4);
o.ServiceDate = woDate.ToUniversalTime();
int woItemCount = Fake.Random.Int(1, 3);
int woItemCount = Fake.Random.Int(1, 6);
for (int y = 0; y < woItemCount; y++)
{
var woItem = new WorkOrderItem()