Skip to content

Commit

Permalink
change from feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
bergomi02 committed Oct 5, 2024
1 parent 86261cd commit f560c2d
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,16 @@

</form>

<button mat-button
*ngIf="formState.hasRemoteUsers.value"
type="button"
color="primary"
class="mb-3"
(click)="onAdd()">
<mat-icon class="add-icon">add</mat-icon>
Add Remote Practitioners
</button>

<div class="mb-4"
*ngIf="formState.form.dirty && !lastRemoteUserRemoved">
<app-alert type="success"
Expand Down Expand Up @@ -99,15 +109,7 @@
</ng-container>
</app-alert>

<button mat-button
*ngIf="formState.hasRemoteUsers.value"
type="button"
color="primary"
class="mb-3"
(click)="onAdd()">
<mat-icon class="add-icon">add</mat-icon>
Add Remote Practitioners
</button>


<app-page-footer [isInitialEnrolment]="!isCompleted"
[primaryActionLabel]="(hasBeenSubmitted) ? 'Continue' : 'Save and Continue'"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -227,10 +227,10 @@
color="primary"
title="View/Update Remote Practitioner"
*ngIf="site.careSettingCode === CareSettingEnum.PRIVATE_COMMUNITY_HEALTH_PRACTICE"
[disabled]="isPendingTransfer() || !site.completed || site.status === SiteStatusType.IN_REVIEW"
[disabled]="isPendingTransfer() || !site.completed || site.status === SiteStatusType.IN_REVIEW || site.status === SiteStatusType.LOCKED"
(click)="viewSiteRemoteUsers(organizationId, site)">
<mat-icon>folder_shared</mat-icon>
<span class="pl-1">Remote Access</span>
<span class="pl-1">Remote Practitioner</span>
</button>
</div>
</ng-template>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,8 @@ export class SiteManagementPageComponent implements OnInit {
key: 'Site Address',
value: this.addressPipe.transform(site.physicalAddress, [...optionalAddressLineItems, 'provinceCode', 'countryCode'])
},
{ key: 'Vendor', value: this.configCodePipe.transform(siteVendorCode, 'vendors') }
{ key: 'Vendor', value: this.configCodePipe.transform(siteVendorCode, 'vendors') },
{ key: 'Site ID', value: site.pec }
];
}

Expand Down

0 comments on commit f560c2d

Please sign in to comment.