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