diff --git a/PROMS/Volian.Print.Library/PDFChronologyReport.cs b/PROMS/Volian.Print.Library/PDFChronologyReport.cs index 2aefd200..35cdd858 100644 --- a/PROMS/Volian.Print.Library/PDFChronologyReport.cs +++ b/PROMS/Volian.Print.Library/PDFChronologyReport.cs @@ -393,7 +393,7 @@ namespace Volian.Print.Library string txt = null; if ((cai.Text==null || cai.Text=="") && (cai.Type == 20036 || cai.Type == 20037 || cai.Type == 20038 || cai.Type == 20039)) txt = "Embedded Image"; - else if ((cai.Text == null || cai.Text == "") && (cai.Type > 20099)) + else if (cai.Type > 20099) // B2020-054: Always put out 'Equation' (removed checking for null text) txt = "Equation"; else txt = ItemInfo.ConvertToDisplayText(cai.Text); @@ -1538,8 +1538,11 @@ namespace Volian.Print.Library else { string txt = null; - if ((cai.Text==null || cai.Text=="") && (cai.Type == 20036 || cai.Type == 20037 || cai.Type == 20038 || cai.Type == 20039)) + if ((cai.Text == null || cai.Text == "") && (cai.Type == 20036 || cai.Type == 20037 || cai.Type == 20038 || cai.Type == 20039)) txt = "Embedded Image"; + // B2020-054: Always put out 'Equation' for equations in the summary report + else if (cai.Type > 20099) + txt = "Equation"; else txt = ItemInfo.ConvertToDisplayText(cai.Text); // Add Parent/Child information if applicable