From d2384ef4c3e0a4a26be4e0a62dec8abf5f77cc63 Mon Sep 17 00:00:00 2001 From: Rich Date: Tue, 9 Aug 2016 13:10:58 +0000 Subject: [PATCH] Enhanced Documents - Change Bars --- PROMS/VEPROMS.CSLA.Library/Extension/ItemExt.cs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/PROMS/VEPROMS.CSLA.Library/Extension/ItemExt.cs b/PROMS/VEPROMS.CSLA.Library/Extension/ItemExt.cs index cde363a1..fe84e554 100644 --- a/PROMS/VEPROMS.CSLA.Library/Extension/ItemExt.cs +++ b/PROMS/VEPROMS.CSLA.Library/Extension/ItemExt.cs @@ -2983,11 +2983,11 @@ namespace VEPROMS.CSLA.Library StepConfig sc = si.MyConfig as StepConfig; if (sc == null) return false; // go back to source & see what date it has: - //if (sc.MyEnhancedDocuments != null && sc.MyEnhancedDocuments.Count == 1 && sc.MyEnhancedDocuments[0].Type == 0) - //{ - // ItemInfo ii = ItemInfo.Get(sc.MyEnhancedDocuments[0].ItemID); - // return (ii.MyContent.DTS > MyProcedure.ChangeBarDate); - //} + if (sc.MyEnhancedDocuments != null && sc.MyEnhancedDocuments.Count == 1 && sc.MyEnhancedDocuments[0].Type == 0) + { + ItemInfo ii = ItemInfo.Get(sc.MyEnhancedDocuments[0].ItemID); + return (ii.MyContent.DTS > MyProcedure.ChangeBarDate); + } // if there is no override & return whether there was a change to the text. return (MyContent.DTS > MyProcedure.ChangeBarDate); }