This commit is contained in:
@@ -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!! ◈◈");
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user