Skip to content

Commit

Permalink
work on Otz-register UI
Browse files Browse the repository at this point in the history
  • Loading branch information
sainingo committed Jan 26, 2024
1 parent c43a6de commit 87c0633
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand All @@ -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);
Expand Down

0 comments on commit 87c0633

Please sign in to comment.