Valid
${{ /* const drawings = $.find('Demo_Drawing'); const validDrawings = drawings.filter(d => d.computedStatus === 'VALID'); const numValidDrawings = $.int(validDrawings.length); return numValidDrawings; */ }}${size(find('Demo_Drawing', 'computedStatus', 'VALID'))}
Invalid
${{ /* const drawings = $.find('Demo_Drawing'); const invalidDrawings = drawings.filter(d => d.computedStatus === 'INVALID'); const numInvalidDrawings = $.int(invalidDrawings.length); return numInvalidDrawings; */ }}${size(find('Demo_Drawing', 'computedStatus', 'INVALID'))}

######

New Drawing

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