C2021-013: Include the Procedure set name & date to the Approved Procedures Inconsistencies Report

This commit is contained in:
Kathy Ruffing 2021-05-12 14:45:39 +00:00
parent 54b578ed34
commit 5e7796182b

View File

@ -292,6 +292,15 @@ namespace Volian.Print.Library
c.Colspan = cols;
c.HorizontalAlignment = 1;
t.AddCell(c);
// C2021-013: Include the Procedure set name & date
h = new Phrase();
h.Font = f1;
string tmp = MyDocVersion.MyFolder.Name + " " + DateTime.Now.ToString("M/d/yyyy");
h.Add(tmp);
c = new PdfPCell(h);
c.Colspan = cols;
c.HorizontalAlignment = 1;
t.AddCell(c);
Dictionary<int, string> types = new Dictionary<int, string>();
foreach (ProcedureInfo pi in MyItemInfoList)
{
@ -406,7 +415,7 @@ namespace Volian.Print.Library
}
}
}
Color goodColor = new Color(System.Drawing.Color.PaleGreen);
Color goodColor = new Color(System.Drawing.Color.YellowGreen); // PaleGreen too dark
Color badColor = new Color(System.Drawing.Color.Khaki);
if (types.ContainsKey(0))
{