From 87c0633199a87a6901a68719e02cf1ce21d479c0 Mon Sep 17 00:00:00 2001 From: sainingo Date: Fri, 26 Jan 2024 11:36:21 +0300 Subject: [PATCH] work on Otz-register UI --- .../registers/otz/otz-registers/otz-register.component.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/app/hiv-care-lib/registers/otz/otz-registers/otz-register.component.ts b/src/app/hiv-care-lib/registers/otz/otz-registers/otz-register.component.ts index 76d1444ce..ab48d3671 100644 --- a/src/app/hiv-care-lib/registers/otz/otz-registers/otz-register.component.ts +++ b/src/app/hiv-care-lib/registers/otz/otz-registers/otz-register.component.ts @@ -11,6 +11,7 @@ import * as XLSX from 'xlsx'; export class OtzRegisterComponent implements OnInit { public enabledControls = 'monthControl'; public _month: string; + public reportName = 'OTZ Register'; counterArray = Array(18) .fill(0) .map((_, index) => index + 1); @@ -33,6 +34,9 @@ export class OtzRegisterComponent implements OnInit { this._month = Moment(value).endOf('month').format('YYYY-MM-DD'); } + public generateReport(): void { + return; + } exportTableToExcel(): void { const table = document.getElementById('otzRegister'); const ws: XLSX.WorkSheet = XLSX.utils.table_to_sheet(table);