Valid
${{ const workpacks = $.find('Demo_Workpack'); const validWorkpacks = workpacks.filter(w => w.computedStatus === 'VALID'); const numValidWorkpacks = $.int(validWorkpacks.length); return numValidWorkpacks; }}
Invalid
${{ const workpacks = $.find('Demo_Workpack'); const invalidWorkpacks = workpacks.filter(w => w.computedStatus === 'INVALID'); const numInvalidWorkpacks = $.int(invalidWorkpacks.length); return numInvalidWorkpacks; }}

######

New Workpack

Name | Status | Description | Persons | Datasheets | Drawings | Graph | Actions
--- | --- | --- | --- | --- | --- | --- | ---
${workpack.name} | ${lower(workpack.computedStatus)} | ${workpack.description} | ${person.name} | ${datasheet.name} | ${drawing.name} | ${workpack.graph.name} | Show