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
|
||||
|
||||
@@ -261,6 +261,7 @@ namespace AyaNova.Biz
|
||||
l.Add(new FormField { TKey = "Tags", FieldKey = "Tags" });
|
||||
l.Add(new FormField { TKey = "Wiki", FieldKey = "Wiki" });
|
||||
l.Add(new FormField { TKey = "Attachments", FieldKey = "Attachments" });
|
||||
l.Add(new FormField { TKey = "AlertNotes", FieldKey = "AlertNotes" });
|
||||
|
||||
l.Add(new FormField { TKey = "ContractCustom1", FieldKey = "ContractCustom1", IsCustomField = true });
|
||||
l.Add(new FormField { TKey = "ContractCustom2", FieldKey = "ContractCustom2", IsCustomField = true });
|
||||
|
||||
Reference in New Issue
Block a user