Fixed a bug for removing the basis from transitions (Calvert OPS and STPS)

This commit is contained in:
John Jenko 2014-11-12 16:39:26 +00:00
parent bcc0ec5a3b
commit 57bf9ddc2e

View File

@ -605,7 +605,7 @@ namespace VEPROMS.CSLA.Library
//itm.Save(); //itm.Save();
//} //}
} }
if (tb._ToItem.ActiveFormat.PlantFormat.FormatData.PrintData.SpecialCaseCalvert && Regex.IsMatch(retval, @".*\[B[0-9]{4,4}\].*")) if (Regex.IsMatch(retval, @".*\[B[0-9]{4,4}\].*") && tb._ToItem.ActiveFormat.PlantFormat.FormatData.PrintData.SpecialCaseCalvert )
retval = Regex.Replace(retval, @" *(\[[BP][0-9]{4,4}\])+",""); retval = Regex.Replace(retval, @" *(\[[BP][0-9]{4,4}\])+","");
return retval; return retval;
} }