Transition text had extra ‘, Step ‘ text in it, this was fixed.

This commit is contained in:
Kathy Ruffing 2014-02-25 14:41:26 +00:00
parent 1c9e658edf
commit 87f5f59aa0

View File

@ -849,6 +849,9 @@ namespace VEPROMS.CSLA.Library
tb.Append("procedure Step");
tb.ResetPrefix(" "); // just setting = to a space wasn't resetting prefix.
}
string tmpStr = tb.ToString();
if (tmpStr.ToUpper().EndsWith(", STEP ") && (tb.Prefix.ToUpper().EndsWith(", STEP ")))
tb.Remove(tb.Length - 7, 7); // 7 is length of ", Step "
tb.AppendPrefix();
}
else if (tb._TranType == 4 && tb._ToItem.MoreThanOneStepSection())