Valid
${{ const datasheets = $.find('Demo_Datasheet'); const validDatasheets = datasheets.filter(d => d.computedStatus === 'VALID'); const numValidDatasheets = $.int(validDatasheets.length); return numValidDatasheets; }}
Invalid
${{ const datasheets = $.find('Demo_Datasheet'); const invalidDatasheets = datasheets.filter(d => d.computedStatus === 'INVALID'); const numInvalidDatasheets = $.int(invalidDatasheets.length); return numInvalidDatasheets; }}

######

New Datasheet

Name | Status | Document Type | Equipment Type | Description | Deliverables | Workpacks | Graph | Actions
--- | --- | --- | --- | --- | --- | --- | --- | ---
${datasheet.name} | ${lower(datasheet.computedStatus)} | ${datasheet.docType.name} | ${datasheet.equipmentType.name} | ${datasheet.description} | ${deliverable.name} | ${workpack.name} | ${datasheet.graph.name} | Show