This commit is contained in:
parent
87b06744c0
commit
e718d93ea5
@ -200,8 +200,11 @@ namespace VEPROMS
|
||||
ppTxbxChangeBarUserMsgTwo.Text = _DocVersionConfig.Print_UserCBMess2;
|
||||
ppGpbxUserSpecTxt.Enabled = ppCmbxChgBarTxtType.SelectedIndex == (int)PrintChangeBarText.UserDef;
|
||||
bool hasReviewDate = _MyProcedure.ActiveFormat.PlantFormat.HasPageListToken("{REVIEWDATE}");
|
||||
if (_MyProcedure.Sections != null)
|
||||
{
|
||||
foreach (SectionInfo mysection in _MyProcedure.Sections)
|
||||
hasReviewDate |= mysection.ActiveFormat.PlantFormat.HasPageListToken("{REVIEWDATE}");
|
||||
}
|
||||
lblReviewDate.Visible = txbReviewDate.Visible = !_AllProcedures && hasReviewDate;
|
||||
}
|
||||
|
||||
@ -331,11 +334,14 @@ namespace VEPROMS
|
||||
foreach (ProcedureInfo myProc in _DocVersionInfo.Procedures)
|
||||
{
|
||||
MyProcedure = myProc;
|
||||
if (myProc.Sections != null)
|
||||
{
|
||||
SetupForProcedure();
|
||||
frmPDFStatusForm frmStatus = new frmPDFStatusForm(MyProcedure, RevNum, RevDate, pw.ToString(), cbxDebug.Checked, cbxOpenAfterCreate2.Checked, cbxOverwritePDF2.Checked, PDFPath, cbd, txbPDFName.Text);
|
||||
frmStatus.CloseWhenDone = true;
|
||||
frmStatus.ShowDialog();
|
||||
}
|
||||
}
|
||||
this.Close();
|
||||
ShowDebugFiles();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user