perbaikan tanggal UCT

This commit is contained in:
2024-07-01 14:33:57 +07:00
parent 5afb289070
commit 123c39e5a2
5 changed files with 38 additions and 24 deletions

View File

@@ -172,6 +172,7 @@ export class TableexcelService {
const worksheet: XLSX.WorkSheet = XLSX.utils.json_to_sheet(filteredJson);
const columnWidths = [
{ wch: 30 },
{ wch: 40 },
{ wch: 30 },
{ wch: 30 },
@@ -180,11 +181,11 @@ export class TableexcelService {
{ wch: 20 },
{ wch: 20 },
{ wch: 20 },
{ wch: 30 },
];
worksheet["!cols"] = columnWidths;
const header = [
"Periode",
"Device",
"Room",
"Category",
@@ -193,7 +194,6 @@ export class TableexcelService {
"Watt",
"Duration",
"Price Kwh",
"Periode",
];
XLSX.utils.sheet_add_aoa(worksheet, [header]);