Skip to content

Commit

Permalink
POC-482: Vl_1_date wrongly formatted on patient info (AMPATH#1658)
Browse files Browse the repository at this point in the history
Co-authored-by: Alfred-Mutai <[email protected]>
  • Loading branch information
drizzentic and Alfred-Mutai authored Aug 14, 2023
1 parent 33d274d commit e28ae3e
Showing 1 changed file with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -108,9 +108,11 @@ <h4 class="component-title">Last Encounter</h4>
</div>
<div class="col-md-6 col-xs-12">
<p [ngClass]="{ 'text-bold red': isVirallyUnsuppressed }">
Last Viral Load: {{ patientData?.vl_1 | zeroVl }}
<ng-container *ngIf="patientData.vl_1 !== undefined">
(<span>{{ patientData?.vl_1_date | date: 'dd-MM-yyyy' }}</span
Last Viral Load: {{ patientData?.latest_vl | zeroVl }}
<ng-container *ngIf="patientData.latest_vl !== undefined">
(<span>{{
patientData?.latest_vl_date | date: 'dd-MM-yyyy'
}}</span
>)
</ng-container>
</p>
Expand Down

0 comments on commit e28ae3e

Please sign in to comment.