fixed typo where we should be checking for OHLP format instead of HLP format in fixing the “Procedure Steps” section text in section transition for South Texas
This commit is contained in:
parent
c93b4b2edc
commit
85ec050832
@ -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");
|
||||
|
Loading…
x
Reference in New Issue
Block a user