This commit is contained in:
@@ -2881,7 +2881,7 @@ namespace AyaNova.Biz
|
||||
|
||||
//POTENTIAL CONTRACT ADJUSTMENTS
|
||||
//First check if there is a matching tagged service rate contract discount, that takes precedence
|
||||
if (c.ContractServiceRateOverrideItems.Count > 0)
|
||||
if (c.ContractServiceRateOverrideItems.Count > 0 && Rate!=null)
|
||||
{
|
||||
//Iterate all contract tagged items in order of ones with the most tags first
|
||||
foreach (var csr in c.ContractServiceRateOverrideItems.OrderByDescending(z => z.Tags.Count))
|
||||
|
||||
Reference in New Issue
Block a user