From 85ec0508323bbf8009ec56e68f84ec1a4cab29f5 Mon Sep 17 00:00:00 2001 From: John Date: Tue, 1 May 2012 19:29:38 +0000 Subject: [PATCH] =?UTF-8?q?fixed=20typo=20where=20we=20should=20be=20check?= =?UTF-8?q?ing=20for=20OHLP=20format=20instead=20of=20HLP=20format=20in=20?= =?UTF-8?q?fixing=20the=20=E2=80=9CProcedure=20Steps=E2=80=9D=20section=20?= =?UTF-8?q?text=20in=20=20section=20transition=20for=20South=20Texas?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- PROMS/VEPROMS.CSLA.Library/Extension/TransitionExt.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PROMS/VEPROMS.CSLA.Library/Extension/TransitionExt.cs b/PROMS/VEPROMS.CSLA.Library/Extension/TransitionExt.cs index d8069cb6..d8429af0 100644 --- a/PROMS/VEPROMS.CSLA.Library/Extension/TransitionExt.cs +++ b/PROMS/VEPROMS.CSLA.Library/Extension/TransitionExt.cs @@ -622,7 +622,7 @@ namespace VEPROMS.CSLA.Library // check for transition that goes to a procedure step section with title of 'Procedure steps' followed // by ', Step'. This should output as 'Procedure step xyz' rather than 'Procedure steps, step xyz' // TODO: NEED TO USE A FORMAT VARIABLE TO CONTROL THE FOLLOWING - if (tb._ToItem.ActiveFormat.Name.StartsWith("HLP") && !tb._TransFormat.Contains("{Last Step}") && tb.Prefix != null && tb.Prefix.ToUpper().Contains(", STEP") && tb.ToString().ToUpper().EndsWith("PROCEDURE STEPS")) + if (tb._ToItem.ActiveFormat.Name.StartsWith("OHLP") && !tb._TransFormat.Contains("{Last Step}") && tb.Prefix != null && tb.Prefix.ToUpper().Contains(", STEP") && tb.ToString().ToUpper().EndsWith("PROCEDURE STEPS")) { tb.Remove(tb.Length - 15, 15); // remove "procedure steps" tb.Append("procedure Step");