This commit is contained in:
2021-03-05 19:37:22 +00:00
parent 0ab5c61f02
commit cdb3e070fe
3 changed files with 26 additions and 4 deletions

View File

@@ -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