|
@for (type of ["CLASS", "INSTANCE"]; track type) {
{{ type }}
}
|
@switch (resource.type) {
@case ("CLASS") {
{{ getLocalPart(resource.class.effectiveConcept.type) }}
@for (resourceClass of resourceClasses; track resourceClass) {
{{ getLocalPart(resourceClass.type) }}
}
|
Quantity:
|
|
From:
|
{{ getNameFromModel(resource.class.from.node) }}
@for (stock of stocks; track stock) {
{{ getName(stock) }}
}
|
}
@case ("INSTANCE") {
{{ getLocalPart(resource.instance.instance.type) }}
@for (resourceClass of instanceClasses; track resourceClass) {
{{ getLocalPart(resourceClass.type) }}
}
|
{{ resource.instance.instance.name }}
@for (possiblesInstance of possiblesInstances; track possiblesInstance) {
{{ getNodeName(possiblesInstance) }}
}
|
}
}
|
}