This commit is contained in:
@@ -346,10 +346,11 @@ namespace AyaNova.Biz
|
||||
|
||||
|
||||
//VALIDATE CONTRACT RATE / PART ITEMS
|
||||
if (proposedObj.ServiceRateItems.Count ==0)
|
||||
if (proposedObj.ServiceRateItems.Count == 0)
|
||||
{
|
||||
if(proposedObj.ContractServiceRatesOnly){
|
||||
AddError(ApiErrorCode.VALIDATION_INVALID_VALUE, $"ContractRatesOnly");
|
||||
if (proposedObj.ContractServiceRatesOnly)
|
||||
{
|
||||
AddError(ApiErrorCode.VALIDATION_INVALID_VALUE, $"ContractRatesOnly");
|
||||
}
|
||||
}
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user