Skip to content

Commit

Permalink
Swap visit and shipment IDs in post-solve info window
Browse files Browse the repository at this point in the history
  • Loading branch information
jmccollum-woolpert committed Jun 17, 2024
1 parent a7e2079 commit bab7a25
Showing 1 changed file with 7 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,18 +20,20 @@
</span>
<!-- title -->
<ng-container *ngIf="postSolve && visit; else visitRequestTitleTemplate">
<span>{{ visit | entityName: 'Visit' }}</span>
<span>
Shipment:
<span [ngClass]="{ link: navigation }" (click)="onShipmentClick()">
<span class="strong">{{ shipment | entityName }}</span>
</span>
</span>
</ng-container>
<ng-template #visitRequestTitleTemplate>
<span>{{ visitRequest | entityName: 'Visit Request' }}</span>
</ng-template>
</div>
<div class="text__caption mt-1">
<div>
Shipment:
<span [ngClass]="{ link: navigation }" (click)="onShipmentClick()">
<span class="strong">{{ shipment | entityName }}</span>
</span>
<span>{{ visit | entityName: 'Visit:' }}</span>
</div>
<div *ngIf="visit">
Visit Type: <span class="strong">{{ visit.isPickup ? 'Pickup' : 'Delivery' }}</span>
Expand Down

0 comments on commit bab7a25

Please sign in to comment.