NINS_CODE/bahmniapps/clinical/displaycontrols/treatmentData/views/treatmentTable.html
travelershot 70dda814aa codepush
2024-12-12 22:37:39 +06:00

19 lines
1.2 KiB
HTML

<section class="concept-set-conatiner block treatment-section">
<h2 ng-if="::params.translationKey" class="section-title">{{::params | titleTranslate}} </h2>
<div>
<p class="placeholder-text" ng-if="!isDataPresent()">{{::'NO_TREATMENTS_MESSAGE' | translate}} </p>
<table ng-repeat="drugOrderSection in ::drugOrderSections | orderBy: drugOrderSection.visitDate" class="repeated-table drug-order-table">
<thead>
<th colspan="4" ng-if="::!isOtherActiveSection(drugOrderSection.visitDate)">
{{::'VISIT_ON_TRANSLATION_KEY'|translate}} {{::drugOrderSection.visitDate | bahmniDate}}
</th>
<th colspan="4" ng-if="::isOtherActiveSection(drugOrderSection.visitDate)">
{{::drugOrderSection.visitDate}}
</th>
</thead>
<tbody treatment-table-row drug-order="::drugOrder" params="::params" ng-repeat="drugOrder in ::drugOrderSection.drugOrders | orderBy: '::effectiveStartDate'" ng-class="::{'drug-discontinued': drugOrder.isDiscontinuedOrStopped()}" ng-if="::drugOrderSection.drugOrders.length > 0">
</tbody>
</table>
</div>
</section>