NINS_CODE/bahmniapps/common/uicontrols/programmanagement/views/programAttributes.html

15 lines
706 B
HTML
Raw Normal View History

2024-12-12 22:37:39 +06:00
<div class="form-field" ng-repeat="attributeType in programAttributeTypes" ng-show="!patientProgram.editing" ng-if="isIncluded(attributeType)">
<div class="field-attribute">
<label>{{attributeType.description}} : </label>
</div>
<div class="field-value">
<span>
{{getValueForAttributeType(attributeType)}}
</span>
</div>
</div>
<div ng-show="patientProgram.editing" class="programEditing">
<article class="form-field" ng-repeat="attributeType in programAttributeTypes" ng-if="isIncluded(attributeType)">
<attribute-types target-model="patientProgram.patientProgramAttributes" attribute="attributeType"></attribute-types>
</article>
</div>