Fixed a bug for removing the basis from transitions (Calvert OPS and STPS)
This commit is contained in:
parent
bcc0ec5a3b
commit
57bf9ddc2e
@ -605,7 +605,7 @@ namespace VEPROMS.CSLA.Library
|
||||
//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}\])+","");
|
||||
return retval;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user