-
Notifications
You must be signed in to change notification settings - Fork 98
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
POC-737: Development of MOH Registers
- Loading branch information
1 parent
69e9cf5
commit 3841c24
Showing
43 changed files
with
2,410 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
54 changes: 54 additions & 0 deletions
54
src/app/data-analytics-dashboard/hiv/registers/anc-register/anc-register.component.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
<h4 class="component-title text-success"> | ||
<span class="fa fa-table"></span>{{reportName}} | ||
</h4> | ||
|
||
<div class="loader" *ngIf="isLoading"> | ||
<span><i class="fa fa-spinner fa-spin"></i>Loading...</span> | ||
</div> | ||
|
||
<p-tabView> | ||
<div> | ||
<p-tabPanel header="Monthly" leftIcon="fa-calendar-o"> | ||
<report-filters | ||
[enabledControls]="enabledControls" | ||
[monthString]="_month" | ||
(onMonthChange)="onMonthChange($event)" | ||
[reportName]="reportName" | ||
(generateReport)="generateReport()" | ||
> | ||
</report-filters> | ||
</p-tabPanel> | ||
</div> | ||
</p-tabView> | ||
|
||
<div class="alert alert-danger fade in" *ngIf="showInfoMessage"> | ||
<a href="#" class="close" data-dismiss="alert">×</a> | ||
<h4 *ngIf="!statusError"> | ||
<strong><span class="glyphicon glyphicon-warning-sign"></span> </strong> An | ||
error occurred while trying to load the report. Please try again. | ||
</h4> | ||
<p> | ||
<small>{{ errorMessage }}</small> | ||
</p> | ||
</div> | ||
<div *ngIf="!isReleased" class="alert alert-warning"> | ||
<strong>Viewing a Draft Version of the Report for the chosen month. </strong> | ||
This report is likely to change without warning. | ||
</div> | ||
<div> | ||
<p-tabView> | ||
<p-tabPanel | ||
header="Report View" | ||
leftIcon="fa-file-pdf-o" | ||
[selected]="currentViewBelow === 'pdf'" | ||
> | ||
<!-- <app-tx-ml-report-view | ||
[SummaryData]="txnewReportSummaryData" | ||
[sectionDefs]="columnDefs" | ||
(CellSelection)="onIndicatorSelected($event)" | ||
[reportDetails]="params" | ||
[reportHeader]="reportName" | ||
></app-tx-ml-report-view> --> | ||
</p-tabPanel> | ||
</p-tabView> | ||
</div> |
24 changes: 24 additions & 0 deletions
24
src/app/data-analytics-dashboard/hiv/registers/anc-register/anc-register.component.spec.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
import { async, ComponentFixture, TestBed } from '@angular/core/testing'; | ||
|
||
import { AncRegisterComponent } from './anc-register.component'; | ||
|
||
describe('AncRegisterComponent', () => { | ||
let component: AncRegisterComponent; | ||
let fixture: ComponentFixture<AncRegisterComponent>; | ||
|
||
beforeEach(async(() => { | ||
TestBed.configureTestingModule({ | ||
declarations: [AncRegisterComponent] | ||
}).compileComponents(); | ||
})); | ||
|
||
beforeEach(() => { | ||
fixture = TestBed.createComponent(AncRegisterComponent); | ||
component = fixture.componentInstance; | ||
fixture.detectChanges(); | ||
}); | ||
|
||
it('should create', () => { | ||
expect(component).toBeTruthy(); | ||
}); | ||
}); |
Oops, something went wrong.