David Price

Updated crew and beds and added first production operation activities

......@@ -24,7 +24,34 @@ WHERE {
} }</h2>
<dprswp:Table arg:report="{= ?report }" arg:template="dpr-tables:WellInformation" />
<dprswp:Table arg:report="{= ?report }" arg:template="dpr-tables:ProductionOperationActivity" />
<dprswp:Table arg:report="{= ?report }" arg:template="dpr-tables:PersonnelInformation" />
<table>
<tr><th>Facility</th><th>Total Beds Available</th></tr>
<ui:forEach ui:resultSet="{# SELECT ?facilityName ?beds
WHERE {
?report a ep-report:ProductionReport .
?productionOperationReport ep-core:partOf ?productionReport .
?productionOperationReport a ep-report:ProductionOperationReport .
?productionOperationReport ep-report:reportOn ?temporalPartOfFacility .
?temporalPartOfFacility ep-core:temporalPartOf ?productionFacility .
?productionFacility a ep-fac:Field .
?productionFacility npd:name ?facilityName .
?productionOperationInstallationReport ep-core:partOf ?productionOperationReport .
?productionOperationInstallationReport a ep-report:ProductionOperationInstallationReport .
?productionOperationInstallationReport ep-report:reportOn ?installationPart .
?installationPart ep-prodfac:numberOfBedsAvailable ?beds .
}
}" >
<tr><td>{= ?facilityName }</td><td>{= ?beds}</td></tr>
</ui:forEach>
</table>
</ui:group>
\ No newline at end of file
......