fix: report in monalisa laporan kpi
This commit is contained in:
@ -266,10 +266,7 @@ const formatData = (rawData: any, reportMeta: any) => {
|
||||
]
|
||||
|
||||
formattedData.push([summaryName, ...result])
|
||||
formattedData.push([
|
||||
{ content: 'RATA-RATA', colSpan: 2, styles: { fontStyle: 'bold' } },
|
||||
...result
|
||||
])
|
||||
formattedData.push([{ content: 'RATA-RATA', styles: { fontStyle: 'bold' } }, ...result])
|
||||
|
||||
return formattedData
|
||||
}
|
||||
|
@ -180,7 +180,7 @@ const formatData = (rawData: any, reportMeta: any) => {
|
||||
]
|
||||
|
||||
formattedData.push([summaryName, ...result])
|
||||
formattedData.push([{ content: 'TOTAL', colSpan: 2, styles: { fontStyle: 'bold' } }, ...result])
|
||||
formattedData.push([{ content: 'TOTAL', styles: { fontStyle: 'bold' } }, ...result])
|
||||
|
||||
return formattedData
|
||||
}
|
||||
|
@ -208,7 +208,7 @@ const formatData = (rawData: any, reportMeta: any) => {
|
||||
]
|
||||
|
||||
formattedData.push([summaryName, ...result])
|
||||
formattedData.push([{ content: 'TOTAL', colSpan: 2, styles: { fontStyle: 'bold' } }, ...result])
|
||||
formattedData.push([{ content: 'TOTAL', styles: { fontStyle: 'bold' } }, ...result])
|
||||
|
||||
return formattedData
|
||||
}
|
||||
|
@ -362,7 +362,7 @@ const formatData = (rawData: any, reportMeta: any) => {
|
||||
]
|
||||
|
||||
formattedData.push([summaryName, ...result])
|
||||
formattedData.push([{ content: 'TOTAL', colSpan: 2, styles: { fontStyle: 'bold' } }, ...result])
|
||||
formattedData.push([{ content: 'TOTAL', styles: { fontStyle: 'bold' } }, ...result])
|
||||
|
||||
return formattedData
|
||||
}
|
||||
|
@ -265,10 +265,7 @@ const formatData = (rawData: any, reportMeta: any) => {
|
||||
]
|
||||
|
||||
formattedData.push([summaryName, ...result])
|
||||
formattedData.push([
|
||||
{ content: 'RATA-RATA', colSpan: 2, styles: { fontStyle: 'bold' } },
|
||||
...result
|
||||
])
|
||||
formattedData.push([{ content: 'RATA-RATA', styles: { fontStyle: 'bold' } }, ...result])
|
||||
|
||||
return formattedData
|
||||
}
|
||||
|
@ -174,7 +174,7 @@ const formatData = (rawData: any, reportMeta: any) => {
|
||||
]
|
||||
|
||||
formattedData.push([summaryName, ...result])
|
||||
formattedData.push([{ content: 'TOTAL', colSpan: 2, styles: { fontStyle: 'bold' } }, ...result])
|
||||
formattedData.push([{ content: 'TOTAL', styles: { fontStyle: 'bold' } }, ...result])
|
||||
|
||||
return formattedData
|
||||
}
|
||||
|
@ -208,7 +208,7 @@ const formatData = (rawData: any, reportMeta: any) => {
|
||||
]
|
||||
|
||||
formattedData.push([summaryName, ...result])
|
||||
formattedData.push([{ content: 'TOTAL', colSpan: 2, styles: { fontStyle: 'bold' } }, ...result])
|
||||
formattedData.push([{ content: 'TOTAL', styles: { fontStyle: 'bold' } }, ...result])
|
||||
|
||||
return formattedData
|
||||
}
|
||||
|
@ -361,7 +361,7 @@ const formatData = (rawData: any, reportMeta: any) => {
|
||||
]
|
||||
|
||||
formattedData.push([summaryName, ...result])
|
||||
formattedData.push([{ content: 'TOTAL', colSpan: 2, styles: { fontStyle: 'bold' } }, ...result])
|
||||
formattedData.push([{ content: 'TOTAL', styles: { fontStyle: 'bold' } }, ...result])
|
||||
|
||||
return formattedData
|
||||
}
|
||||
|
Reference in New Issue
Block a user