diff --git a/src/app/patient/patient-detail.component.html b/src/app/patient/patient-detail.component.html index d0f40242..95c6209c 100644 --- a/src/app/patient/patient-detail.component.html +++ b/src/app/patient/patient-detail.component.html @@ -62,6 +62,13 @@ {{schedule.date | date:'dd/MM/yy H:mm' }} + + Status + + + + + diff --git a/src/app/patient/patient-detail.component.spec.ts b/src/app/patient/patient-detail.component.spec.ts index 61fb7354..0729cbfe 100644 --- a/src/app/patient/patient-detail.component.spec.ts +++ b/src/app/patient/patient-detail.component.spec.ts @@ -12,6 +12,7 @@ import { of } from 'rxjs'; import { ClinicService } from '../clinic/clinic.service'; import { DentalPlanService } from '../dental-plan/dental-plan.service'; import { DataTablePagerModule } from '../shared/components/pager/datatable-pager.module'; +import { SharedComponentsModule } from '../shared/components/shared-components.module'; import { DirectivesModule } from '../shared/directives/directives.module'; import { MaterialAppModule } from '../shared/material.app.module'; import { ClinicDatabase } from '../shared/testing/databases/clinic.database'; @@ -45,6 +46,7 @@ describe('PatientDetailComponent', () => { DataTablePagerModule, HttpClientTestingModule, RouterTestingModule, + SharedComponentsModule, ], declarations: [PatientDetailComponent], providers: [ diff --git a/src/app/patient/patient-detail.component.ts b/src/app/patient/patient-detail.component.ts index f6385d47..4641bd8b 100644 --- a/src/app/patient/patient-detail.component.ts +++ b/src/app/patient/patient-detail.component.ts @@ -36,7 +36,7 @@ export class PatientDetailComponent extends BaseComponent implements OnInit { isSubmitting = false; filteredPlans: Observable>; datasource: PatientSchedulesDataSource; - columnsToDisplay = ['scheduleDate']; + columnsToDisplay = ['scheduleDate', 'scheduleStatus']; constructor( private dialog: MatDialog, diff --git a/src/app/patient/patient.module.ts b/src/app/patient/patient.module.ts index 964b77ed..ca5a135e 100644 --- a/src/app/patient/patient.module.ts +++ b/src/app/patient/patient.module.ts @@ -8,6 +8,7 @@ import { NgxMaskModule } from 'ngx-mask'; import { ClinicService } from '../clinic/clinic.service'; import { DentalPlanService } from '../dental-plan/dental-plan.service'; import { DataTablePagerModule } from '../shared/components/pager/datatable-pager.module'; +import { SharedComponentsModule } from '../shared/components/shared-components.module'; import { DirectivesModule } from '../shared/directives/directives.module'; import { AuthGuard } from '../shared/guards/auth.guard'; import { MaterialAppModule } from '../shared/material.app.module'; @@ -32,6 +33,7 @@ export const patientRoutes: Routes = [ DataTablePagerModule, DirectivesModule, NgxMaskModule, + SharedComponentsModule, ], declarations: [ PatientComponent,