B2022-093 Added a message on the RO Usage Report when no RO usages are found.
This commit is contained in:
parent
59a5f20310
commit
9c6a4c93dc
@ -1075,7 +1075,8 @@ namespace Volian.Print.Library
|
||||
string lastProcNum = string.Empty;
|
||||
string lastSection = string.Empty;
|
||||
string lastDVPath = string.Empty;
|
||||
|
||||
if (_ResultList.Count > 0)
|
||||
{
|
||||
foreach (ItemInfo item in _ResultList)
|
||||
{
|
||||
bool differentProcSet = false;
|
||||
@ -1124,7 +1125,14 @@ namespace Volian.Print.Library
|
||||
lastProcNum = curProcNum;
|
||||
lastSection = curSection;
|
||||
}
|
||||
|
||||
}
|
||||
else
|
||||
{ // B2022-093 put out a message if no RO Usages were found
|
||||
cell = new PdfPCell(new Phrase("No RO Usage Information Found", f3));
|
||||
cell.HorizontalAlignment = Element.ALIGN_LEFT;
|
||||
//cell.BackgroundColor = new Color(0xD0, 0xF0, 0xF0); // light blue
|
||||
datatable.AddCell(cell);
|
||||
}
|
||||
PutROusageForProcedure(datatable, roUse, headerwidths);
|
||||
|
||||
document.Add(datatable);
|
||||
|
Loading…
x
Reference in New Issue
Block a user