|
@@ -26,8 +26,8 @@ namespace PRSDesktop
|
|
|
{
|
|
{
|
|
|
Details = 00,
|
|
Details = 00,
|
|
|
Financials,
|
|
Financials,
|
|
|
-
|
|
|
|
|
Documents,
|
|
Documents,
|
|
|
|
|
+ RFIs,
|
|
|
Stages,
|
|
Stages,
|
|
|
ITPs,
|
|
ITPs,
|
|
|
BOM,
|
|
BOM,
|
|
@@ -55,6 +55,7 @@ namespace PRSDesktop
|
|
|
private JobDetails JobDetailsPage;
|
|
private JobDetails JobDetailsPage;
|
|
|
private JobFinancialGrid JobFinancialPage;
|
|
private JobFinancialGrid JobFinancialPage;
|
|
|
private JobDocumentSetPanel JobDocumentsPage;
|
|
private JobDocumentSetPanel JobDocumentsPage;
|
|
|
|
|
+ private JobRFIPanel JobRFIPage;
|
|
|
private JobStagesPanel JobPlanningPage;
|
|
private JobStagesPanel JobPlanningPage;
|
|
|
private JobITPGrid JobITPPage;
|
|
private JobITPGrid JobITPPage;
|
|
|
private JobBillOfMaterialsPanel JobBillOfMaterialsPage;
|
|
private JobBillOfMaterialsPanel JobBillOfMaterialsPage;
|
|
@@ -102,6 +103,8 @@ namespace PRSDesktop
|
|
|
|
|
|
|
|
PageIndex.Documents => JobDocumentsPage.Selected(),
|
|
PageIndex.Documents => JobDocumentsPage.Selected(),
|
|
|
|
|
|
|
|
|
|
+ PageIndex.RFIs => JobRFIPage.Selected(),
|
|
|
|
|
+
|
|
|
PageIndex.Stages => JobPlanningPage.Selected(),
|
|
PageIndex.Stages => JobPlanningPage.Selected(),
|
|
|
|
|
|
|
|
PageIndex.ITPs => new Dictionary<string, object[]> { { typeof(JobITP).EntityName(), JobITPPage.SelectedRows } },
|
|
PageIndex.ITPs => new Dictionary<string, object[]> { { typeof(JobITP).EntityName(), JobITPPage.SelectedRows } },
|
|
@@ -176,6 +179,7 @@ namespace PRSDesktop
|
|
|
|
|
|
|
|
Financials.Visibility = Security.CanView<JobFinancial>() ? Visibility.Visible : Visibility.Collapsed;
|
|
Financials.Visibility = Security.CanView<JobFinancial>() ? Visibility.Visible : Visibility.Collapsed;
|
|
|
Documents.Visibility = Security.CanView<JobDocumentSet>() ? Visibility.Visible : Visibility.Collapsed;
|
|
Documents.Visibility = Security.CanView<JobDocumentSet>() ? Visibility.Visible : Visibility.Collapsed;
|
|
|
|
|
+ RFIs.Visibility = Security.CanView<JobRFI>() ? Visibility.Visible : Visibility.Collapsed;
|
|
|
Stages.Visibility = ClientFactory.IsSupported<JobStage>() ? Visibility.Visible : Visibility.Collapsed;
|
|
Stages.Visibility = ClientFactory.IsSupported<JobStage>() ? Visibility.Visible : Visibility.Collapsed;
|
|
|
ITPs.Visibility = ClientFactory.IsSupported<JobITP>() ? Visibility.Visible : Visibility.Collapsed;
|
|
ITPs.Visibility = ClientFactory.IsSupported<JobITP>() ? Visibility.Visible : Visibility.Collapsed;
|
|
|
BOM.Visibility = ClientFactory.IsSupported<JobBillOfMaterials>() ? Visibility.Visible : Visibility.Collapsed;
|
|
BOM.Visibility = ClientFactory.IsSupported<JobBillOfMaterials>() ? Visibility.Visible : Visibility.Collapsed;
|
|
@@ -215,10 +219,13 @@ namespace PRSDesktop
|
|
|
JobDetailsPage = null;
|
|
JobDetailsPage = null;
|
|
|
|
|
|
|
|
Financials.Content = null;
|
|
Financials.Content = null;
|
|
|
- Financials = null;
|
|
|
|
|
|
|
+ JobFinancialPage = null;
|
|
|
|
|
|
|
|
Documents.Content = null;
|
|
Documents.Content = null;
|
|
|
- Documents = null;
|
|
|
|
|
|
|
+ JobDocumentsPage = null;
|
|
|
|
|
+
|
|
|
|
|
+ RFIs.Content = null;
|
|
|
|
|
+ JobRFIPage = null;
|
|
|
|
|
|
|
|
Stages.Content = null;
|
|
Stages.Content = null;
|
|
|
JobPlanningPage = null;
|
|
JobPlanningPage = null;
|
|
@@ -349,6 +356,8 @@ namespace PRSDesktop
|
|
|
case PageIndex.Financials : RefreshGrid(Financials, ref JobFinancialPage, jobid, row != null);
|
|
case PageIndex.Financials : RefreshGrid(Financials, ref JobFinancialPage, jobid, row != null);
|
|
|
break;
|
|
break;
|
|
|
case PageIndex.Documents : RefreshPanel(Documents, ref JobDocumentsPage, jobid, row != null);
|
|
case PageIndex.Documents : RefreshPanel(Documents, ref JobDocumentsPage, jobid, row != null);
|
|
|
|
|
+ break;
|
|
|
|
|
+ case PageIndex.RFIs : RefreshPanel(RFIs, ref JobRFIPage, jobid, row != null);
|
|
|
break;
|
|
break;
|
|
|
case PageIndex.Stages : RefreshPanel(Stages, ref JobPlanningPage, jobid, row != null);
|
|
case PageIndex.Stages : RefreshPanel(Stages, ref JobPlanningPage, jobid, row != null);
|
|
|
break;
|
|
break;
|