diff --git a/PROMS/Volian.Print.Library/PDFTransitionReport.cs b/PROMS/Volian.Print.Library/PDFTransitionReport.cs index d88f056f..68be7d20 100644 --- a/PROMS/Volian.Print.Library/PDFTransitionReport.cs +++ b/PROMS/Volian.Print.Library/PDFTransitionReport.cs @@ -311,7 +311,7 @@ namespace Volian.Print.Library PdfPCell c = new PdfPCell(h); c.HorizontalAlignment = Element.ALIGN_LEFT; c.PaddingBottom = paddingBottom; - if (lastLevel > 1 && !tranTypes[ti.TranType].Contains("{Proc")) c.BackgroundColor = new Color(System.Drawing.Color.LightCoral); + if (lastLevel > 1 && (!tranTypes[ti.TranType].Contains("{Proc") && !tranTypes[ti.TranType].Contains("other procedure"))) c.BackgroundColor = new Color(System.Drawing.Color.LightCoral); t.AddCell(c); //add from text h = new Phrase(); @@ -321,7 +321,7 @@ namespace Volian.Print.Library c = new PdfPCell(h); c.HorizontalAlignment = Element.ALIGN_LEFT; c.PaddingBottom = paddingBottom; - if (lastLevel > 1 && !tranTypes[ti.TranType].Contains("{Proc")) c.BackgroundColor = new Color(System.Drawing.Color.LightCoral); + if (lastLevel > 1 && (!tranTypes[ti.TranType].Contains("{Proc") && !tranTypes[ti.TranType].Contains("other procedure"))) c.BackgroundColor = new Color(System.Drawing.Color.LightCoral); t.AddCell(c); //add to text h = new Phrase(); @@ -331,7 +331,7 @@ namespace Volian.Print.Library c = new PdfPCell(h); c.HorizontalAlignment = Element.ALIGN_LEFT; c.PaddingBottom = paddingBottom; - if (lastLevel > 1 && !tranTypes[ti.TranType].Contains("{Proc")) c.BackgroundColor = new Color(System.Drawing.Color.LightCoral); + if (lastLevel > 1 && (!tranTypes[ti.TranType].Contains("{Proc") && !tranTypes[ti.TranType].Contains("other procedure"))) c.BackgroundColor = new Color(System.Drawing.Color.LightCoral); t.AddCell(c); } }