From e05747100017c205b1f8d06df085e0607343128f Mon Sep 17 00:00:00 2001 From: John Cardinal Date: Fri, 7 May 2021 18:39:45 +0000 Subject: [PATCH] --- server/AyaNova/biz/WorkOrderBiz.cs | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/server/AyaNova/biz/WorkOrderBiz.cs b/server/AyaNova/biz/WorkOrderBiz.cs index 684c0941..0164a8bc 100644 --- a/server/AyaNova/biz/WorkOrderBiz.cs +++ b/server/AyaNova/biz/WorkOrderBiz.cs @@ -1153,18 +1153,18 @@ namespace AyaNova.Biz // // //TEST TEST TEST - if (string.IsNullOrWhiteSpace(proposedObj.Notes)) - { - AddError(ApiErrorCode.VALIDATION_REQUIRED, "Notes"); - } + // if (string.IsNullOrWhiteSpace(proposedObj.Notes)) + // { + // AddError(ApiErrorCode.VALIDATION_REQUIRED, "Notes"); + // } // if (proposedObj.Notes.Contains("blah")) // { // ; // } - if (proposedObj.Notes != null && proposedObj.Notes.Contains("generalerror")) - { - AddError(ApiErrorCode.API_SERVER_ERROR, "generalerror", "Test general error"); - } + // if (proposedObj.Notes != null && proposedObj.Notes.Contains("generalerror")) + // { + // AddError(ApiErrorCode.API_SERVER_ERROR, "generalerror", "Test general error"); + // } // if (proposedObj.Notes != null && proposedObj.Notes.Contains("aytesterror")) // { // AddError(ApiErrorCode.VALIDATION_INVALID_VALUE, "Notes", "SAVE TEST ERROR");