fix: report in monalisa laporan kpi
This commit is contained in:
@@ -41,7 +41,7 @@ const exportToWord = (reportMeta: any, rawData: any, filename: any, periode: any
|
||||
<div class="Section1">
|
||||
`
|
||||
var tbody = ``
|
||||
for (let index = 0; index < 5; index++) {
|
||||
for (let index = 0; index < rawData.length; index++) {
|
||||
const element = rawData[index]
|
||||
var column = `<tr>`
|
||||
let styleTotal = ''
|
||||
@@ -53,7 +53,7 @@ const exportToWord = (reportMeta: any, rawData: any, filename: any, periode: any
|
||||
styleTotal = 'style="background-color: #c0c0c0; font-weight: bold;"'
|
||||
}
|
||||
i === 0
|
||||
? (column += `<td ${styleTotal} ${colSpan} align="left">${content.content}</td>`)
|
||||
? (column += `<td ${styleTotal} ${colSpan} align="left">${content.content || content}</td>`)
|
||||
: (column += `<td ${styleTotal}>${content}</td>`)
|
||||
}
|
||||
column += `</tr>`
|
||||
|
@@ -41,7 +41,7 @@ const exportToWord = (reportMeta: any, rawData: any, filename: any, periode: any
|
||||
<div class="Section1">
|
||||
`
|
||||
var tbody = ``
|
||||
for (let index = 0; index < 5; index++) {
|
||||
for (let index = 0; index < rawData.length; index++) {
|
||||
const element = rawData[index]
|
||||
var column = `<tr>`
|
||||
let styleTotal = ''
|
||||
@@ -53,7 +53,7 @@ const exportToWord = (reportMeta: any, rawData: any, filename: any, periode: any
|
||||
styleTotal = 'style="background-color: #c0c0c0; font-weight: bold;"'
|
||||
}
|
||||
i === 0
|
||||
? (column += `<td ${styleTotal} ${colSpan} align="left">${content.content}</td>`)
|
||||
? (column += `<td ${styleTotal} ${colSpan} align="left">${content.content || content}</td>`)
|
||||
: (column += `<td ${styleTotal}>${content}</td>`)
|
||||
}
|
||||
column += `</tr>`
|
||||
|
@@ -41,7 +41,7 @@ const exportToWord = (reportMeta: any, rawData: any, filename: any, periode: any
|
||||
<div class="Section1">
|
||||
`
|
||||
var tbody = ``
|
||||
for (let index = 0; index < 5; index++) {
|
||||
for (let index = 0; index < rawData.length; index++) {
|
||||
const element = rawData[index]
|
||||
var column = `<tr>`
|
||||
let styleTotal = ''
|
||||
@@ -53,7 +53,7 @@ const exportToWord = (reportMeta: any, rawData: any, filename: any, periode: any
|
||||
styleTotal = 'style="background-color: #c0c0c0; font-weight: bold;"'
|
||||
}
|
||||
i === 0
|
||||
? (column += `<td ${styleTotal} ${colSpan} align="left">${content.content}</td>`)
|
||||
? (column += `<td ${styleTotal} ${colSpan} align="left">${content.content || content}</td>`)
|
||||
: (column += `<td ${styleTotal}>${content}</td>`)
|
||||
}
|
||||
column += `</tr>`
|
||||
|
@@ -41,7 +41,7 @@ const exportToWord = (reportMeta: any, rawData: any, filename: any, periode: any
|
||||
<div class="Section1">
|
||||
`
|
||||
var tbody = ``
|
||||
for (let index = 0; index < 5; index++) {
|
||||
for (let index = 0; index < rawData.length; index++) {
|
||||
const element = rawData[index]
|
||||
var column = `<tr>`
|
||||
let styleTotal = ''
|
||||
@@ -53,7 +53,7 @@ const exportToWord = (reportMeta: any, rawData: any, filename: any, periode: any
|
||||
styleTotal = 'style="background-color: #c0c0c0; font-weight: bold;"'
|
||||
}
|
||||
i === 0
|
||||
? (column += `<td ${styleTotal} ${colSpan} align="left">${content.content}</td>`)
|
||||
? (column += `<td ${styleTotal} ${colSpan} align="left">${content.content || content}</td>`)
|
||||
: (column += `<td ${styleTotal}>${content}</td>`)
|
||||
}
|
||||
column += `</tr>`
|
||||
|
Reference in New Issue
Block a user