C2021-013: Include the Procedure set name & date to the Approved Procedures Inconsistencies Report
This commit is contained in:
parent
54b578ed34
commit
5e7796182b
@ -292,6 +292,15 @@ namespace Volian.Print.Library
|
|||||||
c.Colspan = cols;
|
c.Colspan = cols;
|
||||||
c.HorizontalAlignment = 1;
|
c.HorizontalAlignment = 1;
|
||||||
t.AddCell(c);
|
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>();
|
Dictionary<int, string> types = new Dictionary<int, string>();
|
||||||
foreach (ProcedureInfo pi in MyItemInfoList)
|
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);
|
Color badColor = new Color(System.Drawing.Color.Khaki);
|
||||||
if (types.ContainsKey(0))
|
if (types.ContainsKey(0))
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user