TableSummaryTriputra.js 420 KB
Newer Older
syadziy's avatar
syadziy committed
1
import { createMuiTheme, FormControlLabel, MuiThemeProvider, TableCell, Typography } from '@material-ui/core'
Riri Novita's avatar
Riri Novita committed
2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
import MUIDataTable from 'mui-datatables';
import React, { Component } from 'react'
import NumberFormat from 'react-number-format';


var ct = require("../../library/CustomTable");
const getMuiTheme = () => createMuiTheme(ct.customTable3());

const options = ct.customOptionsFixedColumn();
const style = {
    position: "sticky",
    left: 0,
    zIndex: 101,
    background: "white",
};
const style2 = {
    position: "sticky",
    background: "white",
    zIndex: 100
};

export default class TableSummaryTriputra extends Component {
    render() {
        let dataTable2 = this.props.dataTable

        const columnMTD = [
Riri Novita's avatar
Riri Novita committed
28 29 30 31 32
            {
                name: "",
                options: {
                    display: false
                }
33
            },
Riri Novita's avatar
Riri Novita committed
34 35 36 37 38
            {
                name: "",
                options: {
                    display: false
                }
39
            },
Riri Novita's avatar
Riri Novita committed
40 41 42 43 44
            {
                name: "",
                options: {
                    display: false
                }
45
            },
Riri Novita's avatar
Riri Novita committed
46
            {
Riri Novita's avatar
Riri Novita committed
47
                name: "Company",
Riri Novita's avatar
Riri Novita committed
48
                options: {
Riri Novita's avatar
Riri Novita committed
49 50 51 52 53 54 55 56 57
                    customHeadRender: (columnMeta) => (
                        <TableCell key={columnMeta.index} style={{ ...style, top: 0, zIndex: 102, backgroundColor: '#1c71b8', width: 300, borderRight: '1px #fff solid' }}>
                            <Typography style={{ color: 'white', fontSize: 12, fontWeight: 'bold', textAlign: 'left' }}>{columnMeta.name}</Typography>
                        </TableCell>
                    ),
                    setCellProps: () => ({ style }),
                    customBodyRender: (val, tableMeta) => {
                        return (
                            <div style={{ width: 300 }}>
Riri Novita's avatar
Riri Novita committed
58 59 60 61 62 63 64 65
                                {
                                    tableMeta.rowData[2] == 0 ?
                                        <span style={{ fontSize: 12, fontWeight: 'bold' }}>{String(val).toUpperCase()}</span>
                                        :
                                        <div style={{ paddingLeft: 20 * Number(tableMeta.rowData[2]) }}>
                                            <span style={{ fontSize: 12 }}>{val}</span>
                                        </div>
                                }
Riri Novita's avatar
Riri Novita committed
66 67 68
                            </div>
                        )
                    }
Riri Novita's avatar
Riri Novita committed
69
                }
Riri Novita's avatar
Riri Novita committed
70
            }, {
rifkaki's avatar
rifkaki committed
71
                name: `MTD ${Number(this.props.periode)}`,
Riri Novita's avatar
Riri Novita committed
72 73
                options: {
                    customHeadRender: (columnMeta) => (
Riri Novita's avatar
Riri Novita committed
74
                        <th style={{ ...style2, backgroundColor: '#1c71b8', top: 0, color: '#fff', fontSize: 13, fontWeight: 1, width: 150, borderRight: "1px solid rgb(255, 255, 255)" }} >
Riri Novita's avatar
Riri Novita committed
75 76
                            <div style={{ borderBottom: "1px #fff solid", textAlign: 'center', fontSize: 12, fontWeight: 'bold', padding: 5 }}>{columnMeta.name}</div>
                            <div className="grid grid-4x" style={{ ...style2, backgroundColor: '#1c71b8', color: '#fff', fontSize: 12, fontWeight: 'bold', position: "sticky" }}>
Riri Novita's avatar
Riri Novita committed
77
                                <div className="column-1" style={{ placeSelf: 'center', textAlign: 'center', border: '1px #fff solid', backgroundColor: '#07a7d0', height: 65 }}>
Riri Novita's avatar
Riri Novita committed
78
                                    <div style={{ borderBottom: '1px #fff solid', backgroundColor: '#1c71b8', justifyContent: 'center', display: 'flex', alignItems: 'center', color: 'white', height: 25 }}>
faisalhamdi's avatar
faisalhamdi committed
79
                                        <span>{"Revenue"}</span>
Riri Novita's avatar
Riri Novita committed
80
                                    </div>
81
                                    <div className="grid grid-3x" style={{ height: 25 }}>
Riri Novita's avatar
Riri Novita committed
82
                                        <div className="column-1" style={{ borderRight: '1px #fff solid', justifyContent: 'center', display: 'flex', alignItems: 'center', backgroundColor: '#07a7d0', height: 40 }}>
Riri Novita's avatar
Riri Novita committed
83 84
                                            <span>{"Act"}</span>
                                        </div>
Riri Novita's avatar
Riri Novita committed
85
                                        <div className="column-2" style={{ borderLeft: '1px #fff solid', justifyContent: 'center', display: 'flex', alignItems: 'center', backgroundColor: '#07a7d0', height: 40 }}>
Riri Novita's avatar
Riri Novita committed
86 87
                                            <span>{"MB"}</span>
                                        </div>
Riri Novita's avatar
Riri Novita committed
88
                                        <div className="column-3" style={{ borderLeft: '1px #fff solid', justifyContent: 'center', display: 'flex', alignItems: 'center', backgroundColor: '#07a7d0', height: 40 }}>
Riri Novita's avatar
Riri Novita committed
89 90 91 92
                                            <span>{"% of MB"}</span>
                                        </div>
                                    </div>
                                </div>
Riri Novita's avatar
Riri Novita committed
93
                                <div className="column-2" style={{ placeSelf: 'center', textAlign: 'center', border: '1px #fff solid', backgroundColor: '#37b5e6', height: 65 }}>
Riri Novita's avatar
Riri Novita committed
94
                                    <div style={{ borderBottom: '1px #fff solid', backgroundColor: '#1c71b8', justifyContent: 'center', display: 'flex', alignItems: 'center', color: 'white', height: 25 }}>
Riri Novita's avatar
Riri Novita committed
95 96
                                        <span>{"EBITDA"}</span>
                                    </div>
97
                                    <div className="grid grid-3x" style={{ height: 25 }}>
Riri Novita's avatar
Riri Novita committed
98
                                        <div className="column-1" style={{ borderRight: '1px #fff solid', justifyContent: 'center', display: 'flex', alignItems: 'center', backgroundColor: '#07a7d0', height: 40 }}>
Riri Novita's avatar
Riri Novita committed
99 100
                                            <span>{"Act"}</span>
                                        </div>
Riri Novita's avatar
Riri Novita committed
101
                                        <div className="column-2" style={{ borderLeft: '1px #fff solid', justifyContent: 'center', display: 'flex', alignItems: 'center', backgroundColor: '#07a7d0', height: 40 }}>
Riri Novita's avatar
Riri Novita committed
102 103
                                            <span>{"MB"}</span>
                                        </div>
Riri Novita's avatar
Riri Novita committed
104
                                        <div className="column-3" style={{ borderLeft: '1px #fff solid', justifyContent: 'center', display: 'flex', alignItems: 'center', backgroundColor: '#07a7d0', height: 40 }}>
Riri Novita's avatar
Riri Novita committed
105 106 107 108
                                            <span>{"% of MB"}</span>
                                        </div>
                                    </div>
                                </div>
Riri Novita's avatar
Riri Novita committed
109
                                <div className="column-3" style={{ placeSelf: 'center', textAlign: 'center', border: '1px #fff solid', backgroundColor: '#37b5e6', height: 65 }}>
Riri Novita's avatar
Riri Novita committed
110
                                    <div style={{ borderBottom: '1px #fff solid', backgroundColor: '#1c71b8', justifyContent: 'center', display: 'flex', alignItems: 'center', color: 'white', height: 25 }}>
Riri Novita's avatar
Riri Novita committed
111 112
                                        <span>{"TPAT"}</span>
                                    </div>
113
                                    <div className="grid grid-3x" style={{ height: 25 }}>
Riri Novita's avatar
Riri Novita committed
114
                                        <div className="column-1" style={{ borderRight: '1px #fff solid', justifyContent: 'center', display: 'flex', alignItems: 'center', backgroundColor: '#07a7d0', height: 40 }}>
Riri Novita's avatar
Riri Novita committed
115 116
                                            <span>{"Act"}</span>
                                        </div>
Riri Novita's avatar
Riri Novita committed
117
                                        <div className="column-2" style={{ borderLeft: '1px #fff solid', justifyContent: 'center', display: 'flex', alignItems: 'center', backgroundColor: '#07a7d0', height: 40 }}>
Riri Novita's avatar
Riri Novita committed
118 119
                                            <span>{"MB"}</span>
                                        </div>
Riri Novita's avatar
Riri Novita committed
120
                                        <div className="column-3" style={{ borderLeft: '1px #fff solid', justifyContent: 'center', display: 'flex', alignItems: 'center', backgroundColor: '#07a7d0', height: 40 }}>
Riri Novita's avatar
Riri Novita committed
121 122 123 124
                                            <span>{"% of MB"}</span>
                                        </div>
                                    </div>
                                </div>
Riri Novita's avatar
Riri Novita committed
125
                                <div className="column-4" style={{ placeSelf: 'center', textAlign: 'center', border: '1px #fff solid', backgroundColor: '#37b5e6', height: 65 }}>
Riri Novita's avatar
Riri Novita committed
126
                                    <div style={{ borderBottom: '1px #fff solid', backgroundColor: '#1c71b8', justifyContent: 'center', display: 'flex', alignItems: 'center', color: 'white', height: 25 }}>
Riri Novita's avatar
Riri Novita committed
127 128
                                        <span>{"NPAT"}</span>
                                    </div>
129
                                    <div className="grid grid-3x" style={{ height: 25 }}>
Riri Novita's avatar
Riri Novita committed
130
                                        <div className="column-1" style={{ borderRight: '1px #fff solid', justifyContent: 'center', display: 'flex', alignItems: 'center', backgroundColor: '#07a7d0', height: 40 }}>
Riri Novita's avatar
Riri Novita committed
131 132
                                            <span>{"Act"}</span>
                                        </div>
Riri Novita's avatar
Riri Novita committed
133
                                        <div className="column-2" style={{ borderLeft: '1px #fff solid', justifyContent: 'center', display: 'flex', alignItems: 'center', backgroundColor: '#07a7d0', height: 40 }}>
Riri Novita's avatar
Riri Novita committed
134 135
                                            <span>{"MB"}</span>
                                        </div>
Riri Novita's avatar
Riri Novita committed
136
                                        <div className="column-3" style={{ borderLeft: '1px #fff solid', justifyContent: 'center', display: 'flex', alignItems: 'center', backgroundColor: '#07a7d0', height: 40 }}>
Riri Novita's avatar
Riri Novita committed
137 138 139 140 141 142 143 144 145
                                            <span>{"% of MB"}</span>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </th>
                    ),
                    setCellProps: () => ({ style2 }),
                    customBodyRender: (val, tableMeta, updateValue) => {
Riri Novita's avatar
Riri Novita committed
146 147 148
                        // if (tableMeta.rowData[3] == "ABA" ) {
                        //     console.log(tableMeta.rowData);
                        // }
Riri Novita's avatar
Riri Novita committed
149 150
                        return (
                            <div>
Riri Novita's avatar
Riri Novita committed
151
                                <div className="grid grid-4x content-center">
Riri Novita's avatar
Riri Novita committed
152 153
                                    <div className="col-1">
                                        <div className="grid grid-3x content-center">
154 155
                                            <div className="col-1" style={{ padding: 0, left: -15 }} >
                                                <div style={{ flex: 1 }}>
Riri Novita's avatar
Riri Novita committed
156 157 158 159 160 161
                                                    <FormControlLabel
                                                        style={{ margin: 0 }}
                                                        value={val}
                                                        control={
                                                            <NumberFormat
                                                                thousandSeparator={true}
162
                                                                style={{ color: (tableMeta.rowData[2] !== 0 && tableMeta.rowData[2] !== 1) && !tableMeta.rowData[37] ? '#5198ea' : '#000000de', fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
Riri Novita's avatar
Riri Novita committed
163 164 165
                                                                type="text"
                                                                placeholder=""
                                                                disabled={true}
Riri Novita's avatar
Riri Novita committed
166
                                                                value={(tableMeta.rowData[4])}
Riri Novita's avatar
Riri Novita committed
167 168 169
                                                            />
                                                        }
                                                    />
Riri Novita's avatar
Riri Novita committed
170 171 172
                                                </div>
                                            </div>
                                            <div className="col-2">
Riri Novita's avatar
Riri Novita committed
173 174 175 176 177 178 179
                                                <div style={{ flex: 1 }}>
                                                    <FormControlLabel
                                                        style={{ margin: 0 }}
                                                        value={val}
                                                        control={
                                                            <NumberFormat
                                                                thousandSeparator={true}
180
                                                                style={{ color: (tableMeta.rowData[2] !== 0 && tableMeta.rowData[2] !== 1) && !tableMeta.rowData[37] ? '#5198ea' : '#000000de', fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
Riri Novita's avatar
Riri Novita committed
181 182 183
                                                                type="text"
                                                                placeholder=""
                                                                disabled={true}
Riri Novita's avatar
Riri Novita committed
184
                                                                value={(tableMeta.rowData[5])}
Riri Novita's avatar
Riri Novita committed
185 186 187
                                                            />
                                                        }
                                                    />
Riri Novita's avatar
Riri Novita committed
188 189 190
                                                </div>
                                            </div>
                                            <div className="col-3">
Riri Novita's avatar
Riri Novita committed
191 192 193 194 195 196 197
                                                <div style={{ flex: 1 }}>
                                                    <FormControlLabel
                                                        style={{ margin: 0 }}
                                                        value={val}
                                                        control={
                                                            <NumberFormat
                                                                thousandSeparator={true}
198
                                                                style={{ color: (tableMeta.rowData[2] !== 0 && tableMeta.rowData[2] !== 1) && !tableMeta.rowData[37] ? '#5198ea' : '#000000de', fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
Riri Novita's avatar
Riri Novita committed
199 200 201
                                                                type="text"
                                                                placeholder=""
                                                                disabled={true}
Riri Novita's avatar
Riri Novita committed
202 203
                                                                suffix={'%'}
                                                                value={tableMeta.rowData[6]}
Riri Novita's avatar
Riri Novita committed
204 205 206
                                                            />
                                                        }
                                                    />
Riri Novita's avatar
Riri Novita committed
207 208 209 210 211
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                    <div className="col-2">
Riri Novita's avatar
Riri Novita committed
212
                                        <div className="grid grid-3x content-center">
Riri Novita's avatar
Riri Novita committed
213
                                            <div className="col-1">
Riri Novita's avatar
Riri Novita committed
214 215 216 217 218 219 220
                                                <div style={{ flex: 1 }}>
                                                    <FormControlLabel
                                                        style={{ margin: 0 }}
                                                        value={val}
                                                        control={
                                                            <NumberFormat
                                                                thousandSeparator={true}
221
                                                                style={{ color: (tableMeta.rowData[2] !== 0 && tableMeta.rowData[2] !== 1) && !tableMeta.rowData[37] ? '#5198ea' : '#000000de', fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
Riri Novita's avatar
Riri Novita committed
222 223 224
                                                                type="text"
                                                                placeholder=""
                                                                disabled={true}
Riri Novita's avatar
Riri Novita committed
225
                                                                value={(tableMeta.rowData[7])}
Riri Novita's avatar
Riri Novita committed
226 227 228
                                                            />
                                                        }
                                                    />
Riri Novita's avatar
Riri Novita committed
229 230 231
                                                </div>
                                            </div>
                                            <div className="col-2">
Riri Novita's avatar
Riri Novita committed
232 233 234 235 236 237 238
                                                <div style={{ flex: 1 }}>
                                                    <FormControlLabel
                                                        style={{ margin: 0 }}
                                                        value={val}
                                                        control={
                                                            <NumberFormat
                                                                thousandSeparator={true}
239
                                                                style={{ color: (tableMeta.rowData[2] !== 0 && tableMeta.rowData[2] !== 1) && !tableMeta.rowData[37] ? '#5198ea' : '#000000de', fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
Riri Novita's avatar
Riri Novita committed
240 241 242
                                                                type="text"
                                                                placeholder=""
                                                                disabled={true}
Riri Novita's avatar
Riri Novita committed
243
                                                                value={(tableMeta.rowData[8])}
Riri Novita's avatar
Riri Novita committed
244 245 246
                                                            />
                                                        }
                                                    />
Riri Novita's avatar
Riri Novita committed
247 248 249
                                                </div>
                                            </div>
                                            <div className="col-3">
Riri Novita's avatar
Riri Novita committed
250 251 252 253 254 255 256
                                                <div style={{ flex: 1 }}>
                                                    <FormControlLabel
                                                        style={{ margin: 0 }}
                                                        value={val}
                                                        control={
                                                            <NumberFormat
                                                                thousandSeparator={true}
257
                                                                style={{ color: (tableMeta.rowData[2] !== 0 && tableMeta.rowData[2] !== 1) && !tableMeta.rowData[37] ? '#5198ea' : '#000000de', fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
Riri Novita's avatar
Riri Novita committed
258 259 260 261
                                                                type="text"
                                                                placeholder=""
                                                                suffix={'%'}
                                                                disabled={true}
Riri Novita's avatar
Riri Novita committed
262
                                                                value={tableMeta.rowData[9]}
Riri Novita's avatar
Riri Novita committed
263 264 265
                                                            />
                                                        }
                                                    />
Riri Novita's avatar
Riri Novita committed
266 267 268 269 270 271 272
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                    <div className="col-3">
                                        <div className="grid grid-3x content-center">
                                            <div className="col-1">
Riri Novita's avatar
Riri Novita committed
273 274 275 276 277 278 279
                                                <div style={{ flex: 1 }}>
                                                    <FormControlLabel
                                                        style={{ margin: 0 }}
                                                        value={val}
                                                        control={
                                                            <NumberFormat
                                                                thousandSeparator={true}
280
                                                                style={{ color: (tableMeta.rowData[2] !== 0 && tableMeta.rowData[2] !== 1) && !tableMeta.rowData[37] ? '#5198ea' : '#000000de', fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
Riri Novita's avatar
Riri Novita committed
281 282 283
                                                                type="text"
                                                                placeholder=""
                                                                disabled={true}
Riri Novita's avatar
Riri Novita committed
284
                                                                value={(tableMeta.rowData[10])}
Riri Novita's avatar
Riri Novita committed
285 286 287
                                                            />
                                                        }
                                                    />
Riri Novita's avatar
Riri Novita committed
288 289 290
                                                </div>
                                            </div>
                                            <div className="col-2">
Riri Novita's avatar
Riri Novita committed
291 292 293 294 295 296 297
                                                <div style={{ flex: 1 }}>
                                                    <FormControlLabel
                                                        style={{ margin: 0 }}
                                                        value={val}
                                                        control={
                                                            <NumberFormat
                                                                thousandSeparator={true}
298
                                                                style={{ color: (tableMeta.rowData[2] !== 0 && tableMeta.rowData[2] !== 1) && !tableMeta.rowData[37] ? '#5198ea' : '#000000de', fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
Riri Novita's avatar
Riri Novita committed
299 300 301
                                                                type="text"
                                                                placeholder=""
                                                                disabled={true}
Riri Novita's avatar
Riri Novita committed
302
                                                                value={(tableMeta.rowData[11])}
Riri Novita's avatar
Riri Novita committed
303 304 305
                                                            />
                                                        }
                                                    />
Riri Novita's avatar
Riri Novita committed
306 307 308
                                                </div>
                                            </div>
                                            <div className="col-3">
Riri Novita's avatar
Riri Novita committed
309 310 311 312 313 314 315
                                                <div style={{ flex: 1 }}>
                                                    <FormControlLabel
                                                        style={{ margin: 0 }}
                                                        value={val}
                                                        control={
                                                            <NumberFormat
                                                                thousandSeparator={true}
316
                                                                style={{ color: (tableMeta.rowData[2] !== 0 && tableMeta.rowData[2] !== 1) && !tableMeta.rowData[37] ? '#5198ea' : '#000000de', fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
Riri Novita's avatar
Riri Novita committed
317 318 319 320
                                                                type="text"
                                                                placeholder=""
                                                                suffix={'%'}
                                                                disabled={true}
Riri Novita's avatar
Riri Novita committed
321
                                                                value={tableMeta.rowData[12]}
Riri Novita's avatar
Riri Novita committed
322 323 324
                                                            />
                                                        }
                                                    />
Riri Novita's avatar
Riri Novita committed
325 326 327 328 329 330 331
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                    <div className="col-4">
                                        <div className="grid grid-3x content-center">
                                            <div className="col-1">
Riri Novita's avatar
Riri Novita committed
332 333 334 335 336 337 338
                                                <div style={{ flex: 1 }}>
                                                    <FormControlLabel
                                                        style={{ margin: 0 }}
                                                        value={val}
                                                        control={
                                                            <NumberFormat
                                                                thousandSeparator={true}
339
                                                                style={{ color: (tableMeta.rowData[2] !== 0 && tableMeta.rowData[2] !== 1) && !tableMeta.rowData[37] ? '#5198ea' : '#000000de', fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
Riri Novita's avatar
Riri Novita committed
340 341 342
                                                                type="text"
                                                                placeholder=""
                                                                disabled={true}
Riri Novita's avatar
Riri Novita committed
343
                                                                value={(tableMeta.rowData[13])}
Riri Novita's avatar
Riri Novita committed
344 345 346
                                                            />
                                                        }
                                                    />
Riri Novita's avatar
Riri Novita committed
347 348 349
                                                </div>
                                            </div>
                                            <div className="col-2">
Riri Novita's avatar
Riri Novita committed
350 351 352 353 354 355 356
                                                <div style={{ flex: 1 }}>
                                                    <FormControlLabel
                                                        style={{ margin: 0 }}
                                                        value={val}
                                                        control={
                                                            <NumberFormat
                                                                thousandSeparator={true}
357
                                                                style={{ color: (tableMeta.rowData[2] !== 0 && tableMeta.rowData[2] !== 1) && !tableMeta.rowData[37] ? '#5198ea' : '#000000de', fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
Riri Novita's avatar
Riri Novita committed
358 359 360
                                                                type="text"
                                                                placeholder=""
                                                                disabled={true}
Riri Novita's avatar
Riri Novita committed
361
                                                                value={(tableMeta.rowData[14])}
Riri Novita's avatar
Riri Novita committed
362 363 364
                                                            />
                                                        }
                                                    />
Riri Novita's avatar
Riri Novita committed
365 366 367
                                                </div>
                                            </div>
                                            <div className="col-3">
Riri Novita's avatar
Riri Novita committed
368 369 370 371 372 373 374
                                                <div style={{ flex: 1 }}>
                                                    <FormControlLabel
                                                        style={{ margin: 0 }}
                                                        value={val}
                                                        control={
                                                            <NumberFormat
                                                                thousandSeparator={true}
375
                                                                style={{ color: (tableMeta.rowData[2] !== 0 && tableMeta.rowData[2] !== 1) && !tableMeta.rowData[37] ? '#5198ea' : '#000000de', fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
Riri Novita's avatar
Riri Novita committed
376 377 378 379
                                                                type="text"
                                                                placeholder=""
                                                                suffix={'%'}
                                                                disabled={true}
Riri Novita's avatar
Riri Novita committed
380
                                                                value={tableMeta.rowData[15]}
Riri Novita's avatar
Riri Novita committed
381 382 383
                                                            />
                                                        }
                                                    />
Riri Novita's avatar
Riri Novita committed
384 385 386 387 388 389 390 391 392
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        )
                    }
                },
Riri Novita's avatar
Riri Novita committed
393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452
            }, {
                name: "",
                options: {
                    display: false
                }
            }, {
                name: "",
                options: {
                    display: false
                }
            }, {
                name: "",
                options: {
                    display: false
                }
            }, {
                name: "",
                options: {
                    display: false
                }
            }, {
                name: "",
                options: {
                    display: false
                }
            }, {
                name: "",
                options: {
                    display: false
                }
            }, {
                name: "",
                options: {
                    display: false
                }
            }, {
                name: "",
                options: {
                    display: false
                }
            }, {
                name: "",
                options: {
                    display: false
                }
            }, {
                name: "",
                options: {
                    display: false
                }
            }, {
                name: "",
                options: {
                    display: false
                }
            }, {
                name: "",
                options: {
                    display: false
                }
453
            }, {
rifkaki's avatar
rifkaki committed
454
                name: `MTD ${Number(this.props.periode)} (OPTIONAL)`,
Riri Novita's avatar
Riri Novita committed
455 456
                options: {
                    customHeadRender: (columnMeta) => (
Riri Novita's avatar
Riri Novita committed
457
                        <th style={{ ...style2, backgroundColor: '#1c71b8', top: 0, color: '#fff', fontSize: 13, fontWeight: 1, width: 150, borderRight: "1px solid rgb(255, 255, 255)" }} >
Riri Novita's avatar
Riri Novita committed
458
                            <div style={{ borderBottom: "1px #fff solid", textAlign: 'center', fontSize: 12, fontWeight: 'bold', padding: 5 }}>{columnMeta.name}</div>
Riri Novita's avatar
Riri Novita committed
459 460
                            <div className="column-5" style={{ ...style2, display: 'flex', backgroundColor: '#1c71b8', color: '#fff', fontSize: 12, fontWeight: 'bold', position: "sticky" }}>
                                <div className="column-1" style={{ placeSelf: 'center', textAlign: 'center', border: '1px #fff solid', backgroundColor: '#07a7d0', height: 65, width: 685 }}>
Riri Novita's avatar
Riri Novita committed
461 462 463
                                    <div style={{ borderBottom: '1px #fff solid', backgroundColor: '#1c71b8', justifyContent: 'center', display: 'flex', alignItems: 'center', color: 'white', height: 25 }}>
                                        <span>{"Cash Flow"}</span>
                                    </div>
464
                                    <div className="grid grid-4x" style={{ height: 25 }}>
Riri Novita's avatar
Riri Novita committed
465 466
                                        <div className="column-1" style={{ borderRight: '1px #fff solid', justifyContent: 'center', display: 'flex', alignItems: 'center', backgroundColor: '#07a7d0', height: 40 }}>
                                            <span>{"CFO"}</span>
Riri Novita's avatar
Riri Novita committed
467
                                        </div>
Riri Novita's avatar
Riri Novita committed
468 469 470 471 472 473 474 475
                                        <div className="column-2" style={{ borderLeft: '1px #fff solid', justifyContent: 'center', display: 'flex', alignItems: 'center', backgroundColor: '#07a7d0', height: 40 }}>
                                            <span>{"CFI"}</span>
                                        </div>
                                        <div className="column-3" style={{ borderLeft: '1px #fff solid', justifyContent: 'center', display: 'flex', alignItems: 'center', backgroundColor: '#07a7d0', height: 40 }}>
                                            <span>{"CFF"}</span>
                                        </div>
                                        <div className="column-4" style={{ borderLeft: '1px #fff solid', justifyContent: 'center', display: 'flex', alignItems: 'center', backgroundColor: '#07a7d0', height: 40 }}>
                                            <span>{"Net CF"}</span>
Riri Novita's avatar
Riri Novita committed
476 477
                                        </div>
                                    </div>
Riri Novita's avatar
Riri Novita committed
478
                                </div>
Riri Novita's avatar
Riri Novita committed
479
                                <div className="column-2" style={{ placeSelf: 'center', textAlign: 'center', border: '1px #fff solid', backgroundColor: '#37b5e6', height: 65, width: 685 }}>
Riri Novita's avatar
Riri Novita committed
480
                                    <div style={{ borderBottom: '1px #fff solid', backgroundColor: '#37b5e6', justifyContent: 'center', display: 'flex', alignItems: 'center', color: 'white', height: 25, color: '#000000c4' }}>
Riri Novita's avatar
Riri Novita committed
481
                                        <span>{"OS Bank Loan"}</span>
Riri Novita's avatar
Riri Novita committed
482
                                    </div>
483
                                    <div className="grid grid-4x" style={{ height: 25 }}>
Riri Novita's avatar
Riri Novita committed
484 485
                                        <div className="column-1" style={{ borderRight: '1px #fff solid', justifyContent: 'center', display: 'flex', alignItems: 'center', backgroundColor: '#07a7d0', height: 40 }}>
                                            <span>{"KI"}</span>
Riri Novita's avatar
Riri Novita committed
486
                                        </div>
Riri Novita's avatar
Riri Novita committed
487 488 489 490 491 492 493 494
                                        <div className="column-2" style={{ borderLeft: '1px #fff solid', justifyContent: 'center', display: 'flex', alignItems: 'center', backgroundColor: '#07a7d0', height: 40 }}>
                                            <span>{"WC"}</span>
                                        </div>
                                        <div className="column-3" style={{ borderLeft: '1px #fff solid', justifyContent: 'center', display: 'flex', alignItems: 'center', backgroundColor: '#07a7d0', height: 40 }}>
                                            <span>{"Others"}</span>
                                        </div>
                                        <div className="column-4" style={{ borderLeft: '1px #fff solid', justifyContent: 'center', display: 'flex', alignItems: 'center', backgroundColor: '#07a7d0', height: 40 }}>
                                            <span>{"Total"}</span>
Riri Novita's avatar
Riri Novita committed
495 496 497
                                        </div>
                                    </div>
                                </div>
Riri Novita's avatar
Riri Novita committed
498
                                <div className="column-3" style={{ placeSelf: 'center', borderLeft: '1px #fff solid', justifyContent: 'center', display: 'flex', width: 200, alignItems: 'center', backgroundColor: '#07a7d0', height: 65 }}>
Riri Novita's avatar
Riri Novita committed
499 500
                                    <span>{"OS SHL"}</span>
                                </div>
Riri Novita's avatar
Riri Novita committed
501
                                <div className="column-4" style={{ placeSelf: 'center', textAlign: 'center', border: '1px #fff solid', backgroundColor: '#37b5e6', height: 65, width: 685 }}>
Riri Novita's avatar
Riri Novita committed
502
                                    <div style={{ borderBottom: '1px #fff solid', backgroundColor: '#37b5e6', justifyContent: 'center', display: 'flex', alignItems: 'center', color: 'white', height: 25, color: '#000000c4' }}>
Riri Novita's avatar
Riri Novita committed
503 504
                                        <span>{"Balance Sheet"}</span>
                                    </div>
505
                                    <div className="grid grid-4x" style={{ height: 25 }}>
Riri Novita's avatar
Riri Novita committed
506 507 508 509 510 511 512 513
                                        <div className="column-1" style={{ borderRight: '1px #fff solid', justifyContent: 'center', display: 'flex', alignItems: 'center', backgroundColor: '#07a7d0', height: 40 }}>
                                            <span>{"Cash & Bank"}</span>
                                        </div>
                                        <div className="column-2" style={{ borderLeft: '1px #fff solid', justifyContent: 'center', display: 'flex', alignItems: 'center', backgroundColor: '#07a7d0', height: 40 }}>
                                            <span>{"CA"}</span>
                                        </div>
                                        <div className="column-3" style={{ borderLeft: '1px #fff solid', justifyContent: 'center', display: 'flex', alignItems: 'center', backgroundColor: '#07a7d0', height: 40 }}>
                                            <span>{"CL"}</span>
Riri Novita's avatar
Riri Novita committed
514
                                        </div>
Riri Novita's avatar
Riri Novita committed
515 516 517 518 519
                                        <div className="column-4" style={{ borderLeft: '1px #fff solid', justifyContent: 'center', display: 'flex', alignItems: 'center', backgroundColor: '#07a7d0', height: 40 }}>
                                            <span>{"Equity"}</span>
                                        </div>
                                    </div>
                                </div>
Riri Novita's avatar
Riri Novita committed
520
                                <div className="column-5" style={{ placeSelf: 'center', textAlign: 'center', border: '1px #fff solid', backgroundColor: '#37b5e6', height: 65, width: 887 }}>
Riri Novita's avatar
Riri Novita committed
521
                                    <div style={{ borderBottom: '1px #fff solid', backgroundColor: '#37b5e6', justifyContent: 'center', display: 'flex', alignItems: 'center', color: 'white', height: 25, color: '#000000c4' }}>
Riri Novita's avatar
Riri Novita committed
522 523
                                        <span>{"Financial Ratio"}</span>
                                    </div>
524
                                    <div className="grid grid-2x" style={{ height: 25 }}>
Riri Novita's avatar
Riri Novita committed
525 526 527
                                        <div className="column-1 grid grid-4x" style={{ borderRight: '1px #fff solid', justifyContent: 'center', display: 'flex', alignItems: 'center', backgroundColor: '#07a7d0' }}>
                                            <div className="column-1" style={{ borderRight: '1px #fff solid', justifyContent: 'center', display: 'flex', alignItems: 'center', backgroundColor: '#07a7d0', height: 40 }}>
                                                <span>{"CR"}</span>
Riri Novita's avatar
Riri Novita committed
528
                                            </div>
Riri Novita's avatar
Riri Novita committed
529 530
                                            <div className="column-2" style={{ borderRight: '1px #fff solid', justifyContent: 'center', display: 'flex', alignItems: 'center', backgroundColor: '#07a7d0', height: 40 }}>
                                                <span>{"DER"}</span>
Riri Novita's avatar
Riri Novita committed
531
                                            </div>
Riri Novita's avatar
Riri Novita committed
532 533 534 535 536
                                            <div className="column-3" style={{ borderRight: '1px #fff solid', justifyContent: 'center', display: 'flex', alignItems: 'center', backgroundColor: '#07a7d0', height: 40 }}>
                                                <span>{"Debt to EBITDA"}</span>
                                            </div>
                                            <div className="column-4" style={{ borderRight: '1px #fff solid', justifyContent: 'center', display: 'flex', alignItems: 'center', backgroundColor: '#07a7d0', height: 40 }}>
                                                <span>{"to Interest"}</span>
Riri Novita's avatar
Riri Novita committed
537 538
                                            </div>
                                        </div>
Riri Novita's avatar
Riri Novita committed
539 540 541 542 543 544
                                        <div className="column-2 grid grid-4x" style={{ justifyContent: 'center', display: 'flex', alignItems: 'center', backgroundColor: '#07a7d0' }}>
                                            <div className="column-1" style={{ borderRight: '1px #fff solid', justifyContent: 'center', display: 'flex', alignItems: 'center', backgroundColor: '#07a7d0', height: 40 }}>
                                                <span>{"AR Days"}</span>
                                            </div>
                                            <div className="column-2" style={{ borderRight: '1px #fff solid', justifyContent: 'center', display: 'flex', alignItems: 'center', backgroundColor: '#07a7d0', height: 40 }}>
                                                <span>{"Inv Days"}</span>
Riri Novita's avatar
Riri Novita committed
545
                                            </div>
Riri Novita's avatar
Riri Novita committed
546 547
                                            <div className="column-3" style={{ borderRight: '1px #fff solid', justifyContent: 'center', display: 'flex', alignItems: 'center', backgroundColor: '#07a7d0', height: 40 }}>
                                                <span>{"AP Days"}</span>
Riri Novita's avatar
Riri Novita committed
548
                                            </div>
Riri Novita's avatar
Riri Novita committed
549 550
                                            <div className="column-4" style={{ borderRight: '1px #fff solid', justifyContent: 'center', display: 'flex', alignItems: 'center', backgroundColor: '#07a7d0', height: 40 }}>
                                                <span>{"CCC"}</span>
Riri Novita's avatar
Riri Novita committed
551 552 553 554 555 556 557 558 559 560 561
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </th>
                    ),
                    setCellProps: () => ({ style2 }),
                    customBodyRender: (val, tableMeta, updateValue) => {
                        return (
                            <div>
562 563 564
                                <div style={{ display: 'flex', justifyContent: 'space-between' }}>
                                    <div style={{ display: 'flex', width: 640, justifyContent: 'space-between' }}>
                                        <div style={{ flex: 1 }}>
Riri Novita's avatar
Riri Novita committed
565 566 567 568 569 570
                                            <FormControlLabel
                                                style={{ margin: 0 }}
                                                value={val}
                                                control={
                                                    <NumberFormat
                                                        thousandSeparator={true}
571
                                                        style={{ color: (tableMeta.rowData[2] !== 0 && tableMeta.rowData[2] !== 1) && !tableMeta.rowData[37] ? '#5198ea' : '#000000de', fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
Riri Novita's avatar
Riri Novita committed
572 573 574
                                                        type="text"
                                                        placeholder=""
                                                        disabled={true}
Riri Novita's avatar
Riri Novita committed
575
                                                        value={(tableMeta.rowData[16])}
Riri Novita's avatar
Riri Novita committed
576 577 578 579
                                                    />
                                                }
                                            />
                                        </div>
580
                                        <div style={{ flex: 1 }}>
Riri Novita's avatar
Riri Novita committed
581 582 583 584 585 586
                                            <FormControlLabel
                                                style={{ margin: 0 }}
                                                value={val}
                                                control={
                                                    <NumberFormat
                                                        thousandSeparator={true}
587
                                                        style={{ color: (tableMeta.rowData[2] !== 0 && tableMeta.rowData[2] !== 1) && !tableMeta.rowData[37] ? '#5198ea' : '#000000de', fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
Riri Novita's avatar
Riri Novita committed
588 589 590
                                                        type="text"
                                                        placeholder=""
                                                        disabled={true}
Riri Novita's avatar
Riri Novita committed
591
                                                        value={(tableMeta.rowData[17])}
Riri Novita's avatar
Riri Novita committed
592 593 594 595
                                                    />
                                                }
                                            />
                                        </div>
596
                                        <div style={{ flex: 1 }}>
Riri Novita's avatar
Riri Novita committed
597 598 599 600 601 602
                                            <FormControlLabel
                                                style={{ margin: 0 }}
                                                value={val}
                                                control={
                                                    <NumberFormat
                                                        thousandSeparator={true}
603
                                                        style={{ color: (tableMeta.rowData[2] !== 0 && tableMeta.rowData[2] !== 1) && !tableMeta.rowData[37] ? '#5198ea' : '#000000de', fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
Riri Novita's avatar
Riri Novita committed
604 605 606
                                                        type="text"
                                                        placeholder=""
                                                        disabled={true}
Riri Novita's avatar
Riri Novita committed
607
                                                        value={(tableMeta.rowData[18])}
Riri Novita's avatar
Riri Novita committed
608 609 610 611
                                                    />
                                                }
                                            />
                                        </div>
612
                                        <div style={{ flex: 1 }}>
Riri Novita's avatar
Riri Novita committed
613 614 615 616 617 618
                                            <FormControlLabel
                                                style={{ margin: 0 }}
                                                value={val}
                                                control={
                                                    <NumberFormat
                                                        thousandSeparator={true}
619
                                                        style={{ color: (tableMeta.rowData[2] !== 0 && tableMeta.rowData[2] !== 1) && !tableMeta.rowData[37] ? '#5198ea' : '#000000de', fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
Riri Novita's avatar
Riri Novita committed
620 621 622
                                                        type="text"
                                                        placeholder=""
                                                        disabled={true}
Riri Novita's avatar
Riri Novita committed
623
                                                        value={(tableMeta.rowData[19])}
Riri Novita's avatar
Riri Novita committed
624 625 626
                                                    />
                                                }
                                            />
Riri Novita's avatar
Riri Novita committed
627 628
                                        </div>
                                    </div>
629 630
                                    <div style={{ display: 'flex', width: 640, justifyContent: 'space-between' }}>
                                        <div style={{ flex: 1 }}>
Riri Novita's avatar
Riri Novita committed
631 632 633 634 635 636
                                            <FormControlLabel
                                                style={{ margin: 0 }}
                                                value={val}
                                                control={
                                                    <NumberFormat
                                                        thousandSeparator={true}
637
                                                        style={{ color: (tableMeta.rowData[2] !== 0 && tableMeta.rowData[2] !== 1) && !tableMeta.rowData[37] ? '#5198ea' : '#000000de', fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
Riri Novita's avatar
Riri Novita committed
638 639 640
                                                        type="text"
                                                        placeholder=""
                                                        disabled={true}
Riri Novita's avatar
Riri Novita committed
641
                                                        value={(tableMeta.rowData[20])}
Riri Novita's avatar
Riri Novita committed
642 643 644 645
                                                    />
                                                }
                                            />
                                        </div>
646
                                        <div style={{ flex: 1 }}>
Riri Novita's avatar
Riri Novita committed
647 648 649 650 651 652
                                            <FormControlLabel
                                                style={{ margin: 0 }}
                                                value={val}
                                                control={
                                                    <NumberFormat
                                                        thousandSeparator={true}
653
                                                        style={{ color: (tableMeta.rowData[2] !== 0 && tableMeta.rowData[2] !== 1) && !tableMeta.rowData[37] ? '#5198ea' : '#000000de', fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
Riri Novita's avatar
Riri Novita committed
654 655 656
                                                        type="text"
                                                        placeholder=""
                                                        disabled={true}
Riri Novita's avatar
Riri Novita committed
657
                                                        value={(tableMeta.rowData[21])}
Riri Novita's avatar
Riri Novita committed
658 659 660 661
                                                    />
                                                }
                                            />
                                        </div>
662
                                        <div style={{ flex: 1 }}>
Riri Novita's avatar
Riri Novita committed
663 664 665 666 667 668
                                            <FormControlLabel
                                                style={{ margin: 0 }}
                                                value={val}
                                                control={
                                                    <NumberFormat
                                                        thousandSeparator={true}
669
                                                        style={{ color: (tableMeta.rowData[2] !== 0 && tableMeta.rowData[2] !== 1) && !tableMeta.rowData[37] ? '#5198ea' : '#000000de', fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
Riri Novita's avatar
Riri Novita committed
670 671 672
                                                        type="text"
                                                        placeholder=""
                                                        disabled={true}
Riri Novita's avatar
Riri Novita committed
673
                                                        value={(tableMeta.rowData[22])}
Riri Novita's avatar
Riri Novita committed
674 675 676 677
                                                    />
                                                }
                                            />
                                        </div>
678
                                        <div style={{ flex: 1 }}>
Riri Novita's avatar
Riri Novita committed
679 680 681 682 683 684
                                            <FormControlLabel
                                                style={{ margin: 0 }}
                                                value={val}
                                                control={
                                                    <NumberFormat
                                                        thousandSeparator={true}
685
                                                        style={{ color: (tableMeta.rowData[2] !== 0 && tableMeta.rowData[2] !== 1) && !tableMeta.rowData[37] ? '#5198ea' : '#000000de', fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
Riri Novita's avatar
Riri Novita committed
686 687 688
                                                        type="text"
                                                        placeholder=""
                                                        disabled={true}
Riri Novita's avatar
Riri Novita committed
689
                                                        value={(tableMeta.rowData[23])}
Riri Novita's avatar
Riri Novita committed
690 691 692
                                                    />
                                                }
                                            />
Riri Novita's avatar
Riri Novita committed
693 694 695
                                        </div>
                                    </div>
                                    <div style={{ display: 'grid', width: 150 }}>
696
                                        <div style={{ flex: 1 }}>
Riri Novita's avatar
Riri Novita committed
697 698 699 700 701 702
                                            <FormControlLabel
                                                style={{ margin: 0 }}
                                                value={val}
                                                control={
                                                    <NumberFormat
                                                        thousandSeparator={true}
703
                                                        style={{ color: (tableMeta.rowData[2] !== 0 && tableMeta.rowData[2] !== 1) && !tableMeta.rowData[37] ? '#5198ea' : '#000000de', fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
Riri Novita's avatar
Riri Novita committed
704 705 706
                                                        type="text"
                                                        placeholder=""
                                                        disabled={true}
Riri Novita's avatar
Riri Novita committed
707
                                                        value={(tableMeta.rowData[24])}
Riri Novita's avatar
Riri Novita committed
708 709 710
                                                    />
                                                }
                                            />
Riri Novita's avatar
Riri Novita committed
711 712
                                        </div>
                                    </div>
713 714
                                    <div style={{ display: 'flex', width: 640, justifyContent: 'space-between' }}>
                                        <div style={{ flex: 1 }}>
Riri Novita's avatar
Riri Novita committed
715 716 717 718 719 720
                                            <FormControlLabel
                                                style={{ margin: 0 }}
                                                value={val}
                                                control={
                                                    <NumberFormat
                                                        thousandSeparator={true}
721
                                                        style={{ color: (tableMeta.rowData[2] !== 0 && tableMeta.rowData[2] !== 1) && !tableMeta.rowData[37] ? '#5198ea' : '#000000de', fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
Riri Novita's avatar
Riri Novita committed
722 723 724
                                                        type="text"
                                                        placeholder=""
                                                        disabled={true}
Riri Novita's avatar
Riri Novita committed
725
                                                        value={(tableMeta.rowData[25])}
Riri Novita's avatar
Riri Novita committed
726 727 728 729
                                                    />
                                                }
                                            />
                                        </div>
730
                                        <div style={{ flex: 1 }}>
Riri Novita's avatar
Riri Novita committed
731 732 733 734 735 736
                                            <FormControlLabel
                                                style={{ margin: 0 }}
                                                value={val}
                                                control={
                                                    <NumberFormat
                                                        thousandSeparator={true}
737
                                                        style={{ color: (tableMeta.rowData[2] !== 0 && tableMeta.rowData[2] !== 1) && !tableMeta.rowData[37] ? '#5198ea' : '#000000de', fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
Riri Novita's avatar
Riri Novita committed
738 739 740
                                                        type="text"
                                                        placeholder=""
                                                        disabled={true}
Riri Novita's avatar
Riri Novita committed
741
                                                        value={(tableMeta.rowData[26])}
Riri Novita's avatar
Riri Novita committed
742 743 744 745
                                                    />
                                                }
                                            />
                                        </div>
746
                                        <div style={{ flex: 1 }}>
Riri Novita's avatar
Riri Novita committed
747 748 749 750 751 752
                                            <FormControlLabel
                                                style={{ margin: 0 }}
                                                value={val}
                                                control={
                                                    <NumberFormat
                                                        thousandSeparator={true}
753
                                                        style={{ color: (tableMeta.rowData[2] !== 0 && tableMeta.rowData[2] !== 1) && !tableMeta.rowData[37] ? '#5198ea' : '#000000de', fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
Riri Novita's avatar
Riri Novita committed
754 755 756
                                                        type="text"
                                                        placeholder=""
                                                        disabled={true}
Riri Novita's avatar
Riri Novita committed
757
                                                        value={(tableMeta.rowData[27])}
Riri Novita's avatar
Riri Novita committed
758 759 760 761
                                                    />
                                                }
                                            />
                                        </div>
762
                                        <div style={{ flex: 1 }}>
Riri Novita's avatar
Riri Novita committed
763 764 765 766 767 768
                                            <FormControlLabel
                                                style={{ margin: 0 }}
                                                value={val}
                                                control={
                                                    <NumberFormat
                                                        thousandSeparator={true}
769
                                                        style={{ color: (tableMeta.rowData[2] !== 0 && tableMeta.rowData[2] !== 1) && !tableMeta.rowData[37] ? '#5198ea' : '#000000de', fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
Riri Novita's avatar
Riri Novita committed
770 771 772
                                                        type="text"
                                                        placeholder=""
                                                        disabled={true}
Riri Novita's avatar
Riri Novita committed
773
                                                        value={(tableMeta.rowData[28])}
Riri Novita's avatar
Riri Novita committed
774 775 776
                                                    />
                                                }
                                            />
Riri Novita's avatar
Riri Novita committed
777 778
                                        </div>
                                    </div>
779 780
                                    <div style={{ display: 'flex', width: 860, justifyContent: 'space-between' }}>
                                        <div style={{ flex: 1 }}>
Riri Novita's avatar
Riri Novita committed
781 782 783 784 785 786
                                            <FormControlLabel
                                                style={{ margin: 0 }}
                                                value={val}
                                                control={
                                                    <NumberFormat
                                                        thousandSeparator={true}
787
                                                        style={{ color: (tableMeta.rowData[2] !== 0 && tableMeta.rowData[2] !== 1) && !tableMeta.rowData[37] ? '#5198ea' : '#000000de', fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
Riri Novita's avatar
Riri Novita committed
788 789 790
                                                        type="text"
                                                        placeholder=""
                                                        disabled={true}
Riri Novita's avatar
Riri Novita committed
791
                                                        value={(tableMeta.rowData[29])}
Riri Novita's avatar
Riri Novita committed
792 793 794 795
                                                    />
                                                }
                                            />
                                        </div>
796
                                        <div style={{ flex: 1 }}>
Riri Novita's avatar
Riri Novita committed
797 798 799 800 801 802
                                            <FormControlLabel
                                                style={{ margin: 0 }}
                                                value={val}
                                                control={
                                                    <NumberFormat
                                                        thousandSeparator={true}
803
                                                        style={{ color: (tableMeta.rowData[2] !== 0 && tableMeta.rowData[2] !== 1) && !tableMeta.rowData[37] ? '#5198ea' : '#000000de', fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
Riri Novita's avatar
Riri Novita committed
804 805 806
                                                        type="text"
                                                        placeholder=""
                                                        disabled={true}
Riri Novita's avatar
Riri Novita committed
807
                                                        value={(tableMeta.rowData[30])}
Riri Novita's avatar
Riri Novita committed
808 809 810 811
                                                    />
                                                }
                                            />
                                        </div>
812
                                        <div style={{ flex: 1 }}>
Riri Novita's avatar
Riri Novita committed
813 814 815 816 817 818
                                            <FormControlLabel
                                                style={{ margin: 0 }}
                                                value={val}
                                                control={
                                                    <NumberFormat
                                                        thousandSeparator={true}
819
                                                        style={{ color: (tableMeta.rowData[2] !== 0 && tableMeta.rowData[2] !== 1) && !tableMeta.rowData[37] ? '#5198ea' : '#000000de', fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
Riri Novita's avatar
Riri Novita committed
820 821 822
                                                        type="text"
                                                        placeholder=""
                                                        disabled={true}
Riri Novita's avatar
Riri Novita committed
823
                                                        value={(tableMeta.rowData[31])}
Riri Novita's avatar
Riri Novita committed
824 825 826 827
                                                    />
                                                }
                                            />
                                        </div>
828
                                        <div style={{ flex: 1 }}>
Riri Novita's avatar
Riri Novita committed
829 830 831 832 833 834
                                            <FormControlLabel
                                                style={{ margin: 0 }}
                                                value={val}
                                                control={
                                                    <NumberFormat
                                                        thousandSeparator={true}
835
                                                        style={{ color: (tableMeta.rowData[2] !== 0 && tableMeta.rowData[2] !== 1) && !tableMeta.rowData[37] ? '#5198ea' : '#000000de', fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
Riri Novita's avatar
Riri Novita committed
836 837 838
                                                        type="text"
                                                        placeholder=""
                                                        disabled={true}
Riri Novita's avatar
Riri Novita committed
839
                                                        value={(tableMeta.rowData[32])}
Riri Novita's avatar
Riri Novita committed
840 841 842 843
                                                    />
                                                }
                                            />
                                        </div>
844
                                        <div style={{ flex: 1 }}>
Riri Novita's avatar
Riri Novita committed
845 846 847 848 849 850
                                            <FormControlLabel
                                                style={{ margin: 0 }}
                                                value={val}
                                                control={
                                                    <NumberFormat
                                                        thousandSeparator={true}
851
                                                        style={{ color: (tableMeta.rowData[2] !== 0 && tableMeta.rowData[2] !== 1) && !tableMeta.rowData[37] ? '#5198ea' : '#000000de', fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
Riri Novita's avatar
Riri Novita committed
852 853 854
                                                        type="text"
                                                        placeholder=""
                                                        disabled={true}
Riri Novita's avatar
Riri Novita committed
855
                                                        value={(tableMeta.rowData[33])}
Riri Novita's avatar
Riri Novita committed
856 857 858 859
                                                    />
                                                }
                                            />
                                        </div>
860
                                        <div style={{ flex: 1 }}>
Riri Novita's avatar
Riri Novita committed
861 862 863 864 865 866
                                            <FormControlLabel
                                                style={{ margin: 0 }}
                                                value={val}
                                                control={
                                                    <NumberFormat
                                                        thousandSeparator={true}
867
                                                        style={{ color: (tableMeta.rowData[2] !== 0 && tableMeta.rowData[2] !== 1) && !tableMeta.rowData[37] ? '#5198ea' : '#000000de', fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
Riri Novita's avatar
Riri Novita committed
868 869 870
                                                        type="text"
                                                        placeholder=""
                                                        disabled={true}
Riri Novita's avatar
Riri Novita committed
871
                                                        value={(tableMeta.rowData[34])}
Riri Novita's avatar
Riri Novita committed
872 873 874 875
                                                    />
                                                }
                                            />
                                        </div>
876
                                        <div style={{ flex: 1 }}>
Riri Novita's avatar
Riri Novita committed
877 878 879 880 881 882
                                            <FormControlLabel
                                                style={{ margin: 0 }}
                                                value={val}
                                                control={
                                                    <NumberFormat
                                                        thousandSeparator={true}
883
                                                        style={{ color: (tableMeta.rowData[2] !== 0 && tableMeta.rowData[2] !== 1) && !tableMeta.rowData[37] ? '#5198ea' : '#000000de', fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
Riri Novita's avatar
Riri Novita committed
884 885 886
                                                        type="text"
                                                        placeholder=""
                                                        disabled={true}
Riri Novita's avatar
Riri Novita committed
887
                                                        value={(tableMeta.rowData[35])}
Riri Novita's avatar
Riri Novita committed
888 889 890 891
                                                    />
                                                }
                                            />
                                        </div>
892
                                        <div style={{ flex: 1 }}>
Riri Novita's avatar
Riri Novita committed
893 894 895 896 897 898
                                            <FormControlLabel
                                                style={{ margin: 0 }}
                                                value={val}
                                                control={
                                                    <NumberFormat
                                                        thousandSeparator={true}
899
                                                        style={{ color: (tableMeta.rowData[2] !== 0 && tableMeta.rowData[2] !== 1) && !tableMeta.rowData[37] ? '#5198ea' : '#000000de', fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
Riri Novita's avatar
Riri Novita committed
900 901 902
                                                        type="text"
                                                        placeholder=""
                                                        disabled={true}
Riri Novita's avatar
Riri Novita committed
903
                                                        value={(tableMeta.rowData[36])}
Riri Novita's avatar
Riri Novita committed
904 905 906
                                                    />
                                                }
                                            />
Riri Novita's avatar
Riri Novita committed
907 908 909
                                        </div>
                                    </div>
                                </div>
Riri Novita's avatar
Riri Novita committed
910 911 912 913
                            </div>
                        )
                    }
                },
Riri Novita's avatar
Riri Novita committed
914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008
            }, {
                name: "",
                options: {
                    display: false
                }
            }, {
                name: "",
                options: {
                    display: false
                }
            }, {
                name: "",
                options: {
                    display: false
                }
            }, {
                name: "",
                options: {
                    display: false
                }
            }, {
                name: "",
                options: {
                    display: false
                }
            }, {
                name: "",
                options: {
                    display: false
                }
            }, {
                name: "",
                options: {
                    display: false
                }
            }, {
                name: "",
                options: {
                    display: false
                }
            }, {
                name: "",
                options: {
                    display: false
                }
            }, {
                name: "",
                options: {
                    display: false
                }
            }, {
                name: "",
                options: {
                    display: false
                }
            }, {
                name: "",
                options: {
                    display: false
                }
            }, {
                name: "",
                options: {
                    display: false
                }
            }, {
                name: "",
                options: {
                    display: false
                }
            }, {
                name: "",
                options: {
                    display: false
                }
            }, {
                name: "",
                options: {
                    display: false
                }
            }, {
                name: "",
                options: {
                    display: false
                }
            }, {
                name: "",
                options: {
                    display: false
                }
            }, {
                name: "",
                options: {
                    display: false
                }
Riri Novita's avatar
Riri Novita committed
1009 1010 1011 1012 1013
            }, {
                name: "",
                options: {
                    display: false
                }
Riri Novita's avatar
Riri Novita committed
1014 1015 1016 1017
            }
        ]

        const columnYTD = [
rifkaki's avatar
rifkaki committed
1018 1019 1020 1021 1022
            {
                name: "",
                options: {
                    display: false
                }
1023
            },
rifkaki's avatar
rifkaki committed
1024 1025 1026 1027 1028
            {
                name: "",
                options: {
                    display: false
                }
1029
            },
rifkaki's avatar
rifkaki committed
1030 1031 1032 1033 1034
            {
                name: "",
                options: {
                    display: false
                }
1035
            },
Riri Novita's avatar
Riri Novita committed
1036
            {
r.kurnia's avatar
r.kurnia committed
1037
                name: "Company",
Riri Novita's avatar
Riri Novita committed
1038
                options: {
r.kurnia's avatar
r.kurnia committed
1039
                    customHeadRender: (columnMeta) => (
1040
                        <TableCell key={columnMeta.index} style={{ ...style, top: 0, zIndex: 102, backgroundColor: '#1c71b8', width: 300, borderRight: '1px #fff solid' }}>
r.kurnia's avatar
r.kurnia committed
1041 1042 1043 1044 1045 1046 1047
                            <Typography style={{ color: 'white', fontSize: 12, fontWeight: 'bold', textAlign: 'left' }}>{columnMeta.name}</Typography>
                        </TableCell>
                    ),
                    setCellProps: () => ({ style }),
                    customBodyRender: (val, tableMeta) => {
                        return (
                            <div style={{ width: 300 }}>
rifkaki's avatar
rifkaki committed
1048 1049 1050 1051 1052 1053 1054 1055
                                {
                                    tableMeta.rowData[2] == 0 ?
                                        <span style={{ fontSize: 12, fontWeight: 'bold' }}>{String(val).toUpperCase()}</span>
                                        :
                                        <div style={{ paddingLeft: 20 * Number(tableMeta.rowData[2]) }}>
                                            <span style={{ fontSize: 12 }}>{val}</span>
                                        </div>
                                }
r.kurnia's avatar
r.kurnia committed
1056 1057 1058 1059 1060 1061 1062 1063
                            </div>
                        )
                    }
                }
            }, {
                name: `Revenue`,
                options: {
                    customHeadRender: (columnMeta) => (
1064 1065 1066 1067 1068
                        <th style={{ ...style2, backgroundColor: '#1c71b8', top: 0, color: '#fff', fontSize: 13, fontWeight: 1, width: 150, borderRight: "1px solid rgb(255, 255, 255)" }} >
                            <div style={{ borderBottom: "1px #fff solid", textAlign: 'center', fontSize: 12, fontWeight: 'bold', padding: 5 }}>{columnMeta.name}</div>
                            <div className="grid grid-2x" style={{ ...style2, backgroundColor: '#1c71b8', color: '#fff', fontSize: 12, fontWeight: 'bold', position: "sticky" }}>
                                <div className="column-1" style={{ placeSelf: 'center', textAlign: 'center', border: '1px #fff solid', backgroundColor: '#07a7d0', height: 65 }}>
                                    <div style={{ borderBottom: '1px #fff solid', backgroundColor: '#1c71b8', justifyContent: 'center', display: 'flex', alignItems: 'center', color: 'white', height: 25 }}>
rifkaki's avatar
rifkaki committed
1069
                                        <span>{`YTD ${this.props.periode}`}</span>
r.kurnia's avatar
r.kurnia committed
1070
                                    </div>
1071 1072
                                    <div className="grid grid-5x" style={{ height: 25 }}>
                                        <div className="column-1" style={{ borderRight: '1px #fff solid', justifyContent: 'center', display: 'flex', alignItems: 'center', backgroundColor: '#008bffc4', height: 40 }}>
r.kurnia's avatar
r.kurnia committed
1073
                                            <span>{"Act"}</span>
r.kurnia's avatar
r.kurnia committed
1074
                                        </div>
1075
                                        <div className="column-2" style={{ borderRight: '1px #fff solid', justifyContent: 'center', display: 'flex', alignItems: 'center', backgroundColor: '#37b5e6', height: 40, color: '#000000c4' }}>
r.kurnia's avatar
r.kurnia committed
1076
                                            <span>{"MB"}</span>
r.kurnia's avatar
r.kurnia committed
1077
                                        </div>
1078
                                        <div className="column-3" style={{ borderRight: '1px #fff solid', justifyContent: 'center', display: 'flex', alignItems: 'center', backgroundColor: '#37b5e6', height: 40, color: '#000000c4' }}>
r.kurnia's avatar
r.kurnia committed
1079
                                            <span>{"% of MB"}</span>
r.kurnia's avatar
r.kurnia committed
1080
                                        </div>
1081
                                        <div className="column-4" style={{ borderRight: '1px #fff solid', justifyContent: 'center', display: 'flex', alignItems: 'center', backgroundColor: '#008bffc4', height: 40 }}>
rifkaki's avatar
rifkaki committed
1082
                                            <span>{`${Number(this.props.periode) - 1}`}</span>
r.kurnia's avatar
r.kurnia committed
1083
                                        </div>
1084
                                        <div className="column-5" style={{ borderRight: '1px #fff solid', justifyContent: 'center', display: 'flex', alignItems: 'center', backgroundColor: '#008bffc4', height: 40 }}>
rifkaki's avatar
rifkaki committed
1085
                                            <span>{`% of ${Number(this.props.periode) - 1}`}</span>
r.kurnia's avatar
r.kurnia committed
1086 1087
                                        </div>
                                    </div>
r.kurnia's avatar
r.kurnia committed
1088
                                </div>
1089
                                <div className="column-2" style={{ placeSelf: 'center', textAlign: 'center', border: '1px #fff solid', backgroundColor: '#07a7d0', height: 65 }}>
r.kurnia's avatar
r.kurnia committed
1090
                                    <div style={{ borderBottom: '1px #fff solid', backgroundColor: '#1c71b8', justifyContent: 'center', display: 'flex', alignItems: 'center', color: 'white', height: 25 }}>
r.kurnia's avatar
r.kurnia committed
1091
                                        <span>{"FY"}</span>
r.kurnia's avatar
r.kurnia committed
1092
                                    </div>
rifkaki's avatar
rifkaki committed
1093
                                    <div className="grid grid-5x" style={{ height: 25 }}>
1094
                                        <div className="column-1" style={{ borderRight: '1px #fff solid', justifyContent: 'center', display: 'flex', alignItems: 'center', backgroundColor: '#37b5e6', height: 40, color: '#000000c4' }}>
rifkaki's avatar
rifkaki committed
1095
                                            <span>{`OL ${Number(this.props.periode)}`}</span>
r.kurnia's avatar
r.kurnia committed
1096
                                        </div>
1097
                                        <div className="column-2" style={{ borderRight: '1px #fff solid', justifyContent: 'center', display: 'flex', alignItems: 'center', backgroundColor: '#37b5e6', height: 40, color: '#000000c4' }}>
rifkaki's avatar
rifkaki committed
1098
                                            <span>{`MB ${Number(this.props.periode)}`}</span>
r.kurnia's avatar
r.kurnia committed
1099
                                        </div>
1100
                                        <div className="column-3" style={{ borderRight: '1px #fff solid', justifyContent: 'center', display: 'flex', alignItems: 'center', backgroundColor: '#37b5e6', height: 40, color: '#000000c4' }}>
r.kurnia's avatar
r.kurnia committed
1101
                                            <span>{"% of MB"}</span>
r.kurnia's avatar
r.kurnia committed
1102
                                        </div>
1103
                                        <div className="column-4" style={{ borderRight: '1px #fff solid', justifyContent: 'center', display: 'flex', alignItems: 'center', backgroundColor: '#008bffc4', height: 40 }}>
rifkaki's avatar
rifkaki committed
1104
                                            <span>{`${Number(this.props.periode) - 1}`}</span>
r.kurnia's avatar
r.kurnia committed
1105
                                        </div>
1106
                                        <div className="column-5" style={{ borderRight: '1px #fff solid', justifyContent: 'center', display: 'flex', alignItems: 'center', backgroundColor: '#008bffc4', height: 40 }}>
rifkaki's avatar
rifkaki committed
1107
                                            <span>{`% of ${Number(this.props.periode) - 1}`}</span>
r.kurnia's avatar
r.kurnia committed
1108 1109
                                        </div>
                                    </div>
r.kurnia's avatar
r.kurnia committed
1110
                                </div>
r.kurnia's avatar
r.kurnia committed
1111 1112 1113
                            </div>
                        </th>
                    ),
r.kurnia's avatar
r.kurnia committed
1114
                    setCellProps: () => ({ style2 }),
r.kurnia's avatar
r.kurnia committed
1115 1116 1117
                    customBodyRender: (val, tableMeta, updateValue) => {
                        return (
                            <div>
1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135
                                <div className="grid grid-2x content-center">
                                    <div className="col-1">
                                        <div className="grid grid-5x content-center">
                                            <div className="col-1" style={{ padding: 0, left: -15 }} >
                                                <div style={{ flex: 1 }}>
                                                    <FormControlLabel
                                                        style={{ margin: 0 }}
                                                        value={val}
                                                        control={
                                                            <NumberFormat
                                                                thousandSeparator={true}
                                                                style={{ color: (tableMeta.rowData[2] !== 0 && tableMeta.rowData[2] !== 1) && !tableMeta.rowData[45] ? '#5198ea' : '#000000de', fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
                                                                type="text"
                                                                placeholder=""
                                                                disabled={true}
                                                                value={(tableMeta.rowData[4])}
                                                            />
                                                        }
rifkaki's avatar
rifkaki committed
1136
                                                    />
1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153
                                                </div>
                                            </div>
                                            <div className="col-2" >
                                                <div style={{ flex: 1 }}>
                                                    <FormControlLabel
                                                        style={{ margin: 0 }}
                                                        value={val}
                                                        control={
                                                            <NumberFormat
                                                                thousandSeparator={true}
                                                                style={{ color: (tableMeta.rowData[2] !== 0 && tableMeta.rowData[2] !== 1) && !tableMeta.rowData[45] ? '#5198ea' : '#000000de', fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
                                                                type="text"
                                                                placeholder=""
                                                                disabled={true}
                                                                value={(tableMeta.rowData[5])}
                                                            />
                                                        }
rifkaki's avatar
rifkaki committed
1154
                                                    />
1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170
                                                </div>
                                            </div>
                                            <div className="col-3" >
                                                <div style={{ flex: 1 }}>
                                                    <FormControlLabel
                                                        style={{ margin: 0 }}
                                                        value={val}
                                                        control={
                                                            <NumberFormat
                                                                thousandSeparator={true}
                                                                style={{ color: (tableMeta.rowData[2] !== 0 && tableMeta.rowData[2] !== 1) && !tableMeta.rowData[45] ? '#5198ea' : '#000000de', fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
                                                                type="text"
                                                                placeholder=""
                                                                disabled={true}
                                                                suffix={"%"}
                                                                value={(tableMeta.rowData[6])}
qorri_di's avatar
qorri_di committed
1171
                                                            // value={Number(String(tableMeta.rowData[6]).substr(0, String(tableMeta.rowData[6]).length - 1)).toFixed(1)}
1172 1173
                                                            />
                                                        }
rifkaki's avatar
rifkaki committed
1174
                                                    />
1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191
                                                </div>
                                            </div>
                                            <div className="col-4" >
                                                <div style={{ flex: 1 }}>
                                                    <FormControlLabel
                                                        style={{ margin: 0 }}
                                                        value={val}
                                                        control={
                                                            <NumberFormat
                                                                thousandSeparator={true}
                                                                style={{ color: (tableMeta.rowData[2] !== 0 && tableMeta.rowData[2] !== 1) && !tableMeta.rowData[45] ? '#5198ea' : '#000000de', fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
                                                                type="text"
                                                                placeholder=""
                                                                disabled={true}
                                                                value={(tableMeta.rowData[7])}
                                                            />
                                                        }
rifkaki's avatar
rifkaki committed
1192
                                                    />
1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208
                                                </div>
                                            </div>
                                            <div className="col-5" >
                                                <div style={{ flex: 1 }}>
                                                    <FormControlLabel
                                                        style={{ margin: 0 }}
                                                        value={val}
                                                        control={
                                                            <NumberFormat
                                                                thousandSeparator={true}
                                                                style={{ color: (tableMeta.rowData[2] !== 0 && tableMeta.rowData[2] !== 1) && !tableMeta.rowData[45] ? '#5198ea' : '#000000de', fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
                                                                type="text"
                                                                placeholder=""
                                                                disabled={true}
                                                                suffix={"%"}
                                                                value={tableMeta.rowData[8]}
qorri_di's avatar
qorri_di committed
1209
                                                            // value={Number(String(tableMeta.rowData[8]).substr(0, String(tableMeta.rowData[8]).length - 1)).toFixed(1)}
1210 1211
                                                            />
                                                        }
rifkaki's avatar
rifkaki committed
1212
                                                    />
1213 1214
                                                </div>
                                            </div>
r.kurnia's avatar
r.kurnia committed
1215 1216
                                        </div>
                                    </div>
1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233
                                    <div className="col-2">
                                        <div className="grid grid-5x content-center">
                                            <div className="col-1">
                                                <div style={{ flex: 1 }}>
                                                    <FormControlLabel
                                                        style={{ margin: 0 }}
                                                        value={val}
                                                        control={
                                                            <NumberFormat
                                                                thousandSeparator={true}
                                                                style={{ color: (tableMeta.rowData[2] !== 0 && tableMeta.rowData[2] !== 1) && !tableMeta.rowData[45] ? '#5198ea' : '#000000de', fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
                                                                type="text"
                                                                placeholder=""
                                                                disabled={true}
                                                                value={(tableMeta.rowData[9])}
                                                            />
                                                        }
rifkaki's avatar
rifkaki committed
1234
                                                    />
1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251
                                                </div>
                                            </div>
                                            <div className="col-2">
                                                <div style={{ flex: 1 }}>
                                                    <FormControlLabel
                                                        style={{ margin: 0 }}
                                                        value={val}
                                                        control={
                                                            <NumberFormat
                                                                thousandSeparator={true}
                                                                style={{ color: (tableMeta.rowData[2] !== 0 && tableMeta.rowData[2] !== 1) && !tableMeta.rowData[45] ? '#5198ea' : '#000000de', fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
                                                                type="text"
                                                                placeholder=""
                                                                disabled={true}
                                                                value={(tableMeta.rowData[10])}
                                                            />
                                                        }
rifkaki's avatar
rifkaki committed
1252
                                                    />
1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268
                                                </div>
                                            </div>
                                            <div className="col-3">
                                                <div style={{ flex: 1 }}>
                                                    <FormControlLabel
                                                        style={{ margin: 0 }}
                                                        value={val}
                                                        control={
                                                            <NumberFormat
                                                                thousandSeparator={true}
                                                                style={{ color: (tableMeta.rowData[2] !== 0 && tableMeta.rowData[2] !== 1) && !tableMeta.rowData[45] ? '#5198ea' : '#000000de', fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
                                                                type="text"
                                                                placeholder=""
                                                                disabled={true}
                                                                suffix={"%"}
                                                                value={tableMeta.rowData[11]}
qorri_di's avatar
qorri_di committed
1269
                                                            // value={Number(String(tableMeta.rowData[11]).substr(0, String(tableMeta.rowData[11]).length - 1)).toFixed(1)}
1270 1271
                                                            />
                                                        }
rifkaki's avatar
rifkaki committed
1272
                                                    />
1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289
                                                </div>
                                            </div>
                                            <div className="col-4">
                                                <div style={{ flex: 1 }}>
                                                    <FormControlLabel
                                                        style={{ margin: 0 }}
                                                        value={val}
                                                        control={
                                                            <NumberFormat
                                                                thousandSeparator={true}
                                                                style={{ color: (tableMeta.rowData[2] !== 0 && tableMeta.rowData[2] !== 1) && !tableMeta.rowData[45] ? '#5198ea' : '#000000de', fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
                                                                type="text"
                                                                placeholder=""
                                                                disabled={true}
                                                                value={(tableMeta.rowData[12])}
                                                            />
                                                        }
rifkaki's avatar
rifkaki committed
1290
                                                    />
1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306
                                                </div>
                                            </div>
                                            <div className="col-5">
                                                <div style={{ flex: 1 }}>
                                                    <FormControlLabel
                                                        style={{ margin: 0 }}
                                                        value={val}
                                                        control={
                                                            <NumberFormat
                                                                thousandSeparator={true}
                                                                style={{ color: (tableMeta.rowData[2] !== 0 && tableMeta.rowData[2] !== 1) && !tableMeta.rowData[45] ? '#5198ea' : '#000000de', fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
                                                                type="text"
                                                                placeholder=""
                                                                disabled={true}
                                                                suffix={"%"}
                                                                value={tableMeta.rowData[13]}
qorri_di's avatar
qorri_di committed
1307
                                                            // value={Number(String(tableMeta.rowData[13]).substr(0, String(tableMeta.rowData[13]).length - 1)).toFixed(1)}
1308 1309
                                                            />
                                                        }
rifkaki's avatar
rifkaki committed
1310
                                                    />
1311 1312
                                                </div>
                                            </div>
r.kurnia's avatar
r.kurnia committed
1313 1314 1315 1316 1317 1318 1319
                                        </div>
                                    </div>
                                </div>
                            </div>
                        )
                    }
                }
1320
            },
rifkaki's avatar
rifkaki committed
1321 1322 1323 1324 1325
            {
                name: "",
                options: {
                    display: false
                }
1326
            },
rifkaki's avatar
rifkaki committed
1327 1328 1329 1330 1331
            {
                name: "",
                options: {
                    display: false
                }
1332
            },
rifkaki's avatar
rifkaki committed
1333 1334 1335 1336 1337
            {
                name: "",
                options: {
                    display: false
                }
1338
            },
rifkaki's avatar
rifkaki committed
1339 1340 1341 1342 1343
            {
                name: "",
                options: {
                    display: false
                }
1344
            },
rifkaki's avatar
rifkaki committed
1345 1346 1347 1348 1349
            {
                name: "",
                options: {
                    display: false
                }
1350
            },
rifkaki's avatar
rifkaki committed
1351 1352 1353 1354 1355
            {
                name: "",
                options: {
                    display: false
                }
1356
            },
rifkaki's avatar
rifkaki committed
1357 1358 1359 1360 1361
            {
                name: "",
                options: {
                    display: false
                }
1362
            },
rifkaki's avatar
rifkaki committed
1363 1364 1365 1366 1367
            {
                name: "",
                options: {
                    display: false
                }
1368
            },
rifkaki's avatar
rifkaki committed
1369 1370 1371 1372 1373
            {
                name: "",
                options: {
                    display: false
                }
1374
            },
rifkaki's avatar
rifkaki committed
1375 1376 1377 1378 1379
            {
                name: "",
                options: {
                    display: false
                }
r.kurnia's avatar
r.kurnia committed
1380 1381 1382 1383
            }, {
                name: `EBITDA`,
                options: {
                    customHeadRender: (columnMeta) => (
1384 1385 1386 1387
                        <th style={{ ...style2, backgroundColor: '#1c71b8', top: 0, color: '#fff', fontSize: 13, fontWeight: 1, width: 150, borderRight: "1px solid rgb(255, 255, 255)" }} >
                            <div style={{ borderBottom: "1px #fff solid", textAlign: 'center', fontSize: 12, fontWeight: 'bold', padding: 5 }}>{columnMeta.name}</div>
                            <div className="grid grid-2x" style={{ ...style2, backgroundColor: '#1c71b8', color: '#fff', fontSize: 12, fontWeight: 'bold', position: "sticky" }}>
                                <div className="column-1" style={{ placeSelf: 'center', textAlign: 'center', border: '1px #fff solid', backgroundColor: '#07a7d0', height: 65 }}>
r.kurnia's avatar
r.kurnia committed
1388
                                    <div style={{ borderBottom: '1px #fff solid', backgroundColor: '#1c71b8', justifyContent: 'center', display: 'flex', alignItems: 'center', color: 'white', height: 25 }}>
rifkaki's avatar
rifkaki committed
1389
                                        <span>{`YTD ${Number(this.props.periode)}`}</span>
r.kurnia's avatar
r.kurnia committed
1390
                                    </div>
1391 1392
                                    <div className="grid grid-5x" style={{ height: 25 }}>
                                        <div className="column-1" style={{ borderRight: '1px #fff solid', justifyContent: 'center', display: 'flex', alignItems: 'center', backgroundColor: '#008bffc4', height: 40 }}>
r.kurnia's avatar
r.kurnia committed
1393
                                            <span>{"Act"}</span>
r.kurnia's avatar
r.kurnia committed
1394
                                        </div>
1395
                                        <div className="column-2" style={{ borderRight: '1px #fff solid', justifyContent: 'center', display: 'flex', alignItems: 'center', backgroundColor: '#37b5e6', height: 40, color: '#000000c4' }}>
r.kurnia's avatar
r.kurnia committed
1396 1397
                                            <span>{"MB"}</span>
                                        </div>
1398
                                        <div className="column-3" style={{ borderRight: '1px #fff solid', justifyContent: 'center', display: 'flex', alignItems: 'center', backgroundColor: '#37b5e6', height: 40, color: '#000000c4' }}>
r.kurnia's avatar
r.kurnia committed
1399 1400
                                            <span>{"% of MB"}</span>
                                        </div>
1401
                                        <div className="column-4" style={{ borderRight: '1px #fff solid', justifyContent: 'center', display: 'flex', alignItems: 'center', backgroundColor: '#008bffc4', height: 40 }}>
rifkaki's avatar
rifkaki committed
1402
                                            <span>{`${Number(this.props.periode) - 1}`}</span>
r.kurnia's avatar
r.kurnia committed
1403
                                        </div>
1404
                                        <div className="column-5" style={{ borderRight: '1px #fff solid', justifyContent: 'center', display: 'flex', alignItems: 'center', backgroundColor: '#008bffc4', height: 40 }}>
rifkaki's avatar
rifkaki committed
1405
                                            <span>{`% of ${Number(this.props.periode) - 1}`}</span>
r.kurnia's avatar
r.kurnia committed
1406
                                        </div>
r.kurnia's avatar
r.kurnia committed
1407
                                    </div>
r.kurnia's avatar
r.kurnia committed
1408
                                </div>
1409
                                <div className="column-2" style={{ placeSelf: 'center', textAlign: 'center', border: '1px #fff solid', backgroundColor: '#37b5e6', height: 65 }}>
r.kurnia's avatar
r.kurnia committed
1410 1411 1412
                                    <div style={{ borderBottom: '1px #fff solid', backgroundColor: '#1c71b8', justifyContent: 'center', display: 'flex', alignItems: 'center', color: 'white', height: 25 }}>
                                        <span>{"FY"}</span>
                                    </div>
rifkaki's avatar
rifkaki committed
1413
                                    <div className="grid grid-5x" style={{ height: 25 }}>
1414
                                        <div className="column-1" style={{ borderRight: '1px #fff solid', justifyContent: 'center', display: 'flex', alignItems: 'center', backgroundColor: '#37b5e6', height: 40, color: '#000000c4' }}>
rifkaki's avatar
rifkaki committed
1415
                                            <span>{`OL ${Number(this.props.periode)}`}</span>
r.kurnia's avatar
r.kurnia committed
1416
                                        </div>
1417
                                        <div className="column-2" style={{ borderRight: '1px #fff solid', justifyContent: 'center', display: 'flex', alignItems: 'center', backgroundColor: '#37b5e6', height: 40, color: '#000000c4' }}>
rifkaki's avatar
rifkaki committed
1418
                                            <span>{`MB ${Number(this.props.periode)}`}</span>
r.kurnia's avatar
r.kurnia committed
1419
                                        </div>
1420
                                        <div className="column-3" style={{ borderRight: '1px #fff solid', justifyContent: 'center', display: 'flex', alignItems: 'center', backgroundColor: '#37b5e6', height: 40, color: '#000000c4' }}>
r.kurnia's avatar
r.kurnia committed
1421 1422
                                            <span>{"% of MB"}</span>
                                        </div>
1423
                                        <div className="column-4" style={{ borderRight: '1px #fff solid', justifyContent: 'center', display: 'flex', alignItems: 'center', backgroundColor: '#008bffc4', height: 40 }}>
rifkaki's avatar
rifkaki committed
1424
                                            <span>{`${Number(this.props.periode) - 1}`}</span>
r.kurnia's avatar
r.kurnia committed
1425
                                        </div>
1426
                                        <div className="column-5" style={{ borderRight: '1px #fff solid', justifyContent: 'center', display: 'flex', alignItems: 'center', backgroundColor: '#008bffc4', height: 40 }}>
rifkaki's avatar
rifkaki committed
1427
                                            <span>{`% of ${Number(this.props.periode) - 1}`}</span>
r.kurnia's avatar
r.kurnia committed
1428 1429 1430
                                        </div>
                                    </div>
                                </div>
r.kurnia's avatar
r.kurnia committed
1431 1432 1433 1434 1435 1436 1437
                            </div>
                        </th>
                    ),
                    setCellProps: () => ({ style2 }),
                    customBodyRender: (val, tableMeta, updateValue) => {
                        return (
                            <div>
1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455
                                <div className="grid grid-2x content-center">
                                    <div className="col-1">
                                        <div className="grid grid-5x content-center">
                                            <div className="col-1" style={{ padding: 0, left: -15 }} >
                                                <div style={{ flex: 1 }}>
                                                    <FormControlLabel
                                                        style={{ margin: 0 }}
                                                        value={val}
                                                        control={
                                                            <NumberFormat
                                                                thousandSeparator={true}
                                                                style={{ color: (tableMeta.rowData[2] !== 0 && tableMeta.rowData[2] !== 1) && !tableMeta.rowData[45] ? '#5198ea' : '#000000de', fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
                                                                type="text"
                                                                placeholder=""
                                                                disabled={true}
                                                                value={(tableMeta.rowData[14])}
                                                            />
                                                        }
rifkaki's avatar
rifkaki committed
1456
                                                    />
1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473
                                                </div>
                                            </div>
                                            <div className="col-2">
                                                <div style={{ flex: 1 }}>
                                                    <FormControlLabel
                                                        style={{ margin: 0 }}
                                                        value={val}
                                                        control={
                                                            <NumberFormat
                                                                thousandSeparator={true}
                                                                style={{ color: (tableMeta.rowData[2] !== 0 && tableMeta.rowData[2] !== 1) && !tableMeta.rowData[45] ? '#5198ea' : '#000000de', fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
                                                                type="text"
                                                                placeholder=""
                                                                disabled={true}
                                                                value={(tableMeta.rowData[15])}
                                                            />
                                                        }
rifkaki's avatar
rifkaki committed
1474
                                                    />
1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490
                                                </div>
                                            </div>
                                            <div className="col-3">
                                                <div style={{ flex: 1 }}>
                                                    <FormControlLabel
                                                        style={{ margin: 0 }}
                                                        value={val}
                                                        control={
                                                            <NumberFormat
                                                                thousandSeparator={true}
                                                                style={{ color: (tableMeta.rowData[2] !== 0 && tableMeta.rowData[2] !== 1) && !tableMeta.rowData[45] ? '#5198ea' : '#000000de', fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
                                                                type="text"
                                                                placeholder=""
                                                                disabled={true}
                                                                suffix={"%"}
                                                                value={tableMeta.rowData[16]}
qorri_di's avatar
qorri_di committed
1491
                                                            // value={Number(String(tableMeta.rowData[16]).substr(0, String(tableMeta.rowData[16]).length - 1)).toFixed(1)}
1492 1493
                                                            />
                                                        }
rifkaki's avatar
rifkaki committed
1494
                                                    />
1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511
                                                </div>
                                            </div>
                                            <div className="col-4">
                                                <div style={{ flex: 1 }}>
                                                    <FormControlLabel
                                                        style={{ margin: 0 }}
                                                        value={val}
                                                        control={
                                                            <NumberFormat
                                                                thousandSeparator={true}
                                                                style={{ color: (tableMeta.rowData[2] !== 0 && tableMeta.rowData[2] !== 1) && !tableMeta.rowData[45] ? '#5198ea' : '#000000de', fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
                                                                type="text"
                                                                placeholder=""
                                                                disabled={true}
                                                                value={(tableMeta.rowData[17])}
                                                            />
                                                        }
rifkaki's avatar
rifkaki committed
1512
                                                    />
1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525
                                                </div>
                                            </div>
                                            <div className="col-5">
                                                <div style={{ flex: 1 }}>
                                                    <FormControlLabel
                                                        style={{ margin: 0 }}
                                                        value={val}
                                                        control={
                                                            <NumberFormat
                                                                thousandSeparator={true}
                                                                style={{ color: (tableMeta.rowData[2] !== 0 && tableMeta.rowData[2] !== 1) && !tableMeta.rowData[45] ? '#5198ea' : '#000000de', fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
                                                                type="text"
                                                                placeholder=""
1526
                                                                suffix={"%"}
1527 1528 1529 1530
                                                                disabled={true}
                                                                value={(tableMeta.rowData[18])}
                                                            />
                                                        }
rifkaki's avatar
rifkaki committed
1531
                                                    />
1532 1533
                                                </div>
                                            </div>
r.kurnia's avatar
r.kurnia committed
1534 1535
                                        </div>
                                    </div>
1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552
                                    <div className="col-2">
                                        <div className="grid grid-5x content-center">
                                            <div className="col-1">
                                                <div style={{ flex: 1 }}>
                                                    <FormControlLabel
                                                        style={{ margin: 0 }}
                                                        value={val}
                                                        control={
                                                            <NumberFormat
                                                                thousandSeparator={true}
                                                                style={{ color: (tableMeta.rowData[2] !== 0 && tableMeta.rowData[2] !== 1) && !tableMeta.rowData[45] ? '#5198ea' : '#000000de', fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
                                                                type="text"
                                                                placeholder=""
                                                                disabled={true}
                                                                value={(tableMeta.rowData[19])}
                                                            />
                                                        }
rifkaki's avatar
rifkaki committed
1553
                                                    />
1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570
                                                </div>
                                            </div>
                                            <div className="col-2">
                                                <div style={{ flex: 1 }}>
                                                    <FormControlLabel
                                                        style={{ margin: 0 }}
                                                        value={val}
                                                        control={
                                                            <NumberFormat
                                                                thousandSeparator={true}
                                                                style={{ color: (tableMeta.rowData[2] !== 0 && tableMeta.rowData[2] !== 1) && !tableMeta.rowData[45] ? '#5198ea' : '#000000de', fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
                                                                type="text"
                                                                placeholder=""
                                                                disabled={true}
                                                                value={(tableMeta.rowData[20])}
                                                            />
                                                        }
rifkaki's avatar
rifkaki committed
1571
                                                    />
1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587
                                                </div>
                                            </div>
                                            <div className="col-3">
                                                <div style={{ flex: 1 }}>
                                                    <FormControlLabel
                                                        style={{ margin: 0 }}
                                                        value={val}
                                                        control={
                                                            <NumberFormat
                                                                thousandSeparator={true}
                                                                style={{ color: (tableMeta.rowData[2] !== 0 && tableMeta.rowData[2] !== 1) && !tableMeta.rowData[45] ? '#5198ea' : '#000000de', fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
                                                                type="text"
                                                                placeholder=""
                                                                disabled={true}
                                                                suffix={"%"}
                                                                value={tableMeta.rowData[21]}
qorri_di's avatar
qorri_di committed
1588
                                                            // value={Number(String(tableMeta.rowData[21]).substr(0, String(tableMeta.rowData[21]).length - 1)).toFixed(1)}
1589 1590
                                                            />
                                                        }
rifkaki's avatar
rifkaki committed
1591
                                                    />
1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608
                                                </div>
                                            </div>
                                            <div className="col-4">
                                                <div style={{ flex: 1 }}>
                                                    <FormControlLabel
                                                        style={{ margin: 0 }}
                                                        value={val}
                                                        control={
                                                            <NumberFormat
                                                                thousandSeparator={true}
                                                                style={{ color: (tableMeta.rowData[2] !== 0 && tableMeta.rowData[2] !== 1) && !tableMeta.rowData[45] ? '#5198ea' : '#000000de', fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
                                                                type="text"
                                                                placeholder=""
                                                                disabled={true}
                                                                value={(tableMeta.rowData[22])}
                                                            />
                                                        }
rifkaki's avatar
rifkaki committed
1609
                                                    />
1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625
                                                </div>
                                            </div>
                                            <div className="col-5">
                                                <div style={{ flex: 1 }}>
                                                    <FormControlLabel
                                                        style={{ margin: 0 }}
                                                        value={val}
                                                        control={
                                                            <NumberFormat
                                                                thousandSeparator={true}
                                                                style={{ color: (tableMeta.rowData[2] !== 0 && tableMeta.rowData[2] !== 1) && !tableMeta.rowData[45] ? '#5198ea' : '#000000de', fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
                                                                type="text"
                                                                placeholder=""
                                                                disabled={true}
                                                                suffix={"%"}
                                                                value={tableMeta.rowData[23]}
qorri_di's avatar
qorri_di committed
1626
                                                            // value={Number(String(tableMeta.rowData[23]).substr(0, String(tableMeta.rowData[23]).length - 1)).toFixed(1)}
1627 1628
                                                            />
                                                        }
rifkaki's avatar
rifkaki committed
1629
                                                    />
1630 1631
                                                </div>
                                            </div>
rifkaki's avatar
rifkaki committed
1632 1633 1634 1635 1636
                                        </div>
                                    </div>
                                </div>
                            </div>
                        )
r.kurnia's avatar
r.kurnia committed
1637 1638
                    }
                }
1639
            },
rifkaki's avatar
rifkaki committed
1640 1641 1642 1643 1644
            {
                name: "",
                options: {
                    display: false
                }
1645
            },
rifkaki's avatar
rifkaki committed
1646 1647 1648 1649 1650
            {
                name: "",
                options: {
                    display: false
                }
1651
            },
rifkaki's avatar
rifkaki committed
1652 1653 1654 1655 1656
            {
                name: "",
                options: {
                    display: false
                }
1657
            },
rifkaki's avatar
rifkaki committed
1658 1659 1660 1661 1662
            {
                name: "",
                options: {
                    display: false
                }
1663
            },
rifkaki's avatar
rifkaki committed
1664 1665 1666 1667 1668
            {
                name: "",
                options: {
                    display: false
                }
1669
            },
rifkaki's avatar
rifkaki committed
1670 1671 1672 1673 1674
            {
                name: "",
                options: {
                    display: false
                }
1675
            },
rifkaki's avatar
rifkaki committed
1676 1677 1678 1679 1680
            {
                name: "",
                options: {
                    display: false
                }
1681
            },
rifkaki's avatar
rifkaki committed
1682 1683 1684 1685 1686
            {
                name: "",
                options: {
                    display: false
                }
1687
            },
rifkaki's avatar
rifkaki committed
1688 1689 1690 1691 1692
            {
                name: "",
                options: {
                    display: false
                }
1693
            },
rifkaki's avatar
rifkaki committed
1694 1695 1696 1697 1698
            {
                name: "",
                options: {
                    display: false
                }
1699
            },
rifkaki's avatar
rifkaki committed
1700 1701 1702 1703 1704
            {
                name: "",
                options: {
                    display: false
                }
r.kurnia's avatar
r.kurnia committed
1705 1706 1707 1708
            }, {
                name: `TPAT`,
                options: {
                    customHeadRender: (columnMeta) => (
1709 1710 1711 1712
                        <th style={{ ...style2, backgroundColor: '#1c71b8', top: 0, color: '#fff', fontSize: 13, fontWeight: 1, width: 150, borderRight: "1px solid rgb(255, 255, 255)" }} >
                            <div style={{ borderBottom: "1px #fff solid", textAlign: 'center', fontSize: 12, fontWeight: 'bold', padding: 5 }}>{columnMeta.name}</div>
                            <div className="grid grid-2x" style={{ ...style2, backgroundColor: '#1c71b8', color: '#fff', fontSize: 12, fontWeight: 'bold', position: "sticky" }}>
                                <div className="column-1" style={{ placeSelf: 'center', textAlign: 'center', border: '1px #fff solid', backgroundColor: '#07a7d0', height: 65 }}>
r.kurnia's avatar
r.kurnia committed
1713
                                    <div style={{ borderBottom: '1px #fff solid', backgroundColor: '#1c71b8', justifyContent: 'center', display: 'flex', alignItems: 'center', color: 'white', height: 25 }}>
rifkaki's avatar
rifkaki committed
1714
                                        <span>{`YTD ${Number(this.props.periode)}`}</span>
r.kurnia's avatar
r.kurnia committed
1715
                                    </div>
1716 1717
                                    <div className="grid grid-5x" style={{ height: 25 }}>
                                        <div className="column-1" style={{ borderRight: '1px #fff solid', justifyContent: 'center', display: 'flex', alignItems: 'center', backgroundColor: '#008bffc4', height: 40 }}>
r.kurnia's avatar
r.kurnia committed
1718
                                            <span>{"Act"}</span>
r.kurnia's avatar
r.kurnia committed
1719
                                        </div>
1720
                                        <div className="column-2" style={{ borderRight: '1px #fff solid', justifyContent: 'center', display: 'flex', alignItems: 'center', backgroundColor: '#37b5e6', height: 40, color: '#000000c4' }}>
r.kurnia's avatar
r.kurnia committed
1721 1722
                                            <span>{"MB"}</span>
                                        </div>
1723
                                        <div className="column-3" style={{ borderRight: '1px #fff solid', justifyContent: 'center', display: 'flex', alignItems: 'center', backgroundColor: '#37b5e6', height: 40, color: '#000000c4' }}>
r.kurnia's avatar
r.kurnia committed
1724 1725
                                            <span>{"% of MB"}</span>
                                        </div>
1726
                                        <div className="column-4" style={{ borderRight: '1px #fff solid', justifyContent: 'center', display: 'flex', alignItems: 'center', backgroundColor: '#008bffc4', height: 40 }}>
rifkaki's avatar
rifkaki committed
1727
                                            <span>{`${Number(this.props.periode) - 1}`}</span>
r.kurnia's avatar
r.kurnia committed
1728
                                        </div>
1729
                                        <div className="column-5" style={{ borderRight: '1px #fff solid', justifyContent: 'center', display: 'flex', alignItems: 'center', backgroundColor: '#008bffc4', height: 40 }}>
rifkaki's avatar
rifkaki committed
1730
                                            <span>{`% of ${Number(this.props.periode) - 1}`}</span>
r.kurnia's avatar
r.kurnia committed
1731 1732 1733
                                        </div>
                                    </div>
                                </div>
1734
                                <div className="column-2" style={{ placeSelf: 'center', textAlign: 'center', border: '1px #fff solid', backgroundColor: '#37b5e6', height: 65 }}>
r.kurnia's avatar
r.kurnia committed
1735 1736 1737
                                    <div style={{ borderBottom: '1px #fff solid', backgroundColor: '#1c71b8', justifyContent: 'center', display: 'flex', alignItems: 'center', color: 'white', height: 25 }}>
                                        <span>{"FY"}</span>
                                    </div>
rifkaki's avatar
rifkaki committed
1738
                                    <div className="grid grid-5x" style={{ height: 25 }}>
1739
                                        <div className="column-1" style={{ borderRight: '1px #fff solid', justifyContent: 'center', display: 'flex', alignItems: 'center', backgroundColor: '#37b5e6', height: 40, color: '#000000c4' }}>
rifkaki's avatar
rifkaki committed
1740
                                            <span>{`OL ${Number(this.props.periode)}`}</span>
r.kurnia's avatar
r.kurnia committed
1741
                                        </div>
qorri_di's avatar
qorri_di committed
1742
                                       <div className="column-2" style={{ borderRight: '1px #fff solid', justifyContent: 'center', display: 'flex', alignItems: 'center', backgroundColor: '#37b5e6', height: 40, color: '#000000c4' }}>
rifkaki's avatar
rifkaki committed
1743
                                            <span>{`MB ${Number(this.props.periode)}`}</span>
r.kurnia's avatar
r.kurnia committed
1744
                                        </div>
1745
                                        <div className="column-3" style={{ borderRight: '1px #fff solid', justifyContent: 'center', display: 'flex', alignItems: 'center', backgroundColor: '#37b5e6', height: 40, color: '#000000c4' }}>
r.kurnia's avatar
r.kurnia committed
1746 1747
                                            <span>{"% of MB"}</span>
                                        </div>
1748
                                        <div className="column-4" style={{ borderRight: '1px #fff solid', justifyContent: 'center', display: 'flex', alignItems: 'center', backgroundColor: '#008bffc4', height: 40 }}>
rifkaki's avatar
rifkaki committed
1749
                                            <span>{`${Number(this.props.periode) - 1}`}</span>
r.kurnia's avatar
r.kurnia committed
1750
                                        </div>
1751
                                        <div className="column-5" style={{ borderRight: '1px #fff solid', justifyContent: 'center', display: 'flex', alignItems: 'center', backgroundColor: '#008bffc4', height: 40 }}>
rifkaki's avatar
rifkaki committed
1752
                                            <span>{`% of ${Number(this.props.periode) - 1}`}</span>
r.kurnia's avatar
r.kurnia committed
1753 1754 1755 1756 1757 1758 1759 1760 1761 1762
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </th>
                    ),
                    setCellProps: () => ({ style2 }),
                    customBodyRender: (val, tableMeta, updateValue) => {
                        return (
                            <div>
1763 1764 1765 1766 1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780
                                <div className="grid grid-2x content-center">
                                    <div className="col-1">
                                        <div className="grid grid-5x content-center">
                                            <div className="col-1" style={{ padding: 0, left: -15 }} >
                                                <div style={{ flex: 1 }}>
                                                    <FormControlLabel
                                                        style={{ margin: 0 }}
                                                        value={val}
                                                        control={
                                                            <NumberFormat
                                                                thousandSeparator={true}
                                                                style={{ color: (tableMeta.rowData[2] !== 0 && tableMeta.rowData[2] !== 1) && !tableMeta.rowData[45] ? '#5198ea' : '#000000de', fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
                                                                type="text"
                                                                placeholder=""
                                                                disabled={true}
                                                                value={(tableMeta.rowData[24])}
                                                            />
                                                        }
rifkaki's avatar
rifkaki committed
1781
                                                    />
1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 1796 1797 1798
                                                </div>
                                            </div>
                                            <div className="col-2">
                                                <div style={{ flex: 1 }}>
                                                    <FormControlLabel
                                                        style={{ margin: 0 }}
                                                        value={val}
                                                        control={
                                                            <NumberFormat
                                                                thousandSeparator={true}
                                                                style={{ color: (tableMeta.rowData[2] !== 0 && tableMeta.rowData[2] !== 1) && !tableMeta.rowData[45] ? '#5198ea' : '#000000de', fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
                                                                type="text"
                                                                placeholder=""
                                                                disabled={true}
                                                                value={(tableMeta.rowData[25])}
                                                            />
                                                        }
rifkaki's avatar
rifkaki committed
1799
                                                    />
1800 1801 1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815
                                                </div>
                                            </div>
                                            <div className="col-3">
                                                <div style={{ flex: 1 }}>
                                                    <FormControlLabel
                                                        style={{ margin: 0 }}
                                                        value={val}
                                                        control={
                                                            <NumberFormat
                                                                thousandSeparator={true}
                                                                style={{ color: (tableMeta.rowData[2] !== 0 && tableMeta.rowData[2] !== 1) && !tableMeta.rowData[45] ? '#5198ea' : '#000000de', fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
                                                                type="text"
                                                                placeholder=""
                                                                disabled={true}
                                                                suffix={"%"}
                                                                value={tableMeta.rowData[26]}
qorri_di's avatar
qorri_di committed
1816
                                                            // value={Number(String(tableMeta.rowData[16]).substr(0, String(tableMeta.rowData[16]).length - 1)).toFixed(1)}
1817 1818
                                                            />
                                                        }
rifkaki's avatar
rifkaki committed
1819
                                                    />
1820 1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 1832 1833 1834 1835 1836
                                                </div>
                                            </div>
                                            <div className="col-4">
                                                <div style={{ flex: 1 }}>
                                                    <FormControlLabel
                                                        style={{ margin: 0 }}
                                                        value={val}
                                                        control={
                                                            <NumberFormat
                                                                thousandSeparator={true}
                                                                style={{ color: (tableMeta.rowData[2] !== 0 && tableMeta.rowData[2] !== 1) && !tableMeta.rowData[45] ? '#5198ea' : '#000000de', fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
                                                                type="text"
                                                                placeholder=""
                                                                disabled={true}
                                                                value={(tableMeta.rowData[27])}
                                                            />
                                                        }
rifkaki's avatar
rifkaki committed
1837
                                                    />
1838 1839 1840 1841 1842 1843 1844 1845 1846 1847 1848 1849 1850 1851
                                                </div>
                                            </div>
                                            <div className="col-5">
                                                <div style={{ flex: 1 }}>
                                                    <FormControlLabel
                                                        style={{ margin: 0 }}
                                                        value={val}
                                                        control={
                                                            <NumberFormat
                                                                thousandSeparator={true}
                                                                style={{ color: (tableMeta.rowData[2] !== 0 && tableMeta.rowData[2] !== 1) && !tableMeta.rowData[45] ? '#5198ea' : '#000000de', fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
                                                                type="text"
                                                                placeholder=""
                                                                disabled={true}
1852
                                                                suffix={"%"}
1853 1854 1855
                                                                value={(tableMeta.rowData[28])}
                                                            />
                                                        }
rifkaki's avatar
rifkaki committed
1856
                                                    />
1857 1858
                                                </div>
                                            </div>
r.kurnia's avatar
r.kurnia committed
1859 1860
                                        </div>
                                    </div>
1861 1862 1863 1864 1865 1866 1867 1868 1869 1870 1871 1872 1873 1874 1875 1876 1877
                                    <div className="col-2">
                                        <div className="grid grid-5x content-center">
                                            <div className="col-1">
                                                <div style={{ flex: 1 }}>
                                                    <FormControlLabel
                                                        style={{ margin: 0 }}
                                                        value={val}
                                                        control={
                                                            <NumberFormat
                                                                thousandSeparator={true}
                                                                style={{ color: (tableMeta.rowData[2] !== 0 && tableMeta.rowData[2] !== 1) && !tableMeta.rowData[45] ? '#5198ea' : '#000000de', fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
                                                                type="text"
                                                                placeholder=""
                                                                disabled={true}
                                                                value={(tableMeta.rowData[29])}
                                                            />
                                                        }
rifkaki's avatar
rifkaki committed
1878
                                                    />
1879 1880 1881 1882 1883 1884 1885 1886 1887 1888 1889 1890 1891 1892 1893 1894 1895
                                                </div>
                                            </div>
                                            <div className="col-2">
                                                <div style={{ flex: 1 }}>
                                                    <FormControlLabel
                                                        style={{ margin: 0 }}
                                                        value={val}
                                                        control={
                                                            <NumberFormat
                                                                thousandSeparator={true}
                                                                style={{ color: (tableMeta.rowData[2] !== 0 && tableMeta.rowData[2] !== 1) && !tableMeta.rowData[45] ? '#5198ea' : '#000000de', fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
                                                                type="text"
                                                                placeholder=""
                                                                disabled={true}
                                                                value={(tableMeta.rowData[30])}
                                                            />
                                                        }
rifkaki's avatar
rifkaki committed
1896
                                                    />
1897 1898 1899 1900 1901 1902 1903 1904 1905 1906 1907 1908 1909 1910 1911 1912
                                                </div>
                                            </div>
                                            <div className="col-3">
                                                <div style={{ flex: 1 }}>
                                                    <FormControlLabel
                                                        style={{ margin: 0 }}
                                                        value={val}
                                                        control={
                                                            <NumberFormat
                                                                thousandSeparator={true}
                                                                style={{ color: (tableMeta.rowData[2] !== 0 && tableMeta.rowData[2] !== 1) && !tableMeta.rowData[45] ? '#5198ea' : '#000000de', fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
                                                                type="text"
                                                                placeholder=""
                                                                disabled={true}
                                                                suffix={"%"}
                                                                value={tableMeta.rowData[31]}
qorri_di's avatar
qorri_di committed
1913
                                                            // value={Number(String(tableMeta.rowData[21]).substr(0, String(tableMeta.rowData[21]).length - 1)).toFixed(1)}
1914 1915
                                                            />
                                                        }
rifkaki's avatar
rifkaki committed
1916
                                                    />
1917 1918 1919 1920 1921 1922 1923 1924 1925 1926 1927 1928 1929 1930 1931 1932 1933
                                                </div>
                                            </div>
                                            <div className="col-4">
                                                <div style={{ flex: 1 }}>
                                                    <FormControlLabel
                                                        style={{ margin: 0 }}
                                                        value={val}
                                                        control={
                                                            <NumberFormat
                                                                thousandSeparator={true}
                                                                style={{ color: (tableMeta.rowData[2] !== 0 && tableMeta.rowData[2] !== 1) && !tableMeta.rowData[45] ? '#5198ea' : '#000000de', fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
                                                                type="text"
                                                                placeholder=""
                                                                disabled={true}
                                                                value={(tableMeta.rowData[32])}
                                                            />
                                                        }
rifkaki's avatar
rifkaki committed
1934
                                                    />
1935 1936 1937 1938 1939 1940 1941 1942 1943 1944 1945 1946 1947 1948 1949 1950
                                                </div>
                                            </div>
                                            <div className="col-5">
                                                <div style={{ flex: 1 }}>
                                                    <FormControlLabel
                                                        style={{ margin: 0 }}
                                                        value={val}
                                                        control={
                                                            <NumberFormat
                                                                thousandSeparator={true}
                                                                style={{ color: (tableMeta.rowData[2] !== 0 && tableMeta.rowData[2] !== 1) && !tableMeta.rowData[45] ? '#5198ea' : '#000000de', fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
                                                                type="text"
                                                                placeholder=""
                                                                disabled={true}
                                                                suffix={"%"}
                                                                value={tableMeta.rowData[33]}
qorri_di's avatar
qorri_di committed
1951
                                                            // value={Number(String(tableMeta.rowData[23]).substr(0, String(tableMeta.rowData[23]).length - 1)).toFixed(1)}
1952 1953 1954 1955 1956
                                                            />
                                                        }
                                                    />
                                                </div>
                                            </div>
r.kurnia's avatar
r.kurnia committed
1957 1958 1959 1960 1961 1962 1963
                                        </div>
                                    </div>
                                </div>
                            </div>
                        )
                    }
                }
1964
            },
rifkaki's avatar
rifkaki committed
1965 1966 1967 1968 1969
            {
                name: "",
                options: {
                    display: false
                }
1970
            },
rifkaki's avatar
rifkaki committed
1971 1972 1973 1974 1975
            {
                name: "",
                options: {
                    display: false
                }
1976
            },
rifkaki's avatar
rifkaki committed
1977 1978 1979 1980 1981
            {
                name: "",
                options: {
                    display: false
                }
1982
            },
rifkaki's avatar
rifkaki committed
1983 1984 1985 1986 1987
            {
                name: "",
                options: {
                    display: false
                }
1988
            },
rifkaki's avatar
rifkaki committed
1989 1990 1991 1992 1993
            {
                name: "",
                options: {
                    display: false
                }
1994
            },
rifkaki's avatar
rifkaki committed
1995 1996 1997 1998 1999
            {
                name: "",
                options: {
                    display: false
                }
2000
            },
rifkaki's avatar
rifkaki committed
2001 2002 2003 2004 2005
            {
                name: "",
                options: {
                    display: false
                }
2006
            },
rifkaki's avatar
rifkaki committed
2007 2008 2009 2010 2011
            {
                name: "",
                options: {
                    display: false
                }
2012
            },
rifkaki's avatar
rifkaki committed
2013 2014 2015 2016 2017
            {
                name: "",
                options: {
                    display: false
                }
2018
            },
rifkaki's avatar
rifkaki committed
2019 2020 2021 2022 2023
            {
                name: "",
                options: {
                    display: false
                }
2024
            },
rifkaki's avatar
rifkaki committed
2025 2026 2027 2028 2029
            {
                name: "",
                options: {
                    display: false
                }
r.kurnia's avatar
r.kurnia committed
2030 2031 2032 2033
            }, {
                name: `NPAT`,
                options: {
                    customHeadRender: (columnMeta) => (
2034 2035 2036 2037
                        <th style={{ ...style2, backgroundColor: '#1c71b8', top: 0, color: '#fff', fontSize: 13, fontWeight: 1, width: 150, borderRight: "1px solid rgb(255, 255, 255)" }} >
                            <div style={{ borderBottom: "1px #fff solid", textAlign: 'center', fontSize: 12, fontWeight: 'bold', padding: 5 }}>{columnMeta.name}</div>
                            <div className="grid grid-2x" style={{ ...style2, backgroundColor: '#1c71b8', color: '#fff', fontSize: 12, fontWeight: 'bold', position: "sticky" }}>
                                <div className="column-1" style={{ placeSelf: 'center', textAlign: 'center', border: '1px #fff solid', backgroundColor: '#07a7d0', height: 65 }}>
r.kurnia's avatar
r.kurnia committed
2038
                                    <div style={{ borderBottom: '1px #fff solid', backgroundColor: '#1c71b8', justifyContent: 'center', display: 'flex', alignItems: 'center', color: 'white', height: 25 }}>
rifkaki's avatar
rifkaki committed
2039
                                        <span>{`YTD ${Number(this.props.periode)}`}</span>
r.kurnia's avatar
r.kurnia committed
2040
                                    </div>
2041 2042
                                    <div className="grid grid-5x" style={{ height: 25 }}>
                                        <div className="column-1" style={{ borderRight: '1px #fff solid', justifyContent: 'center', display: 'flex', alignItems: 'center', backgroundColor: '#008bffc4', height: 40 }}>
r.kurnia's avatar
r.kurnia committed
2043 2044
                                            <span>{"Act"}</span>
                                        </div>
2045
                                        <div className="column-2" style={{ borderRight: '1px #fff solid', justifyContent: 'center', display: 'flex', alignItems: 'center', backgroundColor: '#37b5e6', height: 40, color: '#000000c4' }}>
r.kurnia's avatar
r.kurnia committed
2046 2047
                                            <span>{"MB"}</span>
                                        </div>
2048
                                        <div className="column-3" style={{ borderRight: '1px #fff solid', justifyContent: 'center', display: 'flex', alignItems: 'center', backgroundColor: '#37b5e6', height: 40, color: '#000000c4' }}>
r.kurnia's avatar
r.kurnia committed
2049 2050
                                            <span>{"% of MB"}</span>
                                        </div>
2051
                                        <div className="column-4" style={{ borderRight: '1px #fff solid', justifyContent: 'center', display: 'flex', alignItems: 'center', backgroundColor: '#008bffc4', height: 40 }}>
rifkaki's avatar
rifkaki committed
2052
                                            <span>{`${Number(this.props.periode) - 1}`}</span>
r.kurnia's avatar
r.kurnia committed
2053
                                        </div>
2054
                                        <div className="column-5" style={{ borderRight: '1px #fff solid', justifyContent: 'center', display: 'flex', alignItems: 'center', backgroundColor: '#008bffc4', height: 40 }}>
rifkaki's avatar
rifkaki committed
2055
                                            <span>{`% of ${Number(this.props.periode) - 1}`}</span>
r.kurnia's avatar
r.kurnia committed
2056 2057 2058
                                        </div>
                                    </div>
                                </div>
2059
                                <div className="column-2" style={{ placeSelf: 'center', textAlign: 'center', border: '1px #fff solid', backgroundColor: '#37b5e6', height: 65 }}>
r.kurnia's avatar
r.kurnia committed
2060 2061 2062
                                    <div style={{ borderBottom: '1px #fff solid', backgroundColor: '#1c71b8', justifyContent: 'center', display: 'flex', alignItems: 'center', color: 'white', height: 25 }}>
                                        <span>{"FY"}</span>
                                    </div>
rifkaki's avatar
rifkaki committed
2063
                                    <div className="grid grid-5x" style={{ height: 25 }}>
2064
                                        <div className="column-1" style={{ borderRight: '1px #fff solid', justifyContent: 'center', display: 'flex', alignItems: 'center', backgroundColor: '#37b5e6', height: 40, color: '#000000c4' }}>
rifkaki's avatar
rifkaki committed
2065
                                            <span>{`OL ${Number(this.props.periode)}`}</span>
r.kurnia's avatar
r.kurnia committed
2066
                                        </div>
qorri_di's avatar
qorri_di committed
2067
                                       <div className="column-2" style={{ borderRight: '1px #fff solid', justifyContent: 'center', display: 'flex', alignItems: 'center', backgroundColor: '#37b5e6', height: 40, color: '#000000c4' }}>
rifkaki's avatar
rifkaki committed
2068
                                            <span>{`MB ${Number(this.props.periode)}`}</span>
r.kurnia's avatar
r.kurnia committed
2069
                                        </div>
2070
                                        <div className="column-3" style={{ borderRight: '1px #fff solid', justifyContent: 'center', display: 'flex', alignItems: 'center', backgroundColor: '#37b5e6', height: 40, color: '#000000c4' }}>
r.kurnia's avatar
r.kurnia committed
2071 2072
                                            <span>{"% of MB"}</span>
                                        </div>
2073
                                        <div className="column-4" style={{ borderRight: '1px #fff solid', justifyContent: 'center', display: 'flex', alignItems: 'center', backgroundColor: '#008bffc4', height: 40 }}>
rifkaki's avatar
rifkaki committed
2074
                                            <span>{`${Number(this.props.periode) - 1}`}</span>
r.kurnia's avatar
r.kurnia committed
2075
                                        </div>
2076
                                        <div className="column-5" style={{ borderRight: '1px #fff solid', justifyContent: 'center', display: 'flex', alignItems: 'center', backgroundColor: '#008bffc4', height: 40 }}>
rifkaki's avatar
rifkaki committed
2077
                                            <span>{`% of ${Number(this.props.periode) - 1}`}</span>
r.kurnia's avatar
r.kurnia committed
2078 2079 2080 2081 2082 2083 2084 2085 2086 2087
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </th>
                    ),
                    setCellProps: () => ({ style2 }),
                    customBodyRender: (val, tableMeta, updateValue) => {
                        return (
                            <div>
2088 2089 2090 2091 2092 2093 2094 2095 2096 2097 2098 2099 2100 2101 2102 2103 2104 2105
                                <div className="grid grid-2x content-center">
                                    <div className="col-1">
                                        <div className="grid grid-5x content-center">
                                            <div className="col-1" style={{ padding: 0, left: -15 }} >
                                                <div style={{ flex: 1 }}>
                                                    <FormControlLabel
                                                        style={{ margin: 0 }}
                                                        value={val}
                                                        control={
                                                            <NumberFormat
                                                                thousandSeparator={true}
                                                                style={{ color: (tableMeta.rowData[2] !== 0 && tableMeta.rowData[2] !== 1) && !tableMeta.rowData[45] ? '#5198ea' : '#000000de', fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
                                                                type="text"
                                                                placeholder=""
                                                                disabled={true}
                                                                value={(tableMeta.rowData[34])}
                                                            />
                                                        }
rifkaki's avatar
rifkaki committed
2106
                                                    />
2107 2108 2109 2110 2111 2112 2113 2114 2115 2116 2117 2118 2119 2120 2121 2122 2123
                                                </div>
                                            </div>
                                            <div className="col-2">
                                                <div style={{ flex: 1 }}>
                                                    <FormControlLabel
                                                        style={{ margin: 0 }}
                                                        value={val}
                                                        control={
                                                            <NumberFormat
                                                                thousandSeparator={true}
                                                                style={{ color: (tableMeta.rowData[2] !== 0 && tableMeta.rowData[2] !== 1) && !tableMeta.rowData[45] ? '#5198ea' : '#000000de', fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
                                                                type="text"
                                                                placeholder=""
                                                                disabled={true}
                                                                value={(tableMeta.rowData[35])}
                                                            />
                                                        }
rifkaki's avatar
rifkaki committed
2124
                                                    />
2125 2126 2127 2128 2129 2130 2131 2132 2133 2134 2135 2136 2137 2138 2139 2140
                                                </div>
                                            </div>
                                            <div className="col-3">
                                                <div style={{ flex: 1 }}>
                                                    <FormControlLabel
                                                        style={{ margin: 0 }}
                                                        value={val}
                                                        control={
                                                            <NumberFormat
                                                                thousandSeparator={true}
                                                                style={{ color: (tableMeta.rowData[2] !== 0 && tableMeta.rowData[2] !== 1) && !tableMeta.rowData[45] ? '#5198ea' : '#000000de', fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
                                                                type="text"
                                                                placeholder=""
                                                                disabled={true}
                                                                suffix={"%"}
                                                                value={tableMeta.rowData[36]}
qorri_di's avatar
qorri_di committed
2141
                                                            // value={Number(String(tableMeta.rowData[16]).substr(0, String(tableMeta.rowData[16]).length - 1)).toFixed(1)}
2142 2143
                                                            />
                                                        }
rifkaki's avatar
rifkaki committed
2144
                                                    />
2145 2146 2147 2148 2149 2150 2151 2152 2153 2154 2155 2156 2157 2158 2159 2160 2161
                                                </div>
                                            </div>
                                            <div className="col-4">
                                                <div style={{ flex: 1 }}>
                                                    <FormControlLabel
                                                        style={{ margin: 0 }}
                                                        value={val}
                                                        control={
                                                            <NumberFormat
                                                                thousandSeparator={true}
                                                                style={{ color: (tableMeta.rowData[2] !== 0 && tableMeta.rowData[2] !== 1) && !tableMeta.rowData[45] ? '#5198ea' : '#000000de', fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
                                                                type="text"
                                                                placeholder=""
                                                                disabled={true}
                                                                value={(tableMeta.rowData[37])}
                                                            />
                                                        }
rifkaki's avatar
rifkaki committed
2162
                                                    />
2163 2164 2165 2166 2167 2168 2169 2170 2171 2172 2173 2174 2175 2176
                                                </div>
                                            </div>
                                            <div className="col-5">
                                                <div style={{ flex: 1 }}>
                                                    <FormControlLabel
                                                        style={{ margin: 0 }}
                                                        value={val}
                                                        control={
                                                            <NumberFormat
                                                                thousandSeparator={true}
                                                                style={{ color: (tableMeta.rowData[2] !== 0 && tableMeta.rowData[2] !== 1) && !tableMeta.rowData[45] ? '#5198ea' : '#000000de', fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
                                                                type="text"
                                                                placeholder=""
                                                                disabled={true}
2177
                                                                suffix={"%"}
2178 2179 2180
                                                                value={(tableMeta.rowData[38])}
                                                            />
                                                        }
rifkaki's avatar
rifkaki committed
2181
                                                    />
2182 2183
                                                </div>
                                            </div>
r.kurnia's avatar
r.kurnia committed
2184
                                        </div>
2185 2186 2187 2188 2189 2190 2191 2192 2193 2194 2195 2196 2197 2198 2199 2200 2201 2202
                                    </div>
                                    <div className="col-2">
                                        <div className="grid grid-5x content-center">
                                            <div className="col-1">
                                                <div style={{ flex: 1 }}>
                                                    <FormControlLabel
                                                        style={{ margin: 0 }}
                                                        value={val}
                                                        control={
                                                            <NumberFormat
                                                                thousandSeparator={true}
                                                                style={{ color: (tableMeta.rowData[2] !== 0 && tableMeta.rowData[2] !== 1) && !tableMeta.rowData[45] ? '#5198ea' : '#000000de', fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
                                                                type="text"
                                                                placeholder=""
                                                                disabled={true}
                                                                value={(tableMeta.rowData[39])}
                                                            />
                                                        }
rifkaki's avatar
rifkaki committed
2203
                                                    />
2204 2205 2206 2207 2208 2209 2210 2211 2212 2213 2214 2215 2216 2217 2218 2219 2220
                                                </div>
                                            </div>
                                            <div className="col-2">
                                                <div style={{ flex: 1 }}>
                                                    <FormControlLabel
                                                        style={{ margin: 0 }}
                                                        value={val}
                                                        control={
                                                            <NumberFormat
                                                                thousandSeparator={true}
                                                                style={{ color: (tableMeta.rowData[2] !== 0 && tableMeta.rowData[2] !== 1) && !tableMeta.rowData[45] ? '#5198ea' : '#000000de', fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
                                                                type="text"
                                                                placeholder=""
                                                                disabled={true}
                                                                value={(tableMeta.rowData[40])}
                                                            />
                                                        }
rifkaki's avatar
rifkaki committed
2221
                                                    />
2222 2223 2224 2225 2226 2227 2228 2229 2230 2231 2232 2233 2234 2235 2236 2237
                                                </div>
                                            </div>
                                            <div className="col-3">
                                                <div style={{ flex: 1 }}>
                                                    <FormControlLabel
                                                        style={{ margin: 0 }}
                                                        value={val}
                                                        control={
                                                            <NumberFormat
                                                                thousandSeparator={true}
                                                                style={{ color: (tableMeta.rowData[2] !== 0 && tableMeta.rowData[2] !== 1) && !tableMeta.rowData[45] ? '#5198ea' : '#000000de', fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
                                                                type="text"
                                                                placeholder=""
                                                                disabled={true}
                                                                suffix={"%"}
                                                                value={tableMeta.rowData[41]}
qorri_di's avatar
qorri_di committed
2238
                                                            // value={Number(String(tableMeta.rowData[21]).substr(0, String(tableMeta.rowData[21]).length - 1)).toFixed(1)}
2239 2240
                                                            />
                                                        }
rifkaki's avatar
rifkaki committed
2241
                                                    />
2242 2243 2244 2245 2246 2247 2248 2249 2250 2251 2252 2253 2254 2255 2256 2257 2258 2259 2260 2261 2262 2263 2264 2265 2266 2267 2268 2269 2270 2271 2272 2273 2274 2275
                                                </div>
                                            </div>
                                            <div className="col-4">
                                                <div style={{ flex: 1 }}>
                                                    <FormControlLabel
                                                        style={{ margin: 0 }}
                                                        value={val}
                                                        control={
                                                            <NumberFormat
                                                                thousandSeparator={true}
                                                                style={{ color: (tableMeta.rowData[2] !== 0 && tableMeta.rowData[2] !== 1) && !tableMeta.rowData[45] ? '#5198ea' : '#000000de', fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
                                                                type="text"
                                                                placeholder=""
                                                                disabled={true}
                                                                value={(tableMeta.rowData[42])}
                                                            />
                                                        }
                                                    />
                                                </div>
                                            </div>
                                            <div className="col-5">
                                                <div style={{ flex: 1 }}>
                                                    <FormControlLabel
                                                        style={{ margin: 0 }}
                                                        value={val}
                                                        control={
                                                            <NumberFormat
                                                                thousandSeparator={true}
                                                                style={{ color: (tableMeta.rowData[2] !== 0 && tableMeta.rowData[2] !== 1) && !tableMeta.rowData[45] ? '#5198ea' : '#000000de', fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
                                                                type="text"
                                                                placeholder=""
                                                                disabled={true}
                                                                suffix={"%"}
                                                                value={tableMeta.rowData[43]}
qorri_di's avatar
qorri_di committed
2276
                                                            // value={Number(String(tableMeta.rowData[23]).substr(0, String(tableMeta.rowData[23]).length - 1)).toFixed(1)}
2277 2278 2279 2280
                                                            />
                                                        }
                                                    />
                                                </div>
rifkaki's avatar
rifkaki committed
2281
                                            </div>
r.kurnia's avatar
r.kurnia committed
2282
                                        </div>
2283
                                    </div>
r.kurnia's avatar
r.kurnia committed
2284 2285 2286 2287
                                </div>
                            </div>
                        )
                    }
Riri Novita's avatar
Riri Novita committed
2288
                }
2289 2290 2291 2292 2293 2294 2295 2296 2297 2298 2299 2300 2301 2302 2303 2304 2305 2306 2307 2308 2309 2310 2311 2312 2313 2314 2315 2316 2317 2318 2319 2320 2321 2322 2323 2324 2325 2326 2327 2328 2329 2330 2331 2332 2333 2334 2335 2336 2337 2338 2339 2340 2341 2342 2343 2344 2345 2346 2347 2348 2349 2350 2351 2352 2353 2354
            },
            {
                name: "",
                options: {
                    display: false
                }
            },
            {
                name: "",
                options: {
                    display: false
                }
            },
            {
                name: "",
                options: {
                    display: false
                }
            },
            {
                name: "",
                options: {
                    display: false
                }
            },
            {
                name: "",
                options: {
                    display: false
                }
            },
            {
                name: "",
                options: {
                    display: false
                }
            },
            {
                name: "",
                options: {
                    display: false
                }
            },
            {
                name: "",
                options: {
                    display: false
                }
            },
            {
                name: "",
                options: {
                    display: false
                }
            },
            {
                name: "",
                options: {
                    display: false
                }
            },
            {
                name: "",
                options: {
                    display: false
                }
2355 2356 2357 2358 2359 2360 2361 2362 2363 2364 2365 2366 2367
            },
            {
                name: "",
                options: {
                    display: false
                }
            },
            {
                name: "",
                options: {
                    display: false
                }
            }, {
2368 2369 2370 2371 2372 2373 2374 2375 2376 2377
                name: `YTD ${Number(this.props.periode)} (OPTIONAL)`,
                options: {
                    customHeadRender: (columnMeta) => (
                        <th style={{ ...style2, backgroundColor: '#1c71b8', top: 0, color: '#fff', fontSize: 13, fontWeight: 1, width: 150, borderRight: "1px solid rgb(255, 255, 255)" }} >
                            <div style={{ borderBottom: "1px #fff solid", textAlign: 'center', fontSize: 12, fontWeight: 'bold', padding: 5 }}>{columnMeta.name}</div>
                            <div className="column-5" style={{ ...style2, display: 'flex', backgroundColor: '#1c71b8', color: '#fff', fontSize: 12, fontWeight: 'bold', position: "sticky" }}>
                                <div className="column-1" style={{ placeSelf: 'center', textAlign: 'center', border: '1px #fff solid', backgroundColor: '#07a7d0', height: 65, width: 685 }}>
                                    <div style={{ borderBottom: '1px #fff solid', backgroundColor: '#1c71b8', justifyContent: 'center', display: 'flex', alignItems: 'center', color: 'white', height: 25 }}>
                                        <span>{"Cash Flow"}</span>
                                    </div>
2378
                                    <div className="grid grid-4x" style={{ height: 25 }}>
2379 2380 2381 2382 2383 2384 2385 2386 2387 2388 2389 2390 2391 2392 2393 2394 2395 2396
                                        <div className="column-1" style={{ borderRight: '1px #fff solid', justifyContent: 'center', display: 'flex', alignItems: 'center', backgroundColor: '#07a7d0', height: 40 }}>
                                            <span>{"CFO"}</span>
                                        </div>
                                        <div className="column-2" style={{ borderLeft: '1px #fff solid', justifyContent: 'center', display: 'flex', alignItems: 'center', backgroundColor: '#07a7d0', height: 40 }}>
                                            <span>{"CFI"}</span>
                                        </div>
                                        <div className="column-3" style={{ borderLeft: '1px #fff solid', justifyContent: 'center', display: 'flex', alignItems: 'center', backgroundColor: '#07a7d0', height: 40 }}>
                                            <span>{"CFF"}</span>
                                        </div>
                                        <div className="column-4" style={{ borderLeft: '1px #fff solid', justifyContent: 'center', display: 'flex', alignItems: 'center', backgroundColor: '#07a7d0', height: 40 }}>
                                            <span>{"Net CF"}</span>
                                        </div>
                                    </div>
                                </div>
                                <div className="column-2" style={{ placeSelf: 'center', textAlign: 'center', border: '1px #fff solid', backgroundColor: '#37b5e6', height: 65, width: 685 }}>
                                    <div style={{ borderBottom: '1px #fff solid', backgroundColor: '#37b5e6', justifyContent: 'center', display: 'flex', alignItems: 'center', color: 'white', height: 25, color: '#000000c4' }}>
                                        <span>{"OS Bank Loan"}</span>
                                    </div>
2397
                                    <div className="grid grid-4x" style={{ height: 25 }}>
2398 2399 2400 2401 2402 2403 2404 2405 2406 2407 2408 2409 2410 2411 2412 2413 2414 2415 2416 2417 2418
                                        <div className="column-1" style={{ borderRight: '1px #fff solid', justifyContent: 'center', display: 'flex', alignItems: 'center', backgroundColor: '#07a7d0', height: 40 }}>
                                            <span>{"KI"}</span>
                                        </div>
                                        <div className="column-2" style={{ borderLeft: '1px #fff solid', justifyContent: 'center', display: 'flex', alignItems: 'center', backgroundColor: '#07a7d0', height: 40 }}>
                                            <span>{"WC"}</span>
                                        </div>
                                        <div className="column-3" style={{ borderLeft: '1px #fff solid', justifyContent: 'center', display: 'flex', alignItems: 'center', backgroundColor: '#07a7d0', height: 40 }}>
                                            <span>{"Others"}</span>
                                        </div>
                                        <div className="column-4" style={{ borderLeft: '1px #fff solid', justifyContent: 'center', display: 'flex', alignItems: 'center', backgroundColor: '#07a7d0', height: 40 }}>
                                            <span>{"Total"}</span>
                                        </div>
                                    </div>
                                </div>
                                <div className="column-3" style={{ placeSelf: 'center', borderLeft: '1px #fff solid', justifyContent: 'center', display: 'flex', width: 200, alignItems: 'center', backgroundColor: '#07a7d0', height: 65 }}>
                                    <span>{"OS SHL"}</span>
                                </div>
                                <div className="column-4" style={{ placeSelf: 'center', textAlign: 'center', border: '1px #fff solid', backgroundColor: '#37b5e6', height: 65, width: 685 }}>
                                    <div style={{ borderBottom: '1px #fff solid', backgroundColor: '#37b5e6', justifyContent: 'center', display: 'flex', alignItems: 'center', color: 'white', height: 25, color: '#000000c4' }}>
                                        <span>{"Balance Sheet"}</span>
                                    </div>
2419
                                    <div className="grid grid-4x" style={{ height: 25 }}>
2420 2421 2422 2423 2424 2425 2426 2427 2428
                                        <div className="column-1" style={{ borderRight: '1px #fff solid', justifyContent: 'center', display: 'flex', alignItems: 'center', backgroundColor: '#07a7d0', height: 40 }}>
                                            <span>{"Cash & Bank"}</span>
                                        </div>
                                        <div className="column-2" style={{ borderLeft: '1px #fff solid', justifyContent: 'center', display: 'flex', alignItems: 'center', backgroundColor: '#07a7d0', height: 40 }}>
                                            <span>{"CA"}</span>
                                        </div>
                                        <div className="column-3" style={{ borderLeft: '1px #fff solid', justifyContent: 'center', display: 'flex', alignItems: 'center', backgroundColor: '#07a7d0', height: 40 }}>
                                            <span>{"CL"}</span>
                                        </div>
Riri Novita's avatar
Riri Novita committed
2429
                                        <div className="column-4" style={{ borderLeft: '1px #fff solid', justifyContent: 'center', display: 'flex', alignItems: 'center', backgroundColor: '#07a7d0', height: 40 }}>
2430 2431 2432 2433 2434 2435 2436 2437
                                            <span>{"Equity"}</span>
                                        </div>
                                    </div>
                                </div>
                                <div className="column-5" style={{ placeSelf: 'center', textAlign: 'center', border: '1px #fff solid', backgroundColor: '#37b5e6', height: 65, width: 887 }}>
                                    <div style={{ borderBottom: '1px #fff solid', backgroundColor: '#37b5e6', justifyContent: 'center', display: 'flex', alignItems: 'center', color: 'white', height: 25, color: '#000000c4' }}>
                                        <span>{"Financial Ratio"}</span>
                                    </div>
2438
                                    <div className="grid grid-2x" style={{ height: 25 }}>
2439 2440 2441 2442 2443 2444 2445 2446 2447 2448
                                        <div className="column-1 grid grid-4x" style={{ borderRight: '1px #fff solid', justifyContent: 'center', display: 'flex', alignItems: 'center', backgroundColor: '#07a7d0' }}>
                                            <div className="column-1" style={{ borderRight: '1px #fff solid', justifyContent: 'center', display: 'flex', alignItems: 'center', backgroundColor: '#07a7d0', height: 40 }}>
                                                <span>{"CR"}</span>
                                            </div>
                                            <div className="column-2" style={{ borderRight: '1px #fff solid', justifyContent: 'center', display: 'flex', alignItems: 'center', backgroundColor: '#07a7d0', height: 40 }}>
                                                <span>{"DER"}</span>
                                            </div>
                                            <div className="column-3" style={{ borderRight: '1px #fff solid', justifyContent: 'center', display: 'flex', alignItems: 'center', backgroundColor: '#07a7d0', height: 40 }}>
                                                <span>{"Debt to EBITDA"}</span>
                                            </div>
Riri Novita's avatar
Riri Novita committed
2449
                                            <div className="column-4" style={{ width: 125, justifyContent: 'center', display: 'flex', alignItems: 'center', backgroundColor: '#07a7d0', height: 40 }}>
qorri_di's avatar
qorri_di committed
2450
                                                <span>{"EBITDA to Interest"}</span> 
2451 2452 2453 2454 2455 2456 2457 2458 2459 2460 2461 2462 2463 2464 2465 2466 2467 2468 2469 2470 2471 2472 2473 2474 2475
                                            </div>
                                        </div>
                                        <div className="column-2 grid grid-4x" style={{ justifyContent: 'center', display: 'flex', alignItems: 'center', backgroundColor: '#07a7d0' }}>
                                            <div className="column-1" style={{ borderRight: '1px #fff solid', justifyContent: 'center', display: 'flex', alignItems: 'center', backgroundColor: '#07a7d0', height: 40 }}>
                                                <span>{"AR Days"}</span>
                                            </div>
                                            <div className="column-2" style={{ borderRight: '1px #fff solid', justifyContent: 'center', display: 'flex', alignItems: 'center', backgroundColor: '#07a7d0', height: 40 }}>
                                                <span>{"Inv Days"}</span>
                                            </div>
                                            <div className="column-3" style={{ borderRight: '1px #fff solid', justifyContent: 'center', display: 'flex', alignItems: 'center', backgroundColor: '#07a7d0', height: 40 }}>
                                                <span>{"AP Days"}</span>
                                            </div>
                                            <div className="column-4" style={{ borderRight: '1px #fff solid', justifyContent: 'center', display: 'flex', alignItems: 'center', backgroundColor: '#07a7d0', height: 40 }}>
                                                <span>{"CCC"}</span>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </th>
                    ),
                    setCellProps: () => ({ style2 }),
                    customBodyRender: (val, tableMeta, updateValue) => {
                        return (
                            <div>
2476 2477
                                <div style={{ display: 'flex', justifyContent: 'space-between' }}>
                                    <div style={{ display: 'flex', width: 640, justifyContent: 'space-between' }}>
Riri Novita's avatar
Riri Novita committed
2478
                                        <div>
2479 2480 2481 2482 2483 2484
                                            <FormControlLabel
                                                style={{ margin: 0 }}
                                                value={val}
                                                control={
                                                    <NumberFormat
                                                        thousandSeparator={true}
2485
                                                        style={{ color: (tableMeta.rowData[2] !== 0 && tableMeta.rowData[2] !== 1) && !tableMeta.rowData[37] ? '#5198ea' : '#000000de', fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
2486 2487 2488
                                                        type="text"
                                                        placeholder=""
                                                        disabled={true}
2489
                                                        value={(tableMeta.rowData[46])}
2490 2491 2492 2493
                                                    />
                                                }
                                            />
                                        </div>
Riri Novita's avatar
Riri Novita committed
2494
                                        <div>
2495 2496 2497 2498 2499 2500
                                            <FormControlLabel
                                                style={{ margin: 0 }}
                                                value={val}
                                                control={
                                                    <NumberFormat
                                                        thousandSeparator={true}
2501
                                                        style={{ color: (tableMeta.rowData[2] !== 0 && tableMeta.rowData[2] !== 1) && !tableMeta.rowData[37] ? '#5198ea' : '#000000de', fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
2502 2503 2504
                                                        type="text"
                                                        placeholder=""
                                                        disabled={true}
2505
                                                        value={(tableMeta.rowData[47])}
2506 2507 2508 2509
                                                    />
                                                }
                                            />
                                        </div>
Riri Novita's avatar
Riri Novita committed
2510
                                        <div>
2511 2512 2513 2514 2515 2516
                                            <FormControlLabel
                                                style={{ margin: 0 }}
                                                value={val}
                                                control={
                                                    <NumberFormat
                                                        thousandSeparator={true}
2517
                                                        style={{ color: (tableMeta.rowData[2] !== 0 && tableMeta.rowData[2] !== 1) && !tableMeta.rowData[37] ? '#5198ea' : '#000000de', fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
2518 2519 2520
                                                        type="text"
                                                        placeholder=""
                                                        disabled={true}
2521
                                                        value={(tableMeta.rowData[48])}
2522 2523 2524 2525
                                                    />
                                                }
                                            />
                                        </div>
Riri Novita's avatar
Riri Novita committed
2526
                                        <div>
2527 2528 2529 2530 2531 2532
                                            <FormControlLabel
                                                style={{ margin: 0 }}
                                                value={val}
                                                control={
                                                    <NumberFormat
                                                        thousandSeparator={true}
2533
                                                        style={{ color: (tableMeta.rowData[2] !== 0 && tableMeta.rowData[2] !== 1) && !tableMeta.rowData[37] ? '#5198ea' : '#000000de', fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
2534 2535 2536
                                                        type="text"
                                                        placeholder=""
                                                        disabled={true}
2537
                                                        value={(tableMeta.rowData[49])}
2538 2539 2540 2541 2542
                                                    />
                                                }
                                            />
                                        </div>
                                    </div>
2543
                                    <div style={{ display: 'flex', width: 640, justifyContent: 'space-between' }}>
Riri Novita's avatar
Riri Novita committed
2544
                                        <div>
2545 2546 2547 2548 2549 2550
                                            <FormControlLabel
                                                style={{ margin: 0 }}
                                                value={val}
                                                control={
                                                    <NumberFormat
                                                        thousandSeparator={true}
2551
                                                        style={{ color: (tableMeta.rowData[2] !== 0 && tableMeta.rowData[2] !== 1) && !tableMeta.rowData[37] ? '#5198ea' : '#000000de', fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
2552 2553 2554
                                                        type="text"
                                                        placeholder=""
                                                        disabled={true}
2555
                                                        value={(tableMeta.rowData[50])}
2556 2557 2558 2559
                                                    />
                                                }
                                            />
                                        </div>
Riri Novita's avatar
Riri Novita committed
2560
                                        <div >
2561 2562 2563 2564 2565 2566
                                            <FormControlLabel
                                                style={{ margin: 0 }}
                                                value={val}
                                                control={
                                                    <NumberFormat
                                                        thousandSeparator={true}
2567
                                                        style={{ color: (tableMeta.rowData[2] !== 0 && tableMeta.rowData[2] !== 1) && !tableMeta.rowData[37] ? '#5198ea' : '#000000de', fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
2568 2569 2570
                                                        type="text"
                                                        placeholder=""
                                                        disabled={true}
2571
                                                        value={(tableMeta.rowData[51])}
2572 2573 2574 2575
                                                    />
                                                }
                                            />
                                        </div>
Riri Novita's avatar
Riri Novita committed
2576
                                        <div >
2577 2578 2579 2580 2581 2582
                                            <FormControlLabel
                                                style={{ margin: 0 }}
                                                value={val}
                                                control={
                                                    <NumberFormat
                                                        thousandSeparator={true}
2583
                                                        style={{ color: (tableMeta.rowData[2] !== 0 && tableMeta.rowData[2] !== 1) && !tableMeta.rowData[37] ? '#5198ea' : '#000000de', fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
2584 2585 2586
                                                        type="text"
                                                        placeholder=""
                                                        disabled={true}
2587
                                                        value={(tableMeta.rowData[52])}
2588 2589 2590 2591
                                                    />
                                                }
                                            />
                                        </div>
Riri Novita's avatar
Riri Novita committed
2592
                                        <div >
2593 2594 2595 2596 2597 2598
                                            <FormControlLabel
                                                style={{ margin: 0 }}
                                                value={val}
                                                control={
                                                    <NumberFormat
                                                        thousandSeparator={true}
2599
                                                        style={{ color: (tableMeta.rowData[2] !== 0 && tableMeta.rowData[2] !== 1) && !tableMeta.rowData[37] ? '#5198ea' : '#000000de', fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
2600 2601 2602
                                                        type="text"
                                                        placeholder=""
                                                        disabled={true}
2603
                                                        value={(tableMeta.rowData[53])}
2604 2605 2606 2607 2608 2609
                                                    />
                                                }
                                            />
                                        </div>
                                    </div>
                                    <div style={{ display: 'grid', width: 150 }}>
Riri Novita's avatar
Riri Novita committed
2610
                                        <div >
2611 2612 2613 2614 2615 2616
                                            <FormControlLabel
                                                style={{ margin: 0 }}
                                                value={val}
                                                control={
                                                    <NumberFormat
                                                        thousandSeparator={true}
2617
                                                        style={{ color: (tableMeta.rowData[2] !== 0 && tableMeta.rowData[2] !== 1) && !tableMeta.rowData[37] ? '#5198ea' : '#000000de', fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
2618 2619 2620
                                                        type="text"
                                                        placeholder=""
                                                        disabled={true}
2621
                                                        value={(tableMeta.rowData[54])}
2622 2623 2624 2625 2626
                                                    />
                                                }
                                            />
                                        </div>
                                    </div>
2627
                                    <div style={{ display: 'flex', width: 640, justifyContent: 'space-between' }}>
Riri Novita's avatar
Riri Novita committed
2628
                                        <div >
2629 2630 2631 2632 2633 2634
                                            <FormControlLabel
                                                style={{ margin: 0 }}
                                                value={val}
                                                control={
                                                    <NumberFormat
                                                        thousandSeparator={true}
2635
                                                        style={{ color: (tableMeta.rowData[2] !== 0 && tableMeta.rowData[2] !== 1) && !tableMeta.rowData[37] ? '#5198ea' : '#000000de', fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
2636 2637 2638
                                                        type="text"
                                                        placeholder=""
                                                        disabled={true}
2639
                                                        value={(tableMeta.rowData[55])}
2640 2641 2642 2643
                                                    />
                                                }
                                            />
                                        </div>
Riri Novita's avatar
Riri Novita committed
2644
                                        <div >
2645 2646 2647 2648 2649 2650
                                            <FormControlLabel
                                                style={{ margin: 0 }}
                                                value={val}
                                                control={
                                                    <NumberFormat
                                                        thousandSeparator={true}
2651
                                                        style={{ color: (tableMeta.rowData[2] !== 0 && tableMeta.rowData[2] !== 1) && !tableMeta.rowData[37] ? '#5198ea' : '#000000de', fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
2652 2653 2654
                                                        type="text"
                                                        placeholder=""
                                                        disabled={true}
2655
                                                        value={(tableMeta.rowData[56])}
2656 2657 2658 2659
                                                    />
                                                }
                                            />
                                        </div>
Riri Novita's avatar
Riri Novita committed
2660
                                        <div >
2661 2662 2663 2664 2665 2666
                                            <FormControlLabel
                                                style={{ margin: 0 }}
                                                value={val}
                                                control={
                                                    <NumberFormat
                                                        thousandSeparator={true}
2667
                                                        style={{ color: (tableMeta.rowData[2] !== 0 && tableMeta.rowData[2] !== 1) && !tableMeta.rowData[37] ? '#5198ea' : '#000000de', fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
2668 2669 2670
                                                        type="text"
                                                        placeholder=""
                                                        disabled={true}
2671
                                                        value={(tableMeta.rowData[57])}
2672 2673 2674 2675
                                                    />
                                                }
                                            />
                                        </div>
Riri Novita's avatar
Riri Novita committed
2676
                                        <div >
2677 2678 2679 2680 2681 2682
                                            <FormControlLabel
                                                style={{ margin: 0 }}
                                                value={val}
                                                control={
                                                    <NumberFormat
                                                        thousandSeparator={true}
2683
                                                        style={{ color: (tableMeta.rowData[2] !== 0 && tableMeta.rowData[2] !== 1) && !tableMeta.rowData[37] ? '#5198ea' : '#000000de', fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
2684 2685 2686
                                                        type="text"
                                                        placeholder=""
                                                        disabled={true}
2687
                                                        value={(tableMeta.rowData[58])}
2688 2689 2690 2691 2692
                                                    />
                                                }
                                            />
                                        </div>
                                    </div>
2693
                                    <div style={{ display: 'flex', width: 860, justifyContent: 'space-between' }}>
Riri Novita's avatar
Riri Novita committed
2694
                                        <div >
2695 2696 2697 2698 2699 2700
                                            <FormControlLabel
                                                style={{ margin: 0 }}
                                                value={val}
                                                control={
                                                    <NumberFormat
                                                        thousandSeparator={true}
2701
                                                        style={{ color: (tableMeta.rowData[2] !== 0 && tableMeta.rowData[2] !== 1) && !tableMeta.rowData[37] ? '#5198ea' : '#000000de', fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
2702 2703 2704
                                                        type="text"
                                                        placeholder=""
                                                        disabled={true}
2705
                                                        value={(tableMeta.rowData[59])}
2706 2707 2708 2709
                                                    />
                                                }
                                            />
                                        </div>
Riri Novita's avatar
Riri Novita committed
2710
                                        <div >
2711 2712 2713 2714 2715 2716
                                            <FormControlLabel
                                                style={{ margin: 0 }}
                                                value={val}
                                                control={
                                                    <NumberFormat
                                                        thousandSeparator={true}
2717
                                                        style={{ color: (tableMeta.rowData[2] !== 0 && tableMeta.rowData[2] !== 1) && !tableMeta.rowData[37] ? '#5198ea' : '#000000de', fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
2718 2719 2720
                                                        type="text"
                                                        placeholder=""
                                                        disabled={true}
2721
                                                        value={(tableMeta.rowData[60])}
2722 2723 2724 2725
                                                    />
                                                }
                                            />
                                        </div>
Riri Novita's avatar
Riri Novita committed
2726
                                        <div >
2727 2728 2729 2730 2731 2732
                                            <FormControlLabel
                                                style={{ margin: 0 }}
                                                value={val}
                                                control={
                                                    <NumberFormat
                                                        thousandSeparator={true}
2733
                                                        style={{ color: (tableMeta.rowData[2] !== 0 && tableMeta.rowData[2] !== 1) && !tableMeta.rowData[37] ? '#5198ea' : '#000000de', fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
2734 2735 2736
                                                        type="text"
                                                        placeholder=""
                                                        disabled={true}
2737
                                                        value={(tableMeta.rowData[61])}
2738 2739 2740 2741
                                                    />
                                                }
                                            />
                                        </div>
Riri Novita's avatar
Riri Novita committed
2742
                                        <div >
2743 2744 2745 2746 2747 2748
                                            <FormControlLabel
                                                style={{ margin: 0 }}
                                                value={val}
                                                control={
                                                    <NumberFormat
                                                        thousandSeparator={true}
2749
                                                        style={{ color: (tableMeta.rowData[2] !== 0 && tableMeta.rowData[2] !== 1) && !tableMeta.rowData[37] ? '#5198ea' : '#000000de', fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
2750 2751 2752
                                                        type="text"
                                                        placeholder=""
                                                        disabled={true}
2753
                                                        value={(tableMeta.rowData[62])}
2754 2755 2756 2757
                                                    />
                                                }
                                            />
                                        </div>
Riri Novita's avatar
Riri Novita committed
2758
                                        <div >
2759 2760 2761 2762 2763 2764
                                            <FormControlLabel
                                                style={{ margin: 0 }}
                                                value={val}
                                                control={
                                                    <NumberFormat
                                                        thousandSeparator={true}
2765
                                                        style={{ color: (tableMeta.rowData[2] !== 0 && tableMeta.rowData[2] !== 1) && !tableMeta.rowData[37] ? '#5198ea' : '#000000de', fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
2766 2767 2768
                                                        type="text"
                                                        placeholder=""
                                                        disabled={true}
2769
                                                        value={(tableMeta.rowData[63])}
2770 2771 2772 2773
                                                    />
                                                }
                                            />
                                        </div>
Riri Novita's avatar
Riri Novita committed
2774
                                        <div >
2775 2776 2777 2778 2779 2780
                                            <FormControlLabel
                                                style={{ margin: 0 }}
                                                value={val}
                                                control={
                                                    <NumberFormat
                                                        thousandSeparator={true}
2781
                                                        style={{ color: (tableMeta.rowData[2] !== 0 && tableMeta.rowData[2] !== 1) && !tableMeta.rowData[37] ? '#5198ea' : '#000000de', fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
2782 2783 2784
                                                        type="text"
                                                        placeholder=""
                                                        disabled={true}
2785
                                                        value={(tableMeta.rowData[64])}
2786 2787 2788 2789
                                                    />
                                                }
                                            />
                                        </div>
Riri Novita's avatar
Riri Novita committed
2790
                                        <div >
2791 2792 2793 2794 2795 2796
                                            <FormControlLabel
                                                style={{ margin: 0 }}
                                                value={val}
                                                control={
                                                    <NumberFormat
                                                        thousandSeparator={true}
2797
                                                        style={{ color: (tableMeta.rowData[2] !== 0 && tableMeta.rowData[2] !== 1) && !tableMeta.rowData[37] ? '#5198ea' : '#000000de', fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
2798 2799 2800
                                                        type="text"
                                                        placeholder=""
                                                        disabled={true}
2801
                                                        value={(tableMeta.rowData[65])}
2802 2803 2804 2805
                                                    />
                                                }
                                            />
                                        </div>
Riri Novita's avatar
Riri Novita committed
2806
                                        <div >
2807 2808 2809 2810 2811 2812
                                            <FormControlLabel
                                                style={{ margin: 0 }}
                                                value={val}
                                                control={
                                                    <NumberFormat
                                                        thousandSeparator={true}
2813
                                                        style={{ color: (tableMeta.rowData[2] !== 0 && tableMeta.rowData[2] !== 1) && !tableMeta.rowData[37] ? '#5198ea' : '#000000de', fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
2814 2815 2816
                                                        type="text"
                                                        placeholder=""
                                                        disabled={true}
2817
                                                        value={(tableMeta.rowData[66])}
2818 2819 2820 2821 2822 2823 2824 2825 2826 2827
                                                    />
                                                }
                                            />
                                        </div>
                                    </div>
                                </div>
                            </div>
                        )
                    }
                },
2828
            }, {
rifkaki's avatar
rifkaki committed
2829 2830 2831 2832
                name: "",
                options: {
                    display: false
                }
2833
            }, {
rifkaki's avatar
rifkaki committed
2834 2835 2836 2837
                name: "",
                options: {
                    display: false
                }
2838
            }, {
rifkaki's avatar
rifkaki committed
2839 2840 2841 2842
                name: "",
                options: {
                    display: false
                }
2843
            }, {
rifkaki's avatar
rifkaki committed
2844 2845 2846 2847
                name: "",
                options: {
                    display: false
                }
2848
            }, {
rifkaki's avatar
rifkaki committed
2849 2850 2851 2852
                name: "",
                options: {
                    display: false
                }
2853
            }, {
rifkaki's avatar
rifkaki committed
2854 2855 2856 2857
                name: "",
                options: {
                    display: false
                }
2858
            }, {
rifkaki's avatar
rifkaki committed
2859 2860 2861 2862
                name: "",
                options: {
                    display: false
                }
2863
            }, {
rifkaki's avatar
rifkaki committed
2864 2865 2866 2867
                name: "",
                options: {
                    display: false
                }
2868
            }, {
rifkaki's avatar
rifkaki committed
2869 2870 2871 2872
                name: "",
                options: {
                    display: false
                }
2873
            }, {
rifkaki's avatar
rifkaki committed
2874 2875 2876 2877
                name: "",
                options: {
                    display: false
                }
2878
            }, {
rifkaki's avatar
rifkaki committed
2879 2880 2881 2882
                name: "",
                options: {
                    display: false
                }
2883
            }, {
rifkaki's avatar
rifkaki committed
2884 2885 2886 2887
                name: "",
                options: {
                    display: false
                }
2888
            }, {
rifkaki's avatar
rifkaki committed
2889 2890 2891 2892
                name: "",
                options: {
                    display: false
                }
2893
            }, {
rifkaki's avatar
rifkaki committed
2894 2895 2896 2897
                name: "",
                options: {
                    display: false
                }
2898
            }, {
rifkaki's avatar
rifkaki committed
2899 2900 2901 2902
                name: "",
                options: {
                    display: false
                }
2903
            }, {
rifkaki's avatar
rifkaki committed
2904 2905 2906 2907
                name: "",
                options: {
                    display: false
                }
2908 2909
            }, {
                name: "",
Riri Novita's avatar
Riri Novita committed
2910
                options: {
2911 2912 2913 2914 2915 2916 2917 2918 2919 2920 2921 2922 2923 2924 2925 2926 2927 2928 2929 2930 2931 2932 2933 2934 2935 2936 2937 2938 2939 2940 2941 2942 2943 2944 2945 2946 2947 2948 2949 2950 2951 2952 2953 2954 2955 2956 2957
                    display: false
                }
            }, {
                name: "",
                options: {
                    display: false
                }
            }, {
                name: "",
                options: {
                    display: false
                }
            }, {
                name: "",
                options: {
                    display: false
                }
            }
        ]

        const columnHistorical = [
            {
                name: "",
                options: {
                    display: false
                }
            },
            {
                name: "",
                options: {
                    display: false
                }
            },
            {
                name: "",
                options: {
                    display: false
                }
            },
            {
                name: "Company",
                options: {
                    customHeadRender: (columnMeta) => (
                        <TableCell key={columnMeta.index} style={{ ...style, top: 0, zIndex: 102, backgroundColor: '#1c71b8', width: 300 }}>
                            <Typography style={{ color: 'white', fontSize: 12, fontWeight: 'bold', textAlign: 'left' }}>{columnMeta.name}</Typography>
                        </TableCell>
                    ),
2958 2959 2960 2961
                    setCellProps: () => ({ style }),
                    customBodyRender: (val, tableMeta) => {
                        return (
                            <div style={{ width: 300 }}>
rifkaki's avatar
rifkaki committed
2962 2963 2964 2965 2966 2967 2968 2969
                                {
                                    tableMeta.rowData[2] == 0 ?
                                        <span style={{ fontSize: 12, fontWeight: 'bold' }}>{String(val).toUpperCase()}</span>
                                        :
                                        <div style={{ paddingLeft: 20 * Number(tableMeta.rowData[2]) }}>
                                            <span style={{ fontSize: 12 }}>{val}</span>
                                        </div>
                                }
2970 2971 2972 2973 2974 2975 2976 2977
                            </div>
                        )
                    }
                }
            }, {
                name: `Revenue`,
                options: {
                    customHeadRender: (columnMeta) => (
2978
                        <th style={{ ...style2, top: 0, backgroundColor: '#1c71b8', color: '#fff', fontSize: 13, fontWeight: 1, width: 150, borderRight: "1px solid rgb(255, 255, 255)" }} >
2979
                            <div style={{ borderBottom: "1px #fff solid", textAlign: 'center', fontSize: 12, fontWeight: 'bold', padding: 5 }}>{columnMeta.name}</div>
rifkaki's avatar
rifkaki committed
2980 2981
                            <div className="grid grid-2x" style={{ ...style2, backgroundColor: '#1c71b8', color: '#fff', fontSize: 12, fontWeight: 'bold', position: "sticky" }}>
                                <div className="column-1 grid grid-5x" style={{ placeSelf: 'center', textAlign: 'center' }}>
2982 2983
                                    <div className="column-1" style={{ placeSelf: 'center', textAlign: 'center', padding: 5, borderRight: "1px #fff solid" }}>
                                        <span>{Number(this.props.periode) - 10}</span>
rifkaki's avatar
rifkaki committed
2984
                                    </div>
2985 2986 2987 2988 2989 2990 2991 2992
                                    <div className="column-2" style={{ placeSelf: 'center', textAlign: 'center', padding: 5, borderRight: "1px #fff solid" }}>
                                        <span>{Number(this.props.periode) - 9}</span>
                                    </div>
                                    <div className="column-3" style={{ placeSelf: 'center', textAlign: 'center', padding: 5, borderRight: "1px #fff solid" }}>
                                        <span>{Number(this.props.periode) - 8}</span>
                                    </div>
                                    <div className="column-4" style={{ placeSelf: 'center', textAlign: 'center', padding: 5, borderRight: "1px #fff solid" }}>
                                        <span>{Number(this.props.periode) - 7}</span>
2993
                                    </div>
2994 2995 2996 2997 2998 2999 3000 3001 3002 3003 3004 3005 3006 3007 3008 3009 3010 3011 3012 3013 3014
                                    <div className="column-5" style={{ placeSelf: 'center', textAlign: 'center', padding: 5, borderRight: "1px #fff solid" }}>
                                        <span>{Number(this.props.periode) - 6}</span>
                                    </div>
                                </div>
                                <div className="column-2 grid grid-5x" style={{ placeSelf: 'center', textAlign: 'center' }}>
                                    <div className="column-1" style={{ placeSelf: 'center', textAlign: 'center', padding: 5, borderRight: "1px #fff solid" }}>
                                        <span>{Number(this.props.periode) - 5}</span>
                                    </div>
                                    <div className="column-2" style={{ placeSelf: 'center', textAlign: 'center', padding: 5, borderRight: "1px #fff solid" }}>
                                        <span>{Number(this.props.periode) - 4}</span>
                                    </div>
                                    <div className="column-3" style={{ placeSelf: 'center', textAlign: 'center', padding: 5, borderRight: "1px #fff solid" }}>
                                        <span>{Number(this.props.periode) - 3}</span>
                                    </div>
                                    <div className="column-4" style={{ placeSelf: 'center', textAlign: 'center', padding: 5, borderRight: "1px #fff solid" }}>
                                        <span>{Number(this.props.periode) - 2}</span>
                                    </div>
                                    <div className="column-5" style={{ placeSelf: 'center', textAlign: 'center', padding: 5, borderRight: "1px #fff solid" }}>
                                        <span>{Number(this.props.periode) - 1}</span>
                                    </div>
                                </div>
3015 3016 3017 3018 3019 3020 3021
                            </div>
                        </th>
                    ),
                    setCellProps: () => ({ style2 }),
                    customBodyRender: (val, tableMeta, updateValue) => {
                        return (
                            <div>
rifkaki's avatar
rifkaki committed
3022
                                <div style={{ display: 'flex', justifyContent: 'space-between' }}>
3023
                                    <div style={{ display: 'flex', width: 640, justifyContent: 'space-between' }}>
rifkaki's avatar
rifkaki committed
3024
                                        {/* <div className="col-1"> */}
3025 3026 3027 3028 3029 3030 3031 3032 3033 3034 3035 3036 3037 3038 3039 3040
                                        <div style={{ flex: 1 }}>
                                            <FormControlLabel
                                                style={{ margin: 0 }}
                                                value={val}
                                                control={
                                                    <NumberFormat
                                                        thousandSeparator={true}
                                                        style={{ fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
                                                        type="text"
                                                        placeholder=""
                                                        disabled={true}
                                                        value={Number(tableMeta.rowData[4]).toFixed(1)}
                                                    />
                                                }
                                            />
                                        </div>
rifkaki's avatar
rifkaki committed
3041 3042
                                        {/* </div> */}
                                        {/* <div className="col-2"> */}
3043 3044 3045 3046 3047 3048 3049 3050 3051 3052 3053 3054 3055 3056 3057 3058
                                        <div style={{ flex: 1 }}>
                                            <FormControlLabel
                                                style={{ margin: 0 }}
                                                value={val}
                                                control={
                                                    <NumberFormat
                                                        thousandSeparator={true}
                                                        style={{ fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
                                                        type="text"
                                                        placeholder=""
                                                        disabled={true}
                                                        value={Number(tableMeta.rowData[5]).toFixed(1)}
                                                    />
                                                }
                                            />
                                        </div>
rifkaki's avatar
rifkaki committed
3059 3060
                                        {/* </div> */}
                                        {/* <div className="col-3"> */}
3061 3062 3063 3064 3065 3066 3067 3068 3069 3070 3071 3072 3073 3074 3075 3076
                                        <div style={{ flex: 1 }}>
                                            <FormControlLabel
                                                style={{ margin: 0 }}
                                                value={val}
                                                control={
                                                    <NumberFormat
                                                        thousandSeparator={true}
                                                        style={{ fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
                                                        type="text"
                                                        placeholder=""
                                                        disabled={true}
                                                        value={Number(tableMeta.rowData[6]).toFixed(1)}
                                                    />
                                                }
                                            />
                                        </div>
rifkaki's avatar
rifkaki committed
3077 3078
                                        {/* </div> */}
                                        {/* <div className="col-4"> */}
3079 3080 3081 3082 3083 3084 3085 3086 3087 3088 3089 3090 3091 3092 3093 3094
                                        <div style={{ flex: 1 }}>
                                            <FormControlLabel
                                                style={{ margin: 0 }}
                                                value={val}
                                                control={
                                                    <NumberFormat
                                                        thousandSeparator={true}
                                                        style={{ fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
                                                        type="text"
                                                        placeholder=""
                                                        disabled={true}
                                                        value={Number(tableMeta.rowData[7]).toFixed(1)}
                                                    />
                                                }
                                            />
                                        </div>
rifkaki's avatar
rifkaki committed
3095 3096
                                        {/* </div> */}
                                        {/* <div className="col-1"> */}
rifkaki's avatar
rifkaki committed
3097
                                        <div style={{ flex: 1 }}>
3098 3099 3100 3101 3102 3103 3104 3105 3106 3107 3108 3109 3110 3111 3112
                                            <FormControlLabel
                                                style={{ margin: 0 }}
                                                value={val}
                                                control={
                                                    <NumberFormat
                                                        thousandSeparator={true}
                                                        style={{ fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
                                                        type="text"
                                                        placeholder=""
                                                        disabled={true}
                                                        value={Number(tableMeta.rowData[8]).toFixed(1)}
                                                    />
                                                }
                                            />
                                        </div>
rifkaki's avatar
rifkaki committed
3113
                                        {/* </div> */}
rifkaki's avatar
rifkaki committed
3114
                                    </div>
3115
                                    <div style={{ display: 'flex', width: 640, justifyContent: 'space-between' }}>
rifkaki's avatar
rifkaki committed
3116
                                        {/* <div className="col-2"> */}
3117 3118 3119 3120 3121 3122 3123 3124 3125 3126 3127 3128 3129 3130 3131 3132
                                        <div style={{ flex: 1 }}>
                                            <FormControlLabel
                                                style={{ margin: 0 }}
                                                value={val}
                                                control={
                                                    <NumberFormat
                                                        thousandSeparator={true}
                                                        style={{ fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
                                                        type="text"
                                                        placeholder=""
                                                        disabled={true}
                                                        value={Number(tableMeta.rowData[9]).toFixed(1)}
                                                    />
                                                }
                                            />
                                        </div>
rifkaki's avatar
rifkaki committed
3133 3134
                                        {/* </div> */}
                                        {/* <div className="col-3"> */}
3135 3136 3137 3138 3139 3140 3141 3142 3143 3144 3145 3146 3147 3148 3149 3150
                                        <div style={{ flex: 1 }}>
                                            <FormControlLabel
                                                style={{ margin: 0 }}
                                                value={val}
                                                control={
                                                    <NumberFormat
                                                        thousandSeparator={true}
                                                        style={{ fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
                                                        type="text"
                                                        placeholder=""
                                                        disabled={true}
                                                        value={Number(tableMeta.rowData[10]).toFixed(1)}
                                                    />
                                                }
                                            />
                                        </div>
rifkaki's avatar
rifkaki committed
3151 3152
                                        {/* </div> */}
                                        {/* <div className="col-4"> */}
3153 3154 3155 3156 3157 3158 3159 3160 3161 3162 3163 3164 3165 3166 3167 3168
                                        <div style={{ flex: 1 }}>
                                            <FormControlLabel
                                                style={{ margin: 0 }}
                                                value={val}
                                                control={
                                                    <NumberFormat
                                                        thousandSeparator={true}
                                                        style={{ fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
                                                        type="text"
                                                        placeholder=""
                                                        disabled={true}
                                                        value={Number(tableMeta.rowData[11]).toFixed(1)}
                                                    />
                                                }
                                            />
                                        </div>
rifkaki's avatar
rifkaki committed
3169 3170
                                        {/* </div> */}
                                        {/* <div className="col-1"> */}
rifkaki's avatar
rifkaki committed
3171
                                        <div style={{ flex: 1 }}>
3172 3173 3174 3175 3176 3177 3178 3179 3180 3181 3182 3183 3184 3185 3186
                                            <FormControlLabel
                                                style={{ margin: 0 }}
                                                value={val}
                                                control={
                                                    <NumberFormat
                                                        thousandSeparator={true}
                                                        style={{ fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
                                                        type="text"
                                                        placeholder=""
                                                        disabled={true}
                                                        value={Number(tableMeta.rowData[12]).toFixed(1)}
                                                    />
                                                }
                                            />
                                        </div>
rifkaki's avatar
rifkaki committed
3187 3188
                                        {/* </div> */}
                                        {/* <div className="col-2"> */}
3189 3190 3191 3192 3193 3194 3195 3196 3197 3198 3199 3200 3201 3202 3203 3204
                                        <div style={{ flex: 1 }}>
                                            <FormControlLabel
                                                style={{ margin: 0 }}
                                                value={val}
                                                control={
                                                    <NumberFormat
                                                        thousandSeparator={true}
                                                        style={{ fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
                                                        type="text"
                                                        placeholder=""
                                                        disabled={true}
                                                        value={Number(tableMeta.rowData[13]).toFixed(1)}
                                                    />
                                                }
                                            />
                                        </div>
rifkaki's avatar
rifkaki committed
3205
                                        {/* </div> */}
3206 3207 3208 3209 3210 3211
                                    </div>
                                </div>
                            </div>
                        )
                    }
                }
3212
            },
rifkaki's avatar
rifkaki committed
3213 3214 3215 3216 3217
            {
                name: "",
                options: {
                    display: false
                }
3218
            },
rifkaki's avatar
rifkaki committed
3219 3220 3221 3222 3223
            {
                name: "",
                options: {
                    display: false
                }
3224
            },
rifkaki's avatar
rifkaki committed
3225 3226 3227 3228 3229
            {
                name: "",
                options: {
                    display: false
                }
3230
            },
rifkaki's avatar
rifkaki committed
3231 3232 3233 3234 3235
            {
                name: "",
                options: {
                    display: false
                }
3236
            },
rifkaki's avatar
rifkaki committed
3237 3238 3239 3240 3241
            {
                name: "",
                options: {
                    display: false
                }
3242
            },
rifkaki's avatar
rifkaki committed
3243 3244 3245 3246 3247
            {
                name: "",
                options: {
                    display: false
                }
3248
            },
rifkaki's avatar
rifkaki committed
3249 3250 3251 3252 3253
            {
                name: "",
                options: {
                    display: false
                }
3254
            },
rifkaki's avatar
rifkaki committed
3255 3256 3257 3258 3259
            {
                name: "",
                options: {
                    display: false
                }
3260
            },
rifkaki's avatar
rifkaki committed
3261 3262 3263 3264 3265
            {
                name: "",
                options: {
                    display: false
                }
3266
            },
rifkaki's avatar
rifkaki committed
3267 3268 3269 3270 3271
            {
                name: "",
                options: {
                    display: false
                }
3272 3273 3274 3275
            }, {
                name: `EBITDA`,
                options: {
                    customHeadRender: (columnMeta) => (
rifkaki's avatar
rifkaki committed
3276
                        <th style={{ ...style2, top: 0, backgroundColor: '#1c71b8', color: '#fff', fontSize: 13, fontWeight: 1, width: 150, borderRight: "1px solid rgb(255, 255, 255)" }} >
3277
                            <div style={{ borderBottom: "1px #fff solid", textAlign: 'center', fontSize: 12, fontWeight: 'bold', padding: 5 }}>{columnMeta.name}</div>
rifkaki's avatar
rifkaki committed
3278 3279
                            <div className="grid grid-2x" style={{ ...style2, backgroundColor: '#1c71b8', color: '#fff', fontSize: 12, fontWeight: 'bold', position: "sticky" }}>
                                <div className="column-1 grid grid-5x" style={{ placeSelf: 'center', textAlign: 'center' }}>
rifkaki's avatar
rifkaki committed
3280
                                    <div className="column-1" style={{ placeSelf: 'center', textAlign: 'center', padding: 5, borderRight: "1px #fff solid" }}>
3281
                                        <span>{Number(this.props.periode) - 10}</span>
3282
                                    </div>
rifkaki's avatar
rifkaki committed
3283
                                    <div className="column-2" style={{ placeSelf: 'center', textAlign: 'center', padding: 5, borderRight: "1px #fff solid" }}>
3284
                                        <span>{Number(this.props.periode) - 9}</span>
3285
                                    </div>
rifkaki's avatar
rifkaki committed
3286
                                    <div className="column-3" style={{ placeSelf: 'center', textAlign: 'center', padding: 5, borderRight: "1px #fff solid" }}>
3287
                                        <span>{Number(this.props.periode) - 8}</span>
rifkaki's avatar
rifkaki committed
3288 3289
                                    </div>
                                    <div className="column-4" style={{ placeSelf: 'center', textAlign: 'center', padding: 5, borderRight: "1px #fff solid" }}>
3290
                                        <span>{Number(this.props.periode) - 7}</span>
rifkaki's avatar
rifkaki committed
3291
                                    </div>
rifkaki's avatar
rifkaki committed
3292
                                    <div className="column-5" style={{ placeSelf: 'center', textAlign: 'center', padding: 5, borderRight: "1px #fff solid" }}>
3293
                                        <span>{Number(this.props.periode) - 6}</span>
rifkaki's avatar
rifkaki committed
3294
                                    </div>
rifkaki's avatar
rifkaki committed
3295 3296 3297
                                </div>
                                <div className="column-2 grid grid-5x" style={{ placeSelf: 'center', textAlign: 'center' }}>
                                    <div className="column-1" style={{ placeSelf: 'center', textAlign: 'center', padding: 5, borderRight: "1px #fff solid" }}>
3298
                                        <span>{Number(this.props.periode) - 5}</span>
rifkaki's avatar
rifkaki committed
3299
                                    </div>
rifkaki's avatar
rifkaki committed
3300
                                    <div className="column-2" style={{ placeSelf: 'center', textAlign: 'center', padding: 5, borderRight: "1px #fff solid" }}>
3301
                                        <span>{Number(this.props.periode) - 4}</span>
rifkaki's avatar
rifkaki committed
3302
                                    </div>
rifkaki's avatar
rifkaki committed
3303
                                    <div className="column-3" style={{ placeSelf: 'center', textAlign: 'center', padding: 5, borderRight: "1px #fff solid" }}>
3304
                                        <span>{Number(this.props.periode) - 3}</span>
rifkaki's avatar
rifkaki committed
3305
                                    </div>
rifkaki's avatar
rifkaki committed
3306
                                    <div className="column-4" style={{ placeSelf: 'center', textAlign: 'center', padding: 5, borderRight: "1px #fff solid" }}>
3307
                                        <span>{Number(this.props.periode) - 2}</span>
3308
                                    </div>
rifkaki's avatar
rifkaki committed
3309
                                    <div className="column-5" style={{ placeSelf: 'center', textAlign: 'center', padding: 5, borderRight: "1px #fff solid" }}>
3310
                                        <span>{Number(this.props.periode) - 1}</span>
rifkaki's avatar
rifkaki committed
3311 3312
                                    </div>
                                </div>
3313 3314 3315 3316 3317 3318 3319
                            </div>
                        </th>
                    ),
                    setCellProps: () => ({ style2 }),
                    customBodyRender: (val, tableMeta, updateValue) => {
                        return (
                            <div>
3320 3321
                                <div style={{ display: 'flex', justifyContent: 'space-between' }}>
                                    <div style={{ display: 'flex', width: 640, justifyContent: 'space-between' }}>
rifkaki's avatar
rifkaki committed
3322
                                        {/* <div className="col-1"> */}
3323 3324 3325 3326 3327 3328 3329 3330 3331 3332 3333 3334 3335 3336 3337 3338
                                        <div style={{ flex: 1 }}>
                                            <FormControlLabel
                                                style={{ margin: 0 }}
                                                value={val}
                                                control={
                                                    <NumberFormat
                                                        thousandSeparator={true}
                                                        style={{ fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
                                                        type="text"
                                                        placeholder=""
                                                        disabled={true}
                                                        value={Number(tableMeta.rowData[15]).toFixed(1)}
                                                    />
                                                }
                                            />
                                        </div>
rifkaki's avatar
rifkaki committed
3339 3340
                                        {/* </div> */}
                                        {/* <div className="col-2"> */}
3341 3342 3343 3344 3345 3346 3347 3348 3349 3350 3351 3352 3353 3354 3355 3356
                                        <div style={{ flex: 1 }}>
                                            <FormControlLabel
                                                style={{ margin: 0 }}
                                                value={val}
                                                control={
                                                    <NumberFormat
                                                        thousandSeparator={true}
                                                        style={{ fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
                                                        type="text"
                                                        placeholder=""
                                                        disabled={true}
                                                        value={Number(tableMeta.rowData[16]).toFixed(1)}
                                                    />
                                                }
                                            />
                                        </div>
rifkaki's avatar
rifkaki committed
3357 3358
                                        {/* </div> */}
                                        {/* <div className="col-3"> */}
3359 3360 3361 3362 3363 3364 3365 3366 3367 3368 3369 3370 3371 3372 3373 3374
                                        <div style={{ flex: 1 }}>
                                            <FormControlLabel
                                                style={{ margin: 0 }}
                                                value={val}
                                                control={
                                                    <NumberFormat
                                                        thousandSeparator={true}
                                                        style={{ fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
                                                        type="text"
                                                        placeholder=""
                                                        disabled={true}
                                                        value={Number(tableMeta.rowData[17]).toFixed(1)}
                                                    />
                                                }
                                            />
                                        </div>
rifkaki's avatar
rifkaki committed
3375 3376
                                        {/* </div> */}
                                        {/* <div className="col-4"> */}
3377 3378 3379 3380 3381 3382 3383 3384 3385 3386 3387 3388 3389 3390 3391 3392
                                        <div style={{ flex: 1 }}>
                                            <FormControlLabel
                                                style={{ margin: 0 }}
                                                value={val}
                                                control={
                                                    <NumberFormat
                                                        thousandSeparator={true}
                                                        style={{ fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
                                                        type="text"
                                                        placeholder=""
                                                        disabled={true}
                                                        value={Number(tableMeta.rowData[18]).toFixed(1)}
                                                    />
                                                }
                                            />
                                        </div>
rifkaki's avatar
rifkaki committed
3393 3394
                                        {/* </div> */}
                                        {/* <div className="col-1"> */}
rifkaki's avatar
rifkaki committed
3395
                                        <div style={{ flex: 1 }}>
3396 3397 3398 3399 3400 3401 3402 3403 3404 3405 3406 3407 3408 3409 3410 3411 3412 3413 3414 3415 3416 3417 3418 3419 3420 3421 3422 3423 3424 3425 3426 3427 3428 3429 3430
                                            <FormControlLabel
                                                style={{ margin: 0 }}
                                                value={val}
                                                control={
                                                    <NumberFormat
                                                        thousandSeparator={true}
                                                        style={{ fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
                                                        type="text"
                                                        placeholder=""
                                                        disabled={true}
                                                        value={Number(tableMeta.rowData[19]).toFixed(1)}
                                                    />
                                                }
                                            />
                                        </div>
                                        {/* </div> */}
                                    </div>
                                    <div style={{ display: 'flex', width: 640, justifyContent: 'space-between' }}>
                                        {/* <div className="col-2"> */}
                                        <div style={{ flex: 1 }}>
                                            <FormControlLabel
                                                style={{ margin: 0 }}
                                                value={val}
                                                control={
                                                    <NumberFormat
                                                        thousandSeparator={true}
                                                        style={{ fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
                                                        type="text"
                                                        placeholder=""
                                                        disabled={true}
                                                        value={Number(tableMeta.rowData[20]).toFixed(1)}
                                                    />
                                                }
                                            />
                                        </div>
rifkaki's avatar
rifkaki committed
3431 3432
                                        {/* </div> */}
                                        {/* <div className="col-3"> */}
3433 3434 3435 3436 3437 3438 3439 3440 3441 3442 3443 3444 3445 3446 3447 3448
                                        <div style={{ flex: 1 }}>
                                            <FormControlLabel
                                                style={{ margin: 0 }}
                                                value={val}
                                                control={
                                                    <NumberFormat
                                                        thousandSeparator={true}
                                                        style={{ fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
                                                        type="text"
                                                        placeholder=""
                                                        disabled={true}
                                                        value={Number(tableMeta.rowData[21]).toFixed(1)}
                                                    />
                                                }
                                            />
                                        </div>
rifkaki's avatar
rifkaki committed
3449 3450
                                        {/* </div> */}
                                        {/* <div className="col-4"> */}
3451 3452 3453 3454 3455 3456 3457 3458 3459 3460 3461 3462 3463 3464 3465 3466
                                        <div style={{ flex: 1 }}>
                                            <FormControlLabel
                                                style={{ margin: 0 }}
                                                value={val}
                                                control={
                                                    <NumberFormat
                                                        thousandSeparator={true}
                                                        style={{ fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
                                                        type="text"
                                                        placeholder=""
                                                        disabled={true}
                                                        value={Number(tableMeta.rowData[22]).toFixed(1)}
                                                    />
                                                }
                                            />
                                        </div>
rifkaki's avatar
rifkaki committed
3467 3468
                                        {/* </div> */}
                                        {/* <div className="col-1"> */}
rifkaki's avatar
rifkaki committed
3469
                                        <div style={{ flex: 1 }}>
3470 3471 3472 3473 3474 3475 3476 3477 3478 3479 3480 3481 3482 3483 3484
                                            <FormControlLabel
                                                style={{ margin: 0 }}
                                                value={val}
                                                control={
                                                    <NumberFormat
                                                        thousandSeparator={true}
                                                        style={{ fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
                                                        type="text"
                                                        placeholder=""
                                                        disabled={true}
                                                        value={Number(tableMeta.rowData[23]).toFixed(1)}
                                                    />
                                                }
                                            />
                                        </div>
rifkaki's avatar
rifkaki committed
3485 3486
                                        {/* </div> */}
                                        {/* <div className="col-2"> */}
3487 3488 3489 3490 3491 3492 3493 3494 3495 3496 3497 3498 3499 3500 3501 3502
                                        <div style={{ flex: 1 }}>
                                            <FormControlLabel
                                                style={{ margin: 0 }}
                                                value={val}
                                                control={
                                                    <NumberFormat
                                                        thousandSeparator={true}
                                                        style={{ fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
                                                        type="text"
                                                        placeholder=""
                                                        disabled={true}
                                                        value={Number(tableMeta.rowData[24]).toFixed(1)}
                                                    />
                                                }
                                            />
                                        </div>
rifkaki's avatar
rifkaki committed
3503
                                        {/* </div> */}
3504 3505 3506 3507 3508 3509
                                    </div>
                                </div>
                            </div>
                        )
                    }
                }
3510
            },
rifkaki's avatar
rifkaki committed
3511 3512 3513 3514 3515
            {
                name: "",
                options: {
                    display: false
                }
3516
            },
rifkaki's avatar
rifkaki committed
3517 3518 3519 3520 3521
            {
                name: "",
                options: {
                    display: false
                }
3522
            },
rifkaki's avatar
rifkaki committed
3523 3524 3525 3526 3527
            {
                name: "",
                options: {
                    display: false
                }
3528
            },
rifkaki's avatar
rifkaki committed
3529 3530 3531 3532 3533
            {
                name: "",
                options: {
                    display: false
                }
3534
            },
rifkaki's avatar
rifkaki committed
3535 3536 3537 3538 3539
            {
                name: "",
                options: {
                    display: false
                }
3540
            },
rifkaki's avatar
rifkaki committed
3541 3542 3543 3544 3545
            {
                name: "",
                options: {
                    display: false
                }
3546
            },
rifkaki's avatar
rifkaki committed
3547 3548 3549 3550 3551
            {
                name: "",
                options: {
                    display: false
                }
3552
            },
rifkaki's avatar
rifkaki committed
3553 3554 3555 3556 3557
            {
                name: "",
                options: {
                    display: false
                }
3558
            },
rifkaki's avatar
rifkaki committed
3559 3560 3561 3562 3563
            {
                name: "",
                options: {
                    display: false
                }
3564
            },
rifkaki's avatar
rifkaki committed
3565 3566 3567 3568 3569
            {
                name: "",
                options: {
                    display: false
                }
3570 3571 3572 3573
            }, {
                name: `TPAT`,
                options: {
                    customHeadRender: (columnMeta) => (
rifkaki's avatar
rifkaki committed
3574
                        <th style={{ ...style2, top: 0, backgroundColor: '#1c71b8', color: '#fff', fontSize: 13, fontWeight: 1, width: 150, borderRight: "1px solid rgb(255, 255, 255)" }} >
3575
                            <div style={{ borderBottom: "1px #fff solid", textAlign: 'center', fontSize: 12, fontWeight: 'bold', padding: 5 }}>{columnMeta.name}</div>
rifkaki's avatar
rifkaki committed
3576 3577
                            <div className="grid grid-2x" style={{ ...style2, backgroundColor: '#1c71b8', color: '#fff', fontSize: 12, fontWeight: 'bold', position: "sticky" }}>
                                <div className="column-1 grid grid-5x" style={{ placeSelf: 'center', textAlign: 'center' }}>
rifkaki's avatar
rifkaki committed
3578
                                    <div className="column-1" style={{ placeSelf: 'center', textAlign: 'center', padding: 5, borderRight: "1px #fff solid" }}>
3579
                                        <span>{Number(this.props.periode) - 10}</span>
3580
                                    </div>
rifkaki's avatar
rifkaki committed
3581
                                    <div className="column-2" style={{ placeSelf: 'center', textAlign: 'center', padding: 5, borderRight: "1px #fff solid" }}>
3582
                                        <span>{Number(this.props.periode) - 9}</span>
3583
                                    </div>
rifkaki's avatar
rifkaki committed
3584
                                    <div className="column-3" style={{ placeSelf: 'center', textAlign: 'center', padding: 5, borderRight: "1px #fff solid" }}>
3585
                                        <span>{Number(this.props.periode) - 8}</span>
rifkaki's avatar
rifkaki committed
3586 3587
                                    </div>
                                    <div className="column-4" style={{ placeSelf: 'center', textAlign: 'center', padding: 5, borderRight: "1px #fff solid" }}>
3588
                                        <span>{Number(this.props.periode) - 7}</span>
3589
                                    </div>
rifkaki's avatar
rifkaki committed
3590
                                    <div className="column-5" style={{ placeSelf: 'center', textAlign: 'center', padding: 5, borderRight: "1px #fff solid" }}>
3591
                                        <span>{Number(this.props.periode) - 6}</span>
rifkaki's avatar
rifkaki committed
3592
                                    </div>
rifkaki's avatar
rifkaki committed
3593 3594 3595
                                </div>
                                <div className="column-2 grid grid-5x" style={{ placeSelf: 'center', textAlign: 'center' }}>
                                    <div className="column-1" style={{ placeSelf: 'center', textAlign: 'center', padding: 5, borderRight: "1px #fff solid" }}>
3596
                                        <span>{Number(this.props.periode) - 5}</span>
rifkaki's avatar
rifkaki committed
3597
                                    </div>
rifkaki's avatar
rifkaki committed
3598
                                    <div className="column-2" style={{ placeSelf: 'center', textAlign: 'center', padding: 5, borderRight: "1px #fff solid" }}>
3599
                                        <span>{Number(this.props.periode) - 4}</span>
rifkaki's avatar
rifkaki committed
3600
                                    </div>
rifkaki's avatar
rifkaki committed
3601
                                    <div className="column-3" style={{ placeSelf: 'center', textAlign: 'center', padding: 5, borderRight: "1px #fff solid" }}>
3602
                                        <span>{Number(this.props.periode) - 3}</span>
rifkaki's avatar
rifkaki committed
3603
                                    </div>
rifkaki's avatar
rifkaki committed
3604
                                    <div className="column-4" style={{ placeSelf: 'center', textAlign: 'center', padding: 5, borderRight: "1px #fff solid" }}>
3605
                                        <span>{Number(this.props.periode) - 2}</span>
rifkaki's avatar
rifkaki committed
3606
                                    </div>
rifkaki's avatar
rifkaki committed
3607
                                    <div className="column-5" style={{ placeSelf: 'center', textAlign: 'center', padding: 5, borderRight: "1px #fff solid" }}>
3608
                                        <span>{Number(this.props.periode) - 1}</span>
rifkaki's avatar
rifkaki committed
3609 3610
                                    </div>
                                </div>
3611 3612 3613 3614 3615 3616 3617
                            </div>
                        </th>
                    ),
                    setCellProps: () => ({ style2 }),
                    customBodyRender: (val, tableMeta, updateValue) => {
                        return (
                            <div>
3618 3619
                                <div style={{ display: 'flex', justifyContent: 'space-between' }}>
                                    <div style={{ display: 'flex', width: 640, justifyContent: 'space-between' }}>
rifkaki's avatar
rifkaki committed
3620
                                        {/* <div className="col-1"> */}
3621 3622 3623 3624 3625 3626 3627 3628 3629 3630 3631 3632 3633 3634 3635 3636
                                        <div style={{ flex: 1 }}>
                                            <FormControlLabel
                                                style={{ margin: 0 }}
                                                value={val}
                                                control={
                                                    <NumberFormat
                                                        thousandSeparator={true}
                                                        style={{ fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
                                                        type="text"
                                                        placeholder=""
                                                        disabled={true}
                                                        value={Number(tableMeta.rowData[26]).toFixed(1)}
                                                    />
                                                }
                                            />
                                        </div>
rifkaki's avatar
rifkaki committed
3637 3638
                                        {/* </div> */}
                                        {/* <div className="col-2"> */}
3639 3640 3641 3642 3643 3644 3645 3646 3647 3648 3649 3650 3651 3652 3653 3654
                                        <div style={{ flex: 1 }}>
                                            <FormControlLabel
                                                style={{ margin: 0 }}
                                                value={val}
                                                control={
                                                    <NumberFormat
                                                        thousandSeparator={true}
                                                        style={{ fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
                                                        type="text"
                                                        placeholder=""
                                                        disabled={true}
                                                        value={Number(tableMeta.rowData[27]).toFixed(1)}
                                                    />
                                                }
                                            />
                                        </div>
rifkaki's avatar
rifkaki committed
3655 3656
                                        {/* </div> */}
                                        {/* <div className="col-3"> */}
3657 3658 3659 3660 3661 3662 3663 3664 3665 3666 3667 3668 3669 3670 3671 3672
                                        <div style={{ flex: 1 }}>
                                            <FormControlLabel
                                                style={{ margin: 0 }}
                                                value={val}
                                                control={
                                                    <NumberFormat
                                                        thousandSeparator={true}
                                                        style={{ fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
                                                        type="text"
                                                        placeholder=""
                                                        disabled={true}
                                                        value={Number(tableMeta.rowData[28]).toFixed(1)}
                                                    />
                                                }
                                            />
                                        </div>
rifkaki's avatar
rifkaki committed
3673 3674
                                        {/* </div> */}
                                        {/* <div className="col-4"> */}
3675 3676 3677 3678 3679 3680 3681 3682 3683 3684 3685 3686 3687 3688 3689 3690
                                        <div style={{ flex: 1 }}>
                                            <FormControlLabel
                                                style={{ margin: 0 }}
                                                value={val}
                                                control={
                                                    <NumberFormat
                                                        thousandSeparator={true}
                                                        style={{ fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
                                                        type="text"
                                                        placeholder=""
                                                        disabled={true}
                                                        value={Number(tableMeta.rowData[29]).toFixed(1)}
                                                    />
                                                }
                                            />
                                        </div>
rifkaki's avatar
rifkaki committed
3691 3692
                                        {/* </div> */}
                                        {/* <div className="col-1"> */}
rifkaki's avatar
rifkaki committed
3693
                                        <div style={{ flex: 1 }}>
3694 3695 3696 3697 3698 3699 3700 3701 3702 3703 3704 3705 3706 3707 3708
                                            <FormControlLabel
                                                style={{ margin: 0 }}
                                                value={val}
                                                control={
                                                    <NumberFormat
                                                        thousandSeparator={true}
                                                        style={{ fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
                                                        type="text"
                                                        placeholder=""
                                                        disabled={true}
                                                        value={Number(tableMeta.rowData[30]).toFixed(1)}
                                                    />
                                                }
                                            />
                                        </div>
rifkaki's avatar
rifkaki committed
3709
                                        {/* </div> */}
rifkaki's avatar
rifkaki committed
3710
                                    </div>
3711
                                    <div style={{ display: 'flex', width: 640, justifyContent: 'space-between' }}>
rifkaki's avatar
rifkaki committed
3712
                                        {/* <div className="col-2"> */}
3713 3714 3715 3716 3717 3718 3719 3720 3721 3722 3723 3724 3725 3726 3727 3728
                                        <div style={{ flex: 1 }}>
                                            <FormControlLabel
                                                style={{ margin: 0 }}
                                                value={val}
                                                control={
                                                    <NumberFormat
                                                        thousandSeparator={true}
                                                        style={{ fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
                                                        type="text"
                                                        placeholder=""
                                                        disabled={true}
                                                        value={Number(tableMeta.rowData[31]).toFixed(1)}
                                                    />
                                                }
                                            />
                                        </div>
rifkaki's avatar
rifkaki committed
3729 3730
                                        {/* </div> */}
                                        {/* <div className="col-3"> */}
3731 3732 3733 3734 3735 3736 3737 3738 3739 3740 3741 3742 3743 3744 3745 3746
                                        <div style={{ flex: 1 }}>
                                            <FormControlLabel
                                                style={{ margin: 0 }}
                                                value={val}
                                                control={
                                                    <NumberFormat
                                                        thousandSeparator={true}
                                                        style={{ fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
                                                        type="text"
                                                        placeholder=""
                                                        disabled={true}
                                                        value={Number(tableMeta.rowData[32]).toFixed(1)}
                                                    />
                                                }
                                            />
                                        </div>
rifkaki's avatar
rifkaki committed
3747 3748
                                        {/* </div> */}
                                        {/* <div className="col-4"> */}
3749 3750 3751 3752 3753 3754 3755 3756 3757 3758 3759 3760 3761 3762 3763 3764
                                        <div style={{ flex: 1 }}>
                                            <FormControlLabel
                                                style={{ margin: 0 }}
                                                value={val}
                                                control={
                                                    <NumberFormat
                                                        thousandSeparator={true}
                                                        style={{ fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
                                                        type="text"
                                                        placeholder=""
                                                        disabled={true}
                                                        value={Number(tableMeta.rowData[33]).toFixed(1)}
                                                    />
                                                }
                                            />
                                        </div>
rifkaki's avatar
rifkaki committed
3765 3766
                                        {/* </div> */}
                                        {/* <div className="col-1"> */}
rifkaki's avatar
rifkaki committed
3767
                                        <div style={{ flex: 1 }}>
3768 3769 3770 3771 3772 3773 3774 3775 3776 3777 3778 3779 3780 3781 3782
                                            <FormControlLabel
                                                style={{ margin: 0 }}
                                                value={val}
                                                control={
                                                    <NumberFormat
                                                        thousandSeparator={true}
                                                        style={{ fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
                                                        type="text"
                                                        placeholder=""
                                                        disabled={true}
                                                        value={Number(tableMeta.rowData[34]).toFixed(1)}
                                                    />
                                                }
                                            />
                                        </div>
rifkaki's avatar
rifkaki committed
3783 3784
                                        {/* </div> */}
                                        {/* <div className="col-2"> */}
3785 3786 3787 3788 3789 3790 3791 3792 3793 3794 3795 3796 3797 3798 3799 3800
                                        <div style={{ flex: 1 }}>
                                            <FormControlLabel
                                                style={{ margin: 0 }}
                                                value={val}
                                                control={
                                                    <NumberFormat
                                                        thousandSeparator={true}
                                                        style={{ fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
                                                        type="text"
                                                        placeholder=""
                                                        disabled={true}
                                                        value={Number(tableMeta.rowData[35]).toFixed(1)}
                                                    />
                                                }
                                            />
                                        </div>
rifkaki's avatar
rifkaki committed
3801
                                        {/* </div> */}
3802 3803 3804 3805 3806 3807
                                    </div>
                                </div>
                            </div>
                        )
                    }
                }
3808
            },
rifkaki's avatar
rifkaki committed
3809 3810 3811 3812 3813
            {
                name: "",
                options: {
                    display: false
                }
3814
            },
rifkaki's avatar
rifkaki committed
3815 3816 3817 3818 3819
            {
                name: "",
                options: {
                    display: false
                }
3820
            },
rifkaki's avatar
rifkaki committed
3821 3822 3823 3824 3825
            {
                name: "",
                options: {
                    display: false
                }
3826
            },
rifkaki's avatar
rifkaki committed
3827 3828 3829 3830 3831
            {
                name: "",
                options: {
                    display: false
                }
3832
            },
rifkaki's avatar
rifkaki committed
3833 3834 3835 3836 3837
            {
                name: "",
                options: {
                    display: false
                }
3838
            },
rifkaki's avatar
rifkaki committed
3839 3840 3841 3842 3843
            {
                name: "",
                options: {
                    display: false
                }
3844
            },
rifkaki's avatar
rifkaki committed
3845 3846 3847 3848 3849
            {
                name: "",
                options: {
                    display: false
                }
3850
            },
rifkaki's avatar
rifkaki committed
3851 3852 3853 3854 3855
            {
                name: "",
                options: {
                    display: false
                }
3856
            },
rifkaki's avatar
rifkaki committed
3857 3858 3859 3860 3861
            {
                name: "",
                options: {
                    display: false
                }
3862
            },
rifkaki's avatar
rifkaki committed
3863 3864 3865 3866 3867
            {
                name: "",
                options: {
                    display: false
                }
3868 3869 3870 3871
            }, {
                name: `NPAT`,
                options: {
                    customHeadRender: (columnMeta) => (
rifkaki's avatar
rifkaki committed
3872
                        <th style={{ ...style2, top: 0, backgroundColor: '#1c71b8', color: '#fff', fontSize: 13, fontWeight: 1, width: 150, borderRight: "1px solid rgb(255, 255, 255)" }} >
3873
                            <div style={{ borderBottom: "1px #fff solid", textAlign: 'center', fontSize: 12, fontWeight: 'bold', padding: 5 }}>{columnMeta.name}</div>
rifkaki's avatar
rifkaki committed
3874 3875
                            <div className="grid grid-2x" style={{ ...style2, backgroundColor: '#1c71b8', color: '#fff', fontSize: 12, fontWeight: 'bold', position: "sticky" }}>
                                <div className="column-1 grid grid-5x" style={{ placeSelf: 'center', textAlign: 'center' }}>
rifkaki's avatar
rifkaki committed
3876
                                    <div className="column-1" style={{ placeSelf: 'center', textAlign: 'center', padding: 5, borderRight: "1px #fff solid" }}>
3877
                                        <span>{Number(this.props.periode) - 10}</span>
3878
                                    </div>
rifkaki's avatar
rifkaki committed
3879
                                    <div className="column-2" style={{ placeSelf: 'center', textAlign: 'center', padding: 5, borderRight: "1px #fff solid" }}>
3880
                                        <span>{Number(this.props.periode) - 9}</span>
3881
                                    </div>
rifkaki's avatar
rifkaki committed
3882
                                    <div className="column-3" style={{ placeSelf: 'center', textAlign: 'center', padding: 5, borderRight: "1px #fff solid" }}>
3883
                                        <span>{Number(this.props.periode) - 8}</span>
rifkaki's avatar
rifkaki committed
3884 3885
                                    </div>
                                    <div className="column-4" style={{ placeSelf: 'center', textAlign: 'center', padding: 5, borderRight: "1px #fff solid" }}>
3886
                                        <span>{Number(this.props.periode) - 7}</span>
rifkaki's avatar
rifkaki committed
3887
                                    </div>
rifkaki's avatar
rifkaki committed
3888
                                    <div className="column-5" style={{ placeSelf: 'center', textAlign: 'center', padding: 5, borderRight: "1px #fff solid" }}>
3889
                                        <span>{Number(this.props.periode) - 6}</span>
rifkaki's avatar
rifkaki committed
3890
                                    </div>
rifkaki's avatar
rifkaki committed
3891 3892 3893
                                </div>
                                <div className="column-2 grid grid-5x" style={{ placeSelf: 'center', textAlign: 'center' }}>
                                    <div className="column-1" style={{ placeSelf: 'center', textAlign: 'center', padding: 5, borderRight: "1px #fff solid" }}>
3894
                                        <span>{Number(this.props.periode) - 5}</span>
rifkaki's avatar
rifkaki committed
3895
                                    </div>
rifkaki's avatar
rifkaki committed
3896
                                    <div className="column-2" style={{ placeSelf: 'center', textAlign: 'center', padding: 5, borderRight: "1px #fff solid" }}>
3897
                                        <span>{Number(this.props.periode) - 4}</span>
3898
                                    </div>
rifkaki's avatar
rifkaki committed
3899
                                    <div className="column-3" style={{ placeSelf: 'center', textAlign: 'center', padding: 5, borderRight: "1px #fff solid" }}>
3900
                                        <span>{Number(this.props.periode) - 3}</span>
rifkaki's avatar
rifkaki committed
3901
                                    </div>
rifkaki's avatar
rifkaki committed
3902
                                    <div className="column-4" style={{ placeSelf: 'center', textAlign: 'center', padding: 5, borderRight: "1px #fff solid" }}>
3903
                                        <span>{Number(this.props.periode) - 2}</span>
rifkaki's avatar
rifkaki committed
3904
                                    </div>
rifkaki's avatar
rifkaki committed
3905
                                    <div className="column-5" style={{ placeSelf: 'center', textAlign: 'center', padding: 5, borderRight: "1px #fff solid" }}>
3906
                                        <span>{Number(this.props.periode) - 1}</span>
rifkaki's avatar
rifkaki committed
3907 3908
                                    </div>
                                </div>
3909 3910 3911 3912 3913 3914 3915
                            </div>
                        </th>
                    ),
                    setCellProps: () => ({ style2 }),
                    customBodyRender: (val, tableMeta, updateValue) => {
                        return (
                            <div>
3916 3917
                                <div style={{ display: 'flex', justifyContent: 'space-between' }}>
                                    <div style={{ display: 'flex', width: 640, justifyContent: 'space-between' }}>
rifkaki's avatar
rifkaki committed
3918
                                        {/* <div className="col-1"> */}
3919 3920 3921 3922 3923 3924 3925 3926 3927 3928 3929 3930 3931 3932 3933 3934
                                        <div style={{ flex: 1 }}>
                                            <FormControlLabel
                                                style={{ margin: 0 }}
                                                value={val}
                                                control={
                                                    <NumberFormat
                                                        thousandSeparator={true}
                                                        style={{ fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
                                                        type="text"
                                                        placeholder=""
                                                        disabled={true}
                                                        value={Number(tableMeta.rowData[37]).toFixed(1)}
                                                    />
                                                }
                                            />
                                        </div>
rifkaki's avatar
rifkaki committed
3935 3936
                                        {/* </div> */}
                                        {/* <div className="col-2"> */}
3937 3938 3939 3940 3941 3942 3943 3944 3945 3946 3947 3948 3949 3950 3951 3952
                                        <div style={{ flex: 1 }}>
                                            <FormControlLabel
                                                style={{ margin: 0 }}
                                                value={val}
                                                control={
                                                    <NumberFormat
                                                        thousandSeparator={true}
                                                        style={{ fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
                                                        type="text"
                                                        placeholder=""
                                                        disabled={true}
                                                        value={Number(tableMeta.rowData[38]).toFixed(1)}
                                                    />
                                                }
                                            />
                                        </div>
rifkaki's avatar
rifkaki committed
3953 3954
                                        {/* </div> */}
                                        {/* <div className="col-3"> */}
3955 3956 3957 3958 3959 3960 3961 3962 3963 3964 3965 3966 3967 3968 3969 3970
                                        <div style={{ flex: 1 }}>
                                            <FormControlLabel
                                                style={{ margin: 0 }}
                                                value={val}
                                                control={
                                                    <NumberFormat
                                                        thousandSeparator={true}
                                                        style={{ fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
                                                        type="text"
                                                        placeholder=""
                                                        disabled={true}
                                                        value={Number(tableMeta.rowData[39]).toFixed(1)}
                                                    />
                                                }
                                            />
                                        </div>
rifkaki's avatar
rifkaki committed
3971 3972
                                        {/* </div> */}
                                        {/* <div className="col-4"> */}
3973 3974 3975 3976 3977 3978 3979 3980 3981 3982 3983 3984 3985 3986 3987 3988
                                        <div style={{ flex: 1 }}>
                                            <FormControlLabel
                                                style={{ margin: 0 }}
                                                value={val}
                                                control={
                                                    <NumberFormat
                                                        thousandSeparator={true}
                                                        style={{ fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
                                                        type="text"
                                                        placeholder=""
                                                        disabled={true}
                                                        value={Number(tableMeta.rowData[40]).toFixed(1)}
                                                    />
                                                }
                                            />
                                        </div>
rifkaki's avatar
rifkaki committed
3989 3990
                                        {/* </div> */}
                                        {/* <div className="col-1"> */}
rifkaki's avatar
rifkaki committed
3991
                                        <div style={{ flex: 1 }}>
3992 3993 3994 3995 3996 3997 3998 3999 4000 4001 4002 4003 4004 4005 4006
                                            <FormControlLabel
                                                style={{ margin: 0 }}
                                                value={val}
                                                control={
                                                    <NumberFormat
                                                        thousandSeparator={true}
                                                        style={{ fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
                                                        type="text"
                                                        placeholder=""
                                                        disabled={true}
                                                        value={Number(tableMeta.rowData[41]).toFixed(1)}
                                                    />
                                                }
                                            />
                                        </div>
rifkaki's avatar
rifkaki committed
4007
                                        {/* </div> */}
rifkaki's avatar
rifkaki committed
4008
                                    </div>
4009
                                    <div style={{ display: 'flex', width: 640, justifyContent: 'space-between' }}>
rifkaki's avatar
rifkaki committed
4010
                                        {/* <div className="col-2"> */}
4011 4012 4013 4014 4015 4016 4017 4018 4019 4020 4021 4022 4023 4024 4025 4026
                                        <div style={{ flex: 1 }}>
                                            <FormControlLabel
                                                style={{ margin: 0 }}
                                                value={val}
                                                control={
                                                    <NumberFormat
                                                        thousandSeparator={true}
                                                        style={{ fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
                                                        type="text"
                                                        placeholder=""
                                                        disabled={true}
                                                        value={Number(tableMeta.rowData[42]).toFixed(1)}
                                                    />
                                                }
                                            />
                                        </div>
rifkaki's avatar
rifkaki committed
4027 4028
                                        {/* </div> */}
                                        {/* <div className="col-3"> */}
4029 4030 4031 4032 4033 4034 4035 4036 4037 4038 4039 4040 4041 4042 4043 4044
                                        <div style={{ flex: 1 }}>
                                            <FormControlLabel
                                                style={{ margin: 0 }}
                                                value={val}
                                                control={
                                                    <NumberFormat
                                                        thousandSeparator={true}
                                                        style={{ fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
                                                        type="text"
                                                        placeholder=""
                                                        disabled={true}
                                                        value={Number(tableMeta.rowData[43]).toFixed(1)}
                                                    />
                                                }
                                            />
                                        </div>
rifkaki's avatar
rifkaki committed
4045 4046
                                        {/* </div> */}
                                        {/* <div className="col-4"> */}
4047 4048 4049 4050 4051 4052 4053 4054 4055 4056 4057 4058 4059 4060 4061 4062
                                        <div style={{ flex: 1 }}>
                                            <FormControlLabel
                                                style={{ margin: 0 }}
                                                value={val}
                                                control={
                                                    <NumberFormat
                                                        thousandSeparator={true}
                                                        style={{ fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
                                                        type="text"
                                                        placeholder=""
                                                        disabled={true}
                                                        value={Number(tableMeta.rowData[44]).toFixed(1)}
                                                    />
                                                }
                                            />
                                        </div>
rifkaki's avatar
rifkaki committed
4063 4064
                                        {/* </div> */}
                                        {/* <div className="col-1"> */}
rifkaki's avatar
rifkaki committed
4065
                                        <div style={{ flex: 1 }}>
4066 4067 4068 4069 4070 4071 4072 4073 4074 4075 4076 4077 4078 4079 4080
                                            <FormControlLabel
                                                style={{ margin: 0 }}
                                                value={val}
                                                control={
                                                    <NumberFormat
                                                        thousandSeparator={true}
                                                        style={{ fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
                                                        type="text"
                                                        placeholder=""
                                                        disabled={true}
                                                        value={Number(tableMeta.rowData[45]).toFixed(1)}
                                                    />
                                                }
                                            />
                                        </div>
rifkaki's avatar
rifkaki committed
4081 4082
                                        {/* </div> */}
                                        {/* <div className="col-2"> */}
4083 4084 4085 4086 4087 4088 4089 4090 4091 4092 4093 4094 4095 4096 4097 4098
                                        <div style={{ flex: 1 }}>
                                            <FormControlLabel
                                                style={{ margin: 0 }}
                                                value={val}
                                                control={
                                                    <NumberFormat
                                                        thousandSeparator={true}
                                                        style={{ fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
                                                        type="text"
                                                        placeholder=""
                                                        disabled={true}
                                                        value={Number(tableMeta.rowData[46]).toFixed(1)}
                                                    />
                                                }
                                            />
                                        </div>
rifkaki's avatar
rifkaki committed
4099
                                        {/* </div> */}
4100 4101 4102 4103 4104 4105
                                    </div>
                                </div>
                            </div>
                        )
                    }
                }
4106
            },
rifkaki's avatar
rifkaki committed
4107 4108 4109 4110 4111
            {
                name: "",
                options: {
                    display: false
                }
4112
            },
rifkaki's avatar
rifkaki committed
4113 4114 4115 4116 4117
            {
                name: "",
                options: {
                    display: false
                }
4118
            },
rifkaki's avatar
rifkaki committed
4119 4120 4121 4122 4123
            {
                name: "",
                options: {
                    display: false
                }
4124
            },
rifkaki's avatar
rifkaki committed
4125 4126 4127 4128 4129
            {
                name: "",
                options: {
                    display: false
                }
4130
            },
rifkaki's avatar
rifkaki committed
4131 4132 4133 4134 4135
            {
                name: "",
                options: {
                    display: false
                }
4136
            },
rifkaki's avatar
rifkaki committed
4137 4138 4139 4140 4141
            {
                name: "",
                options: {
                    display: false
                }
4142
            },
rifkaki's avatar
rifkaki committed
4143 4144 4145 4146 4147
            {
                name: "",
                options: {
                    display: false
                }
4148
            },
rifkaki's avatar
rifkaki committed
4149 4150 4151 4152 4153
            {
                name: "",
                options: {
                    display: false
                }
4154
            },
rifkaki's avatar
rifkaki committed
4155 4156 4157 4158 4159
            {
                name: "",
                options: {
                    display: false
                }
4160
            },
rifkaki's avatar
rifkaki committed
4161 4162 4163 4164 4165
            {
                name: "",
                options: {
                    display: false
                }
4166 4167 4168 4169
            }, {
                name: `Total Asset`,
                options: {
                    customHeadRender: (columnMeta) => (
rifkaki's avatar
rifkaki committed
4170
                        <th style={{ ...style2, top: 0, backgroundColor: '#1c71b8', color: '#fff', fontSize: 13, fontWeight: 1, width: 150, borderRight: "1px solid rgb(255, 255, 255)" }} >
4171
                            <div style={{ borderBottom: "1px #fff solid", textAlign: 'center', fontSize: 12, fontWeight: 'bold', padding: 5 }}>{columnMeta.name}</div>
rifkaki's avatar
rifkaki committed
4172 4173
                            <div className="grid grid-2x" style={{ ...style2, backgroundColor: '#1c71b8', color: '#fff', fontSize: 12, fontWeight: 'bold', position: "sticky" }}>
                                <div className="column-1 grid grid-5x" style={{ placeSelf: 'center', textAlign: 'center' }}>
rifkaki's avatar
rifkaki committed
4174
                                    <div className="column-1" style={{ placeSelf: 'center', textAlign: 'center', padding: 5, borderRight: "1px #fff solid" }}>
4175
                                        <span>{Number(this.props.periode) - 10}</span>
4176
                                    </div>
rifkaki's avatar
rifkaki committed
4177
                                    <div className="column-2" style={{ placeSelf: 'center', textAlign: 'center', padding: 5, borderRight: "1px #fff solid" }}>
4178
                                        <span>{Number(this.props.periode) - 9}</span>
4179
                                    </div>
rifkaki's avatar
rifkaki committed
4180
                                    <div className="column-3" style={{ placeSelf: 'center', textAlign: 'center', padding: 5, borderRight: "1px #fff solid" }}>
4181
                                        <span>{Number(this.props.periode) - 8}</span>
rifkaki's avatar
rifkaki committed
4182 4183
                                    </div>
                                    <div className="column-4" style={{ placeSelf: 'center', textAlign: 'center', padding: 5, borderRight: "1px #fff solid" }}>
4184
                                        <span>{Number(this.props.periode) - 7}</span>
rifkaki's avatar
rifkaki committed
4185
                                    </div>
rifkaki's avatar
rifkaki committed
4186
                                    <div className="column-5" style={{ placeSelf: 'center', textAlign: 'center', padding: 5, borderRight: "1px #fff solid" }}>
4187
                                        <span>{Number(this.props.periode) - 6}</span>
rifkaki's avatar
rifkaki committed
4188
                                    </div>
rifkaki's avatar
rifkaki committed
4189 4190 4191
                                </div>
                                <div className="column-2 grid grid-5x" style={{ placeSelf: 'center', textAlign: 'center' }}>
                                    <div className="column-1" style={{ placeSelf: 'center', textAlign: 'center', padding: 5, borderRight: "1px #fff solid" }}>
4192
                                        <span>{Number(this.props.periode) - 5}</span>
rifkaki's avatar
rifkaki committed
4193
                                    </div>
rifkaki's avatar
rifkaki committed
4194
                                    <div className="column-2" style={{ placeSelf: 'center', textAlign: 'center', padding: 5, borderRight: "1px #fff solid" }}>
4195
                                        <span>{Number(this.props.periode) - 4}</span>
rifkaki's avatar
rifkaki committed
4196
                                    </div>
rifkaki's avatar
rifkaki committed
4197
                                    <div className="column-3" style={{ placeSelf: 'center', textAlign: 'center', padding: 5, borderRight: "1px #fff solid" }}>
4198
                                        <span>{Number(this.props.periode) - 3}</span>
rifkaki's avatar
rifkaki committed
4199
                                    </div>
rifkaki's avatar
rifkaki committed
4200
                                    <div className="column-4" style={{ placeSelf: 'center', textAlign: 'center', padding: 5, borderRight: "1px #fff solid" }}>
4201
                                        <span>{Number(this.props.periode) - 2}</span>
4202
                                    </div>
rifkaki's avatar
rifkaki committed
4203
                                    <div className="column-5" style={{ placeSelf: 'center', textAlign: 'center', padding: 5, borderRight: "1px #fff solid" }}>
4204
                                        <span>{Number(this.props.periode) - 1}</span>
rifkaki's avatar
rifkaki committed
4205 4206
                                    </div>
                                </div>
4207 4208 4209 4210 4211 4212 4213
                            </div>
                        </th>
                    ),
                    setCellProps: () => ({ style2 }),
                    customBodyRender: (val, tableMeta, updateValue) => {
                        return (
                            <div>
4214 4215
                                <div style={{ display: 'flex', justifyContent: 'space-between' }}>
                                    <div style={{ display: 'flex', width: 640, justifyContent: 'space-between' }}>
rifkaki's avatar
rifkaki committed
4216
                                        {/* <div className="col-1"> */}
4217 4218 4219 4220 4221 4222 4223 4224 4225 4226 4227 4228 4229 4230 4231 4232
                                        <div style={{ flex: 1 }}>
                                            <FormControlLabel
                                                style={{ margin: 0 }}
                                                value={val}
                                                control={
                                                    <NumberFormat
                                                        thousandSeparator={true}
                                                        style={{ fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
                                                        type="text"
                                                        placeholder=""
                                                        disabled={true}
                                                        value={Number(tableMeta.rowData[48]).toFixed(1)}
                                                    />
                                                }
                                            />
                                        </div>
rifkaki's avatar
rifkaki committed
4233 4234
                                        {/* </div> */}
                                        {/* <div className="col-2"> */}
4235 4236 4237 4238 4239 4240 4241 4242 4243 4244 4245 4246 4247 4248 4249 4250
                                        <div style={{ flex: 1 }}>
                                            <FormControlLabel
                                                style={{ margin: 0 }}
                                                value={val}
                                                control={
                                                    <NumberFormat
                                                        thousandSeparator={true}
                                                        style={{ fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
                                                        type="text"
                                                        placeholder=""
                                                        disabled={true}
                                                        value={Number(tableMeta.rowData[49]).toFixed(1)}
                                                    />
                                                }
                                            />
                                        </div>
rifkaki's avatar
rifkaki committed
4251 4252
                                        {/* </div> */}
                                        {/* <div className="col-3"> */}
4253 4254 4255 4256 4257 4258 4259 4260 4261 4262 4263 4264 4265 4266 4267 4268
                                        <div style={{ flex: 1 }}>
                                            <FormControlLabel
                                                style={{ margin: 0 }}
                                                value={val}
                                                control={
                                                    <NumberFormat
                                                        thousandSeparator={true}
                                                        style={{ fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
                                                        type="text"
                                                        placeholder=""
                                                        disabled={true}
                                                        value={Number(tableMeta.rowData[50]).toFixed(1)}
                                                    />
                                                }
                                            />
                                        </div>
rifkaki's avatar
rifkaki committed
4269 4270
                                        {/* </div> */}
                                        {/* <div className="col-4"> */}
4271 4272 4273 4274 4275 4276 4277 4278 4279 4280 4281 4282 4283 4284 4285 4286
                                        <div style={{ flex: 1 }}>
                                            <FormControlLabel
                                                style={{ margin: 0 }}
                                                value={val}
                                                control={
                                                    <NumberFormat
                                                        thousandSeparator={true}
                                                        style={{ fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
                                                        type="text"
                                                        placeholder=""
                                                        disabled={true}
                                                        value={Number(tableMeta.rowData[51]).toFixed(1)}
                                                    />
                                                }
                                            />
                                        </div>
rifkaki's avatar
rifkaki committed
4287 4288
                                        {/* </div> */}
                                        {/* <div className="col-1"> */}
rifkaki's avatar
rifkaki committed
4289
                                        <div style={{ flex: 1 }}>
4290 4291 4292 4293 4294 4295 4296 4297 4298 4299 4300 4301 4302 4303 4304
                                            <FormControlLabel
                                                style={{ margin: 0 }}
                                                value={val}
                                                control={
                                                    <NumberFormat
                                                        thousandSeparator={true}
                                                        style={{ fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
                                                        type="text"
                                                        placeholder=""
                                                        disabled={true}
                                                        value={Number(tableMeta.rowData[52]).toFixed(1)}
                                                    />
                                                }
                                            />
                                        </div>
rifkaki's avatar
rifkaki committed
4305
                                        {/* </div> */}
rifkaki's avatar
rifkaki committed
4306
                                    </div>
4307
                                    <div style={{ display: 'flex', width: 640, justifyContent: 'space-between' }}>
rifkaki's avatar
rifkaki committed
4308
                                        {/* <div className="col-2"> */}
4309 4310 4311 4312 4313 4314 4315 4316 4317 4318 4319 4320 4321 4322 4323 4324
                                        <div style={{ flex: 1 }}>
                                            <FormControlLabel
                                                style={{ margin: 0 }}
                                                value={val}
                                                control={
                                                    <NumberFormat
                                                        thousandSeparator={true}
                                                        style={{ fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
                                                        type="text"
                                                        placeholder=""
                                                        disabled={true}
                                                        value={Number(tableMeta.rowData[53]).toFixed(1)}
                                                    />
                                                }
                                            />
                                        </div>
rifkaki's avatar
rifkaki committed
4325 4326
                                        {/* </div> */}
                                        {/* <div className="col-3"> */}
4327 4328 4329 4330 4331 4332 4333 4334 4335 4336 4337 4338 4339 4340 4341 4342
                                        <div style={{ flex: 1 }}>
                                            <FormControlLabel
                                                style={{ margin: 0 }}
                                                value={val}
                                                control={
                                                    <NumberFormat
                                                        thousandSeparator={true}
                                                        style={{ fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
                                                        type="text"
                                                        placeholder=""
                                                        disabled={true}
                                                        value={Number(tableMeta.rowData[54]).toFixed(1)}
                                                    />
                                                }
                                            />
                                        </div>
rifkaki's avatar
rifkaki committed
4343 4344
                                        {/* </div> */}
                                        {/* <div className="col-4"> */}
4345 4346 4347 4348 4349 4350 4351 4352 4353 4354 4355 4356 4357 4358 4359 4360
                                        <div style={{ flex: 1 }}>
                                            <FormControlLabel
                                                style={{ margin: 0 }}
                                                value={val}
                                                control={
                                                    <NumberFormat
                                                        thousandSeparator={true}
                                                        style={{ fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
                                                        type="text"
                                                        placeholder=""
                                                        disabled={true}
                                                        value={Number(tableMeta.rowData[55]).toFixed(1)}
                                                    />
                                                }
                                            />
                                        </div>
rifkaki's avatar
rifkaki committed
4361 4362
                                        {/* </div> */}
                                        {/* <div className="col-1"> */}
rifkaki's avatar
rifkaki committed
4363
                                        <div style={{ flex: 1 }}>
4364 4365 4366 4367 4368 4369 4370 4371 4372 4373 4374 4375 4376 4377 4378
                                            <FormControlLabel
                                                style={{ margin: 0 }}
                                                value={val}
                                                control={
                                                    <NumberFormat
                                                        thousandSeparator={true}
                                                        style={{ fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
                                                        type="text"
                                                        placeholder=""
                                                        disabled={true}
                                                        value={Number(tableMeta.rowData[56]).toFixed(1)}
                                                    />
                                                }
                                            />
                                        </div>
rifkaki's avatar
rifkaki committed
4379 4380
                                        {/* </div> */}
                                        {/* <div className="col-2"> */}
4381 4382 4383 4384 4385 4386 4387 4388 4389 4390 4391 4392 4393 4394 4395 4396
                                        <div style={{ flex: 1 }}>
                                            <FormControlLabel
                                                style={{ margin: 0 }}
                                                value={val}
                                                control={
                                                    <NumberFormat
                                                        thousandSeparator={true}
                                                        style={{ fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
                                                        type="text"
                                                        placeholder=""
                                                        disabled={true}
                                                        value={Number(tableMeta.rowData[57]).toFixed(1)}
                                                    />
                                                }
                                            />
                                        </div>
rifkaki's avatar
rifkaki committed
4397
                                        {/* </div> */}
4398 4399 4400 4401 4402 4403
                                    </div>
                                </div>
                            </div>
                        )
                    }
                }
4404
            },
rifkaki's avatar
rifkaki committed
4405 4406 4407 4408 4409
            {
                name: "",
                options: {
                    display: false
                }
4410
            },
rifkaki's avatar
rifkaki committed
4411 4412 4413 4414 4415
            {
                name: "",
                options: {
                    display: false
                }
4416
            },
rifkaki's avatar
rifkaki committed
4417 4418 4419 4420 4421
            {
                name: "",
                options: {
                    display: false
                }
4422
            },
rifkaki's avatar
rifkaki committed
4423 4424 4425 4426 4427
            {
                name: "",
                options: {
                    display: false
                }
4428
            },
rifkaki's avatar
rifkaki committed
4429 4430 4431 4432 4433
            {
                name: "",
                options: {
                    display: false
                }
4434
            },
rifkaki's avatar
rifkaki committed
4435 4436 4437 4438 4439
            {
                name: "",
                options: {
                    display: false
                }
4440
            },
rifkaki's avatar
rifkaki committed
4441 4442 4443 4444 4445
            {
                name: "",
                options: {
                    display: false
                }
4446
            },
rifkaki's avatar
rifkaki committed
4447 4448 4449 4450 4451
            {
                name: "",
                options: {
                    display: false
                }
4452
            },
rifkaki's avatar
rifkaki committed
4453 4454 4455 4456 4457
            {
                name: "",
                options: {
                    display: false
                }
4458
            },
rifkaki's avatar
rifkaki committed
4459 4460 4461 4462 4463
            {
                name: "",
                options: {
                    display: false
                }
4464
            }, {
Faisal Hamdi's avatar
Faisal Hamdi committed
4465
                name: `Total Equity`,
4466 4467
                options: {
                    customHeadRender: (columnMeta) => (
rifkaki's avatar
rifkaki committed
4468
                        <th style={{ ...style2, top: 0, backgroundColor: '#1c71b8', color: '#fff', fontSize: 13, fontWeight: 1, width: 150, borderRight: "1px solid rgb(255, 255, 255)" }} >
4469
                            <div style={{ borderBottom: "1px #fff solid", textAlign: 'center', fontSize: 12, fontWeight: 'bold', padding: 5 }}>{columnMeta.name}</div>
rifkaki's avatar
rifkaki committed
4470 4471
                            <div className="grid grid-2x" style={{ ...style2, backgroundColor: '#1c71b8', color: '#fff', fontSize: 12, fontWeight: 'bold', position: "sticky" }}>
                                <div className="column-1 grid grid-5x" style={{ placeSelf: 'center', textAlign: 'center' }}>
rifkaki's avatar
rifkaki committed
4472
                                    <div className="column-1" style={{ placeSelf: 'center', textAlign: 'center', padding: 5, borderRight: "1px #fff solid" }}>
4473
                                        <span>{Number(this.props.periode) - 10}</span>
4474
                                    </div>
rifkaki's avatar
rifkaki committed
4475
                                    <div className="column-2" style={{ placeSelf: 'center', textAlign: 'center', padding: 5, borderRight: "1px #fff solid" }}>
4476
                                        <span>{Number(this.props.periode) - 9}</span>
4477
                                    </div>
rifkaki's avatar
rifkaki committed
4478
                                    <div className="column-3" style={{ placeSelf: 'center', textAlign: 'center', padding: 5, borderRight: "1px #fff solid" }}>
4479
                                        <span>{Number(this.props.periode) - 8}</span>
4480
                                    </div>
rifkaki's avatar
rifkaki committed
4481
                                    <div className="column-4" style={{ placeSelf: 'center', textAlign: 'center', padding: 5, borderRight: "1px #fff solid" }}>
4482
                                        <span>{Number(this.props.periode) - 7}</span>
rifkaki's avatar
rifkaki committed
4483
                                    </div>
rifkaki's avatar
rifkaki committed
4484
                                    <div className="column-5" style={{ placeSelf: 'center', textAlign: 'center', padding: 5, borderRight: "1px #fff solid" }}>
4485
                                        <span>{Number(this.props.periode) - 6}</span>
rifkaki's avatar
rifkaki committed
4486
                                    </div>
rifkaki's avatar
rifkaki committed
4487 4488 4489
                                </div>
                                <div className="column-2 grid grid-5x" style={{ placeSelf: 'center', textAlign: 'center' }}>
                                    <div className="column-1" style={{ placeSelf: 'center', textAlign: 'center', padding: 5, borderRight: "1px #fff solid" }}>
4490
                                        <span>{Number(this.props.periode) - 5}</span>
rifkaki's avatar
rifkaki committed
4491
                                    </div>
rifkaki's avatar
rifkaki committed
4492
                                    <div className="column-2" style={{ placeSelf: 'center', textAlign: 'center', padding: 5, borderRight: "1px #fff solid" }}>
4493
                                        <span>{Number(this.props.periode) - 4}</span>
rifkaki's avatar
rifkaki committed
4494
                                    </div>
rifkaki's avatar
rifkaki committed
4495
                                    <div className="column-3" style={{ placeSelf: 'center', textAlign: 'center', padding: 5, borderRight: "1px #fff solid" }}>
4496
                                        <span>{Number(this.props.periode) - 3}</span>
rifkaki's avatar
rifkaki committed
4497
                                    </div>
rifkaki's avatar
rifkaki committed
4498
                                    <div className="column-4" style={{ placeSelf: 'center', textAlign: 'center', padding: 5, borderRight: "1px #fff solid" }}>
4499
                                        <span>{Number(this.props.periode) - 2}</span>
rifkaki's avatar
rifkaki committed
4500
                                    </div>
rifkaki's avatar
rifkaki committed
4501
                                    <div className="column-5" style={{ placeSelf: 'center', textAlign: 'center', padding: 5, borderRight: "1px #fff solid" }}>
4502
                                        <span>{Number(this.props.periode) - 1}</span>
rifkaki's avatar
rifkaki committed
4503 4504
                                    </div>
                                </div>
4505 4506 4507 4508 4509 4510 4511
                            </div>
                        </th>
                    ),
                    setCellProps: () => ({ style2 }),
                    customBodyRender: (val, tableMeta, updateValue) => {
                        return (
                            <div>
4512 4513
                                <div style={{ display: 'flex', justifyContent: 'space-between' }}>
                                    <div style={{ display: 'flex', width: 640, justifyContent: 'space-between' }}>
rifkaki's avatar
rifkaki committed
4514
                                        {/* <div className="col-1"> */}
4515 4516 4517 4518 4519 4520 4521 4522 4523 4524 4525 4526 4527 4528 4529 4530
                                        <div style={{ flex: 1 }}>
                                            <FormControlLabel
                                                style={{ margin: 0 }}
                                                value={val}
                                                control={
                                                    <NumberFormat
                                                        thousandSeparator={true}
                                                        style={{ fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
                                                        type="text"
                                                        placeholder=""
                                                        disabled={true}
                                                        value={Number(tableMeta.rowData[59]).toFixed(1)}
                                                    />
                                                }
                                            />
                                        </div>
rifkaki's avatar
rifkaki committed
4531 4532
                                        {/* </div> */}
                                        {/* <div className="col-2"> */}
4533 4534 4535 4536 4537 4538 4539 4540 4541 4542 4543 4544 4545 4546 4547 4548
                                        <div style={{ flex: 1 }}>
                                            <FormControlLabel
                                                style={{ margin: 0 }}
                                                value={val}
                                                control={
                                                    <NumberFormat
                                                        thousandSeparator={true}
                                                        style={{ fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
                                                        type="text"
                                                        placeholder=""
                                                        disabled={true}
                                                        value={Number(tableMeta.rowData[60]).toFixed(1)}
                                                    />
                                                }
                                            />
                                        </div>
rifkaki's avatar
rifkaki committed
4549 4550
                                        {/* </div> */}
                                        {/* <div className="col-3"> */}
4551 4552 4553 4554 4555 4556 4557 4558 4559 4560 4561 4562 4563 4564 4565 4566
                                        <div style={{ flex: 1 }}>
                                            <FormControlLabel
                                                style={{ margin: 0 }}
                                                value={val}
                                                control={
                                                    <NumberFormat
                                                        thousandSeparator={true}
                                                        style={{ fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
                                                        type="text"
                                                        placeholder=""
                                                        disabled={true}
                                                        value={Number(tableMeta.rowData[61]).toFixed(1)}
                                                    />
                                                }
                                            />
                                        </div>
rifkaki's avatar
rifkaki committed
4567 4568
                                        {/* </div> */}
                                        {/* <div className="col-4"> */}
4569 4570 4571 4572 4573 4574 4575 4576 4577 4578 4579 4580 4581 4582 4583 4584
                                        <div style={{ flex: 1 }}>
                                            <FormControlLabel
                                                style={{ margin: 0 }}
                                                value={val}
                                                control={
                                                    <NumberFormat
                                                        thousandSeparator={true}
                                                        style={{ fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
                                                        type="text"
                                                        placeholder=""
                                                        disabled={true}
                                                        value={Number(tableMeta.rowData[62]).toFixed(1)}
                                                    />
                                                }
                                            />
                                        </div>
rifkaki's avatar
rifkaki committed
4585 4586
                                        {/* </div> */}
                                        {/* <div className="col-1"> */}
rifkaki's avatar
rifkaki committed
4587
                                        <div style={{ flex: 1 }}>
4588 4589 4590 4591 4592 4593 4594 4595 4596 4597 4598 4599 4600 4601 4602
                                            <FormControlLabel
                                                style={{ margin: 0 }}
                                                value={val}
                                                control={
                                                    <NumberFormat
                                                        thousandSeparator={true}
                                                        style={{ fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
                                                        type="text"
                                                        placeholder=""
                                                        disabled={true}
                                                        value={Number(tableMeta.rowData[63]).toFixed(1)}
                                                    />
                                                }
                                            />
                                        </div>
rifkaki's avatar
rifkaki committed
4603
                                        {/* </div> */}
rifkaki's avatar
rifkaki committed
4604
                                    </div>
4605
                                    <div style={{ display: 'flex', width: 640, justifyContent: 'space-between' }}>
rifkaki's avatar
rifkaki committed
4606
                                        {/* <div className="col-2"> */}
4607 4608 4609 4610 4611 4612 4613 4614 4615 4616 4617 4618 4619 4620 4621 4622
                                        <div style={{ flex: 1 }}>
                                            <FormControlLabel
                                                style={{ margin: 0 }}
                                                value={val}
                                                control={
                                                    <NumberFormat
                                                        thousandSeparator={true}
                                                        style={{ fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
                                                        type="text"
                                                        placeholder=""
                                                        disabled={true}
                                                        value={Number(tableMeta.rowData[64]).toFixed(1)}
                                                    />
                                                }
                                            />
                                        </div>
rifkaki's avatar
rifkaki committed
4623 4624
                                        {/* </div> */}
                                        {/* <div className="col-3"> */}
4625 4626 4627 4628 4629 4630 4631 4632 4633 4634 4635 4636 4637 4638 4639 4640
                                        <div style={{ flex: 1 }}>
                                            <FormControlLabel
                                                style={{ margin: 0 }}
                                                value={val}
                                                control={
                                                    <NumberFormat
                                                        thousandSeparator={true}
                                                        style={{ fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
                                                        type="text"
                                                        placeholder=""
                                                        disabled={true}
                                                        value={Number(tableMeta.rowData[65]).toFixed(1)}
                                                    />
                                                }
                                            />
                                        </div>
rifkaki's avatar
rifkaki committed
4641 4642
                                        {/* </div> */}
                                        {/* <div className="col-4"> */}
4643 4644 4645 4646 4647 4648 4649 4650 4651 4652 4653 4654 4655 4656 4657 4658
                                        <div style={{ flex: 1 }}>
                                            <FormControlLabel
                                                style={{ margin: 0 }}
                                                value={val}
                                                control={
                                                    <NumberFormat
                                                        thousandSeparator={true}
                                                        style={{ fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
                                                        type="text"
                                                        placeholder=""
                                                        disabled={true}
                                                        value={Number(tableMeta.rowData[66]).toFixed(1)}
                                                    />
                                                }
                                            />
                                        </div>
rifkaki's avatar
rifkaki committed
4659 4660
                                        {/* </div> */}
                                        {/* <div className="col-1"> */}
rifkaki's avatar
rifkaki committed
4661
                                        <div style={{ flex: 1 }}>
4662 4663 4664 4665 4666 4667 4668 4669 4670 4671 4672 4673 4674 4675 4676
                                            <FormControlLabel
                                                style={{ margin: 0 }}
                                                value={val}
                                                control={
                                                    <NumberFormat
                                                        thousandSeparator={true}
                                                        style={{ fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
                                                        type="text"
                                                        placeholder=""
                                                        disabled={true}
                                                        value={Number(tableMeta.rowData[67]).toFixed(1)}
                                                    />
                                                }
                                            />
                                        </div>
rifkaki's avatar
rifkaki committed
4677 4678
                                        {/* </div> */}
                                        {/* <div className="col-2"> */}
4679 4680 4681 4682 4683 4684 4685 4686 4687 4688 4689 4690 4691 4692 4693 4694
                                        <div style={{ flex: 1 }}>
                                            <FormControlLabel
                                                style={{ margin: 0 }}
                                                value={val}
                                                control={
                                                    <NumberFormat
                                                        thousandSeparator={true}
                                                        style={{ fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
                                                        type="text"
                                                        placeholder=""
                                                        disabled={true}
                                                        value={Number(tableMeta.rowData[68]).toFixed(1)}
                                                    />
                                                }
                                            />
                                        </div>
rifkaki's avatar
rifkaki committed
4695
                                        {/* </div> */}
4696 4697 4698 4699 4700
                                    </div>
                                </div>
                            </div>
                        )
                    }
Riri Novita's avatar
Riri Novita committed
4701
                }
rifkaki's avatar
rifkaki committed
4702 4703 4704 4705 4706 4707
            },
            {
                name: "",
                options: {
                    display: false
                }
4708
            },
rifkaki's avatar
rifkaki committed
4709 4710 4711 4712 4713
            {
                name: "",
                options: {
                    display: false
                }
4714
            },
rifkaki's avatar
rifkaki committed
4715 4716 4717 4718 4719
            {
                name: "",
                options: {
                    display: false
                }
4720
            },
rifkaki's avatar
rifkaki committed
4721 4722 4723 4724 4725
            {
                name: "",
                options: {
                    display: false
                }
4726
            },
rifkaki's avatar
rifkaki committed
4727 4728 4729 4730 4731
            {
                name: "",
                options: {
                    display: false
                }
4732
            },
rifkaki's avatar
rifkaki committed
4733 4734 4735 4736 4737
            {
                name: "",
                options: {
                    display: false
                }
4738
            },
rifkaki's avatar
rifkaki committed
4739 4740 4741 4742 4743
            {
                name: "",
                options: {
                    display: false
                }
4744
            },
rifkaki's avatar
rifkaki committed
4745 4746 4747 4748 4749
            {
                name: "",
                options: {
                    display: false
                }
4750
            },
rifkaki's avatar
rifkaki committed
4751 4752 4753 4754 4755
            {
                name: "",
                options: {
                    display: false
                }
4756
            },
rifkaki's avatar
rifkaki committed
4757 4758 4759 4760 4761
            {
                name: "",
                options: {
                    display: false
                }
4762
            },
Riri Novita's avatar
Riri Novita committed
4763 4764 4765
        ]

        const columnCPSM = [
Riri Novita's avatar
Riri Novita committed
4766 4767 4768 4769 4770 4771 4772 4773 4774 4775 4776 4777 4778 4779 4780 4781 4782 4783 4784 4785 4786 4787 4788 4789 4790 4791 4792 4793 4794 4795 4796 4797 4798 4799 4800 4801 4802 4803 4804 4805 4806 4807 4808 4809 4810 4811 4812
            {
                name: "",
                options: {
                    display: false
                }
            }, {
                name: "",
                options: {
                    display: false
                }
            }, {
                name: "",
                options: {
                    display: false
                }
            }, {
                name: "Company",
                options: {
                    customHeadRender: (columnMeta) => (
                        <TableCell key={columnMeta.index} style={{ ...style, top: 0, zIndex: 102, backgroundColor: '#1c71b8', width: 300, borderRight: '1px #fff solid' }}>
                            <Typography style={{ color: 'white', fontSize: 12, fontWeight: 'bold', textAlign: 'left' }}>{columnMeta.name}</Typography>
                        </TableCell>
                    ),
                    setCellProps: () => ({ style }),
                    customBodyRender: (val, tableMeta) => {
                        return (
                            <div style={{ width: 300 }}>
                                {
                                    tableMeta.rowData[2] == 0 ?
                                        <span style={{ fontSize: 12, fontWeight: 'bold' }}>{String(val).toUpperCase()}</span>
                                        :
                                        <div style={{ paddingLeft: 20 * Number(tableMeta.rowData[2]) }}>
                                            <span style={{ fontSize: 12 }}>{val}</span>
                                        </div>
                                }
                            </div>
                        )
                    }
                }
            }, {
                name: `Revenue`,
                options: {
                    customHeadRender: (columnMeta) => (
                        <th style={{ ...style2, backgroundColor: '#1c71b8', top: 0, color: '#fff', fontSize: 13, fontWeight: 1, width: 150, borderRight: "1px solid rgb(255, 255, 255)" }} >
                            <div style={{ borderBottom: "1px #fff solid", textAlign: 'center', fontSize: 12, fontWeight: 'bold', padding: 5 }}>{columnMeta.name}</div>
                            <div className="grid grid-2x" style={{ ...style2, backgroundColor: '#37b5e6', color: '#fff', fontSize: 12, fontWeight: 'bold', position: "sticky" }}>
                                <div className="column-1 grid grid-3x" style={{ placeSelf: 'center', textAlign: 'center' }}>
4813 4814
                                    <div className="column-1" style={{ placeSelf: 'center', textAlign: 'center', padding: 5, borderRight: "1px #fff solid", backgroundColor: '#07a7d0' }}>
                                        <span>{`${Number(this.props.periode) - 1}`}</span>
Riri Novita's avatar
Riri Novita committed
4815
                                    </div>
4816 4817 4818 4819 4820 4821 4822 4823 4824 4825
                                    <div className="column-2" style={{ placeSelf: 'center', textAlign: 'center', padding: 5, borderRight: "1px #fff solid", backgroundColor: '#37b5e6' }}>
                                        <span>{`OL ${Number(this.props.periode)}`}</span>
                                    </div>
                                    <div className="column-3" style={{ placeSelf: 'center', textAlign: 'center', padding: 5, borderRight: "1px #fff solid", backgroundColor: '#37b5e6' }}>
                                        <span>{`MB ${Number(this.props.periode)}`}</span>
                                    </div>
                                </div>
                                <div className="column-2 grid grid-3x" style={{ placeSelf: 'center', textAlign: 'center' }}>
                                    <div className="column-1" style={{ placeSelf: 'center', textAlign: 'center', padding: 5, borderRight: "1px #fff solid", backgroundColor: '#37b5e6' }}>
                                        <span>{"% of MB"}</span>
Riri Novita's avatar
Riri Novita committed
4826
                                    </div>
4827 4828 4829 4830 4831 4832 4833
                                    <div className="column-2" style={{ placeSelf: 'center', textAlign: 'center', padding: 5, borderRight: "1px #fff solid", backgroundColor: '#1c71b8' }}>
                                        <span>{`${Number(this.props.periode) + 1}`}</span>
                                    </div>
                                    <div className="column-3" style={{ placeSelf: 'center', textAlign: 'center', padding: 5, backgroundColor: '#1c71b8' }}>
                                        <span>{`${Number(this.props.periode) + 2}`}</span>
                                    </div>
                                </div>
Riri Novita's avatar
Riri Novita committed
4834 4835 4836 4837 4838 4839 4840 4841 4842 4843
                            </div>
                        </th>
                    ),
                    setCellProps: () => ({ style2 }),
                    customBodyRender: (val, tableMeta, updateValue) => {
                        return (
                            <div>
                                <div className="grid grid-2x content-center">
                                    <div className="grid grid-3x content-center">
                                        <div className="col-1">
4844
                                            <div style={{ flex: 1 }}>
Riri Novita's avatar
Riri Novita committed
4845 4846 4847 4848 4849 4850
                                                <FormControlLabel
                                                    style={{ margin: 0 }}
                                                    value={val}
                                                    control={
                                                        <NumberFormat
                                                            thousandSeparator={true}
4851
                                                            style={{ color: (tableMeta.rowData[2] !== 0 && tableMeta.rowData[2] !== 1) && !tableMeta.rowData[49] ? '#5198ea' : '#000000de', fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 86, backgroundColor: 'transparent' }}
Riri Novita's avatar
Riri Novita committed
4852 4853 4854
                                                            type="text"
                                                            placeholder=""
                                                            disabled={true}
rifkaki's avatar
rifkaki committed
4855
                                                            value={Number(tableMeta.rowData[4]).toFixed(1)}
Riri Novita's avatar
Riri Novita committed
4856 4857 4858 4859 4860 4861
                                                        />
                                                    }
                                                />
                                            </div>
                                        </div>
                                        <div className="col-2">
4862
                                            <div style={{ flex: 1 }}>
Riri Novita's avatar
Riri Novita committed
4863 4864 4865 4866 4867 4868
                                                <FormControlLabel
                                                    style={{ margin: 0 }}
                                                    value={val}
                                                    control={
                                                        <NumberFormat
                                                            thousandSeparator={true}
4869
                                                            style={{ color: (tableMeta.rowData[2] !== 0 && tableMeta.rowData[2] !== 1) && !tableMeta.rowData[49] ? '#5198ea' : '#000000de', fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
Riri Novita's avatar
Riri Novita committed
4870 4871 4872
                                                            type="text"
                                                            placeholder=""
                                                            disabled={true}
rifkaki's avatar
rifkaki committed
4873
                                                            value={Number(tableMeta.rowData[5]).toFixed(1)}
Riri Novita's avatar
Riri Novita committed
4874 4875 4876 4877 4878 4879
                                                        />
                                                    }
                                                />
                                            </div>
                                        </div>
                                        <div className="col-3">
4880
                                            <div style={{ flex: 1 }}>
Riri Novita's avatar
Riri Novita committed
4881 4882 4883 4884 4885 4886
                                                <FormControlLabel
                                                    style={{ margin: 0 }}
                                                    value={val}
                                                    control={
                                                        <NumberFormat
                                                            thousandSeparator={true}
4887
                                                            style={{ color: (tableMeta.rowData[2] !== 0 && tableMeta.rowData[2] !== 1) && !tableMeta.rowData[49] ? '#5198ea' : '#000000de', fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
Riri Novita's avatar
Riri Novita committed
4888 4889 4890
                                                            type="text"
                                                            placeholder=""
                                                            disabled={true}
rifkaki's avatar
rifkaki committed
4891
                                                            value={Number(tableMeta.rowData[6]).toFixed(1)}
Riri Novita's avatar
Riri Novita committed
4892 4893 4894 4895 4896 4897 4898 4899 4900 4901 4902 4903 4904 4905 4906
                                                        />
                                                    }
                                                />
                                            </div>
                                        </div>
                                    </div>
                                    <div className="grid grid-3x content-center">
                                        <div className="col-1">
                                            <div style={{ flex: 1 }}>
                                                <FormControlLabel
                                                    style={{ margin: 0 }}
                                                    value={val}
                                                    control={
                                                        <NumberFormat
                                                            thousandSeparator={true}
4907
                                                            style={{ color: (tableMeta.rowData[2] !== 0 && tableMeta.rowData[2] !== 1) && !tableMeta.rowData[49] ? '#5198ea' : '#000000de', fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
Riri Novita's avatar
Riri Novita committed
4908 4909 4910 4911
                                                            type="text"
                                                            placeholder=""
                                                            disabled={true}
                                                            suffix={'%'}
Riri Novita's avatar
Riri Novita committed
4912
                                                            value={tableMeta.rowData[7]}
qorri_di's avatar
qorri_di committed
4913
                                                        // value={Number(tableMeta.rowData[7]).toFixed(1)}
Riri Novita's avatar
Riri Novita committed
4914 4915 4916 4917 4918 4919
                                                        />
                                                    }
                                                />
                                            </div>
                                        </div>
                                        <div className="col-2">
4920
                                            <div style={{ flex: 1 }}>
Riri Novita's avatar
Riri Novita committed
4921 4922 4923 4924 4925 4926
                                                <FormControlLabel
                                                    style={{ margin: 0 }}
                                                    value={val}
                                                    control={
                                                        <NumberFormat
                                                            thousandSeparator={true}
4927
                                                            style={{ color: (tableMeta.rowData[2] !== 0 && tableMeta.rowData[2] !== 1) && !tableMeta.rowData[49] ? '#5198ea' : '#000000de', fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
Riri Novita's avatar
Riri Novita committed
4928 4929 4930
                                                            type="text"
                                                            placeholder=""
                                                            disabled={true}
rifkaki's avatar
rifkaki committed
4931
                                                            value={Number(tableMeta.rowData[8]).toFixed(1)}
Riri Novita's avatar
Riri Novita committed
4932 4933 4934 4935 4936 4937
                                                        />
                                                    }
                                                />
                                            </div>
                                        </div>
                                        <div className="col-3">
4938
                                            <div style={{ flex: 1 }}>
Riri Novita's avatar
Riri Novita committed
4939 4940 4941 4942 4943 4944
                                                <FormControlLabel
                                                    style={{ margin: 0 }}
                                                    value={val}
                                                    control={
                                                        <NumberFormat
                                                            thousandSeparator={true}
4945
                                                            style={{ color: (tableMeta.rowData[2] !== 0 && tableMeta.rowData[2] !== 1) && !tableMeta.rowData[49] ? '#5198ea' : '#000000de', fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
Riri Novita's avatar
Riri Novita committed
4946 4947 4948
                                                            type="text"
                                                            placeholder=""
                                                            disabled={true}
rifkaki's avatar
rifkaki committed
4949
                                                            value={Number(tableMeta.rowData[9]).toFixed(1)}
Riri Novita's avatar
Riri Novita committed
4950 4951 4952 4953 4954 4955 4956 4957 4958 4959 4960 4961 4962 4963 4964 4965 4966 4967 4968 4969 4970 4971 4972 4973 4974 4975 4976 4977 4978 4979 4980 4981 4982 4983 4984 4985 4986 4987 4988 4989 4990 4991 4992 4993 4994
                                                        />
                                                    }
                                                />
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        )
                    }
                }
            }, {
                name: "",
                options: {
                    display: false
                }
            }, {
                name: "",
                options: {
                    display: false
                }
            }, {
                name: "",
                options: {
                    display: false
                }
            }, {
                name: "",
                options: {
                    display: false
                }
            }, {
                name: "",
                options: {
                    display: false
                }
            }, {
                name: "",
                options: {
                    display: false
                }
            }, {
                name: `EBITDA`,
                options: {
                    customHeadRender: (columnMeta) => (
Riri Novita's avatar
Riri Novita committed
4995
                        <th style={{ ...style2, backgroundColor: '#1c71b8', top: 0, color: '#fff', fontSize: 13, fontWeight: 1, width: 150, borderRight: "1px solid rgb(255, 255, 255)" }} >
Riri Novita's avatar
Riri Novita committed
4996 4997 4998
                            <div style={{ borderBottom: "1px #fff solid", textAlign: 'center', fontSize: 12, fontWeight: 'bold', padding: 5 }}>{columnMeta.name}</div>
                            <div className="grid grid-2x" style={{ ...style2, backgroundColor: '#37b5e6', color: '#fff', fontSize: 12, fontWeight: 'bold', position: "sticky" }}>
                                <div className="column-1 grid grid-3x" style={{ placeSelf: 'center', textAlign: 'center' }}>
4999 5000
                                    <div className="column-1" style={{ placeSelf: 'center', textAlign: 'center', padding: 5, borderRight: "1px #fff solid", backgroundColor: '#07a7d0' }}>
                                        <span>{`${Number(this.props.periode) - 1}`}</span>
Riri Novita's avatar
Riri Novita committed
5001
                                    </div>
5002 5003 5004 5005 5006 5007 5008 5009 5010 5011 5012 5013 5014 5015 5016 5017
                                    <div className="column-2" style={{ placeSelf: 'center', textAlign: 'center', padding: 5, borderRight: "1px #fff solid", backgroundColor: '#37b5e6' }}>
                                        <span>{`OL ${Number(this.props.periode)}`}</span>
                                    </div>
                                    <div className="column-3" style={{ placeSelf: 'center', textAlign: 'center', padding: 5, borderRight: "1px #fff solid", backgroundColor: '#37b5e6' }}>
                                        <span>{`MB ${Number(this.props.periode)}`}</span>
                                    </div>
                                </div>
                                <div className="column-2 grid grid-3x" style={{ placeSelf: 'center', textAlign: 'center' }}>
                                    <div className="column-1" style={{ placeSelf: 'center', textAlign: 'center', padding: 5, borderRight: "1px #fff solid", backgroundColor: '#37b5e6' }}>
                                        <span>{"% of MB"}</span>
                                    </div>
                                    <div className="column-2" style={{ placeSelf: 'center', textAlign: 'center', padding: 5, borderRight: "1px #fff solid", backgroundColor: '#1c71b8' }}>
                                        <span>{`${Number(this.props.periode) + 1}`}</span>
                                    </div>
                                    <div className="column-3" style={{ placeSelf: 'center', textAlign: 'center', padding: 5, backgroundColor: '#1c71b8' }}>
                                        <span>{`${Number(this.props.periode) + 2}`}</span>
Riri Novita's avatar
Riri Novita committed
5018
                                    </div>
5019
                                </div>
Riri Novita's avatar
Riri Novita committed
5020 5021 5022 5023 5024 5025 5026 5027 5028 5029 5030 5031 5032 5033 5034 5035 5036
                            </div>
                        </th>
                    ),
                    setCellProps: () => ({ style2 }),
                    customBodyRender: (val, tableMeta, updateValue) => {
                        return (
                            <div>
                                <div className="grid grid-2x content-center">
                                    <div className="grid grid-3x content-center">
                                        <div className="col-1">
                                            <div style={{ flex: 1 }}>
                                                <FormControlLabel
                                                    style={{ margin: 0 }}
                                                    value={val}
                                                    control={
                                                        <NumberFormat
                                                            thousandSeparator={true}
5037
                                                            style={{ color: (tableMeta.rowData[2] !== 0 && tableMeta.rowData[2] !== 1) && !tableMeta.rowData[49] ? '#5198ea' : '#000000de', fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
Riri Novita's avatar
Riri Novita committed
5038 5039 5040
                                                            type="text"
                                                            placeholder=""
                                                            disabled={true}
rifkaki's avatar
rifkaki committed
5041
                                                            value={Number(tableMeta.rowData[10]).toFixed(1)}
Riri Novita's avatar
Riri Novita committed
5042 5043 5044 5045 5046 5047
                                                        />
                                                    }
                                                />
                                            </div>
                                        </div>
                                        <div className="col-2">
Riri Novita's avatar
Riri Novita committed
5048 5049 5050 5051 5052 5053 5054
                                            <div style={{ flex: 1 }}>
                                                <FormControlLabel
                                                    style={{ margin: 0 }}
                                                    value={val}
                                                    control={
                                                        <NumberFormat
                                                            thousandSeparator={true}
5055
                                                            style={{ color: (tableMeta.rowData[2] !== 0 && tableMeta.rowData[2] !== 1) && !tableMeta.rowData[49] ? '#5198ea' : '#000000de', fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
Riri Novita's avatar
Riri Novita committed
5056 5057 5058
                                                            type="text"
                                                            placeholder=""
                                                            disabled={true}
rifkaki's avatar
rifkaki committed
5059
                                                            value={Number(tableMeta.rowData[11]).toFixed(1)}
Riri Novita's avatar
Riri Novita committed
5060 5061 5062
                                                        />
                                                    }
                                                />
Riri Novita's avatar
Riri Novita committed
5063 5064 5065
                                            </div>
                                        </div>
                                        <div className="col-3">
Riri Novita's avatar
Riri Novita committed
5066 5067 5068 5069 5070 5071 5072
                                            <div style={{ flex: 1 }}>
                                                <FormControlLabel
                                                    style={{ margin: 0 }}
                                                    value={val}
                                                    control={
                                                        <NumberFormat
                                                            thousandSeparator={true}
5073
                                                            style={{ color: (tableMeta.rowData[2] !== 0 && tableMeta.rowData[2] !== 1) && !tableMeta.rowData[49] ? '#5198ea' : '#000000de', fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
Riri Novita's avatar
Riri Novita committed
5074 5075 5076
                                                            type="text"
                                                            placeholder=""
                                                            disabled={true}
rifkaki's avatar
rifkaki committed
5077
                                                            value={Number(tableMeta.rowData[12]).toFixed(1)}
Riri Novita's avatar
Riri Novita committed
5078 5079 5080
                                                        />
                                                    }
                                                />
Riri Novita's avatar
Riri Novita committed
5081 5082 5083 5084 5085
                                            </div>
                                        </div>
                                    </div>
                                    <div className="grid grid-3x content-center">
                                        <div className="col-1">
Riri Novita's avatar
Riri Novita committed
5086 5087 5088 5089 5090 5091 5092
                                            <div style={{ flex: 1 }}>
                                                <FormControlLabel
                                                    style={{ margin: 0 }}
                                                    value={val}
                                                    control={
                                                        <NumberFormat
                                                            thousandSeparator={true}
5093
                                                            style={{ color: (tableMeta.rowData[2] !== 0 && tableMeta.rowData[2] !== 1) && !tableMeta.rowData[49] ? '#5198ea' : '#000000de', fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
Riri Novita's avatar
Riri Novita committed
5094 5095 5096 5097
                                                            type="text"
                                                            placeholder=""
                                                            disabled={true}
                                                            suffix={'%'}
rifkaki's avatar
rifkaki committed
5098
                                                            value={tableMeta.rowData[13]}
qorri_di's avatar
qorri_di committed
5099
                                                        // value={Number(tableMeta.rowData[13]).toFixed(1)}
Riri Novita's avatar
Riri Novita committed
5100 5101 5102
                                                        />
                                                    }
                                                />
Riri Novita's avatar
Riri Novita committed
5103 5104 5105
                                            </div>
                                        </div>
                                        <div className="col-2">
Riri Novita's avatar
Riri Novita committed
5106 5107 5108 5109 5110 5111 5112
                                            <div style={{ flex: 1 }}>
                                                <FormControlLabel
                                                    style={{ margin: 0 }}
                                                    value={val}
                                                    control={
                                                        <NumberFormat
                                                            thousandSeparator={true}
5113
                                                            style={{ color: (tableMeta.rowData[2] !== 0 && tableMeta.rowData[2] !== 1) && !tableMeta.rowData[49] ? '#5198ea' : '#000000de', fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
Riri Novita's avatar
Riri Novita committed
5114 5115 5116
                                                            type="text"
                                                            placeholder=""
                                                            disabled={true}
rifkaki's avatar
rifkaki committed
5117
                                                            value={Number(tableMeta.rowData[14]).toFixed(1)}
Riri Novita's avatar
Riri Novita committed
5118 5119 5120
                                                        />
                                                    }
                                                />
Riri Novita's avatar
Riri Novita committed
5121 5122 5123
                                            </div>
                                        </div>
                                        <div className="col-3">
Riri Novita's avatar
Riri Novita committed
5124 5125 5126 5127 5128 5129 5130
                                            <div style={{ flex: 1 }}>
                                                <FormControlLabel
                                                    style={{ margin: 0 }}
                                                    value={val}
                                                    control={
                                                        <NumberFormat
                                                            thousandSeparator={true}
5131
                                                            style={{ color: (tableMeta.rowData[2] !== 0 && tableMeta.rowData[2] !== 1) && !tableMeta.rowData[49] ? '#5198ea' : '#000000de', fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
Riri Novita's avatar
Riri Novita committed
5132 5133 5134
                                                            type="text"
                                                            placeholder=""
                                                            disabled={true}
rifkaki's avatar
rifkaki committed
5135
                                                            value={Number(tableMeta.rowData[15]).toFixed(1)}
Riri Novita's avatar
Riri Novita committed
5136 5137 5138
                                                        />
                                                    }
                                                />
Riri Novita's avatar
Riri Novita committed
5139 5140 5141 5142 5143 5144 5145 5146 5147 5148 5149 5150 5151 5152 5153 5154 5155 5156 5157 5158 5159 5160 5161 5162 5163 5164 5165 5166 5167 5168 5169 5170 5171 5172 5173 5174 5175 5176 5177 5178 5179 5180
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        )
                    }
                }
            }, {
                name: "",
                options: {
                    display: false
                }
            }, {
                name: "",
                options: {
                    display: false
                }
            }, {
                name: "",
                options: {
                    display: false
                }
            }, {
                name: "",
                options: {
                    display: false
                }
            }, {
                name: "",
                options: {
                    display: false
                }
            }, {
                name: "",
                options: {
                    display: false
                }
            }, {
                name: `TPAT`,
                options: {
                    customHeadRender: (columnMeta) => (
5181
                        <th style={{ ...style2, backgroundColor: '#1c71b8', top: 0, color: '#fff', fontSize: 13, fontWeight: 1, width: 150, borderRight: "1px solid rgb(255, 255, 255)" }} >
Riri Novita's avatar
Riri Novita committed
5182 5183 5184
                            <div style={{ borderBottom: "1px #fff solid", textAlign: 'center', fontSize: 12, fontWeight: 'bold', padding: 5 }}>{columnMeta.name}</div>
                            <div className="grid grid-2x" style={{ ...style2, backgroundColor: '#37b5e6', color: '#fff', fontSize: 12, fontWeight: 'bold', position: "sticky" }}>
                                <div className="column-1 grid grid-3x" style={{ placeSelf: 'center', textAlign: 'center' }}>
5185 5186
                                    <div className="column-1" style={{ placeSelf: 'center', textAlign: 'center', padding: 5, borderRight: "1px #fff solid", backgroundColor: '#07a7d0' }}>
                                        <span>{`${Number(this.props.periode) - 1}`}</span>
Riri Novita's avatar
Riri Novita committed
5187
                                    </div>
5188 5189 5190 5191 5192 5193 5194 5195 5196 5197 5198 5199 5200 5201 5202 5203
                                    <div className="column-2" style={{ placeSelf: 'center', textAlign: 'center', padding: 5, borderRight: "1px #fff solid", backgroundColor: '#37b5e6' }}>
                                        <span>{`OL ${Number(this.props.periode)}`}</span>
                                    </div>
                                    <div className="column-3" style={{ placeSelf: 'center', textAlign: 'center', padding: 5, borderRight: "1px #fff solid", backgroundColor: '#37b5e6' }}>
                                        <span>{`MB ${Number(this.props.periode)}`}</span>
                                    </div>
                                </div>
                                <div className="column-2 grid grid-3x" style={{ placeSelf: 'center', textAlign: 'center' }}>
                                    <div className="column-1" style={{ placeSelf: 'center', textAlign: 'center', padding: 5, borderRight: "1px #fff solid", backgroundColor: '#37b5e6' }}>
                                        <span>{"% of MB"}</span>
                                    </div>
                                    <div className="column-2" style={{ placeSelf: 'center', textAlign: 'center', padding: 5, borderRight: "1px #fff solid", backgroundColor: '#1c71b8' }}>
                                        <span>{`${Number(this.props.periode) + 1}`}</span>
                                    </div>
                                    <div className="column-3" style={{ placeSelf: 'center', textAlign: 'center', padding: 5, backgroundColor: '#1c71b8' }}>
                                        <span>{`${Number(this.props.periode) + 2}`}</span>
Riri Novita's avatar
Riri Novita committed
5204
                                    </div>
5205
                                </div>
Riri Novita's avatar
Riri Novita committed
5206 5207 5208 5209 5210 5211 5212 5213 5214 5215
                            </div>
                        </th>
                    ),
                    setCellProps: () => ({ style2 }),
                    customBodyRender: (val, tableMeta, updateValue) => {
                        return (
                            <div>
                                <div className="grid grid-2x content-center">
                                    <div className="grid grid-3x content-center">
                                        <div className="col-1">
Riri Novita's avatar
Riri Novita committed
5216 5217 5218 5219 5220 5221 5222
                                            <div style={{ flex: 1 }}>
                                                <FormControlLabel
                                                    style={{ margin: 0 }}
                                                    value={val}
                                                    control={
                                                        <NumberFormat
                                                            thousandSeparator={true}
5223
                                                            style={{ color: (tableMeta.rowData[2] !== 0 && tableMeta.rowData[2] !== 1) && !tableMeta.rowData[49] ? '#5198ea' : '#000000de', fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 80, backgroundColor: 'transparent' }}
Riri Novita's avatar
Riri Novita committed
5224 5225 5226
                                                            type="text"
                                                            placeholder=""
                                                            disabled={true}
rifkaki's avatar
rifkaki committed
5227
                                                            value={Number(tableMeta.rowData[16]).toFixed(1)}
Riri Novita's avatar
Riri Novita committed
5228 5229 5230
                                                        />
                                                    }
                                                />
Riri Novita's avatar
Riri Novita committed
5231 5232 5233
                                            </div>
                                        </div>
                                        <div className="col-2">
Riri Novita's avatar
Riri Novita committed
5234 5235 5236 5237 5238 5239 5240
                                            <div style={{ flex: 1 }}>
                                                <FormControlLabel
                                                    style={{ margin: 0 }}
                                                    value={val}
                                                    control={
                                                        <NumberFormat
                                                            thousandSeparator={true}
5241
                                                            style={{ color: (tableMeta.rowData[2] !== 0 && tableMeta.rowData[2] !== 1) && !tableMeta.rowData[49] ? '#5198ea' : '#000000de', fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
Riri Novita's avatar
Riri Novita committed
5242 5243 5244
                                                            type="text"
                                                            placeholder=""
                                                            disabled={true}
rifkaki's avatar
rifkaki committed
5245
                                                            value={Number(tableMeta.rowData[17]).toFixed(1)}
Riri Novita's avatar
Riri Novita committed
5246 5247 5248
                                                        />
                                                    }
                                                />
Riri Novita's avatar
Riri Novita committed
5249 5250 5251
                                            </div>
                                        </div>
                                        <div className="col-3">
Riri Novita's avatar
Riri Novita committed
5252 5253 5254 5255 5256 5257 5258
                                            <div style={{ flex: 1 }}>
                                                <FormControlLabel
                                                    style={{ margin: 0 }}
                                                    value={val}
                                                    control={
                                                        <NumberFormat
                                                            thousandSeparator={true}
5259
                                                            style={{ color: (tableMeta.rowData[2] !== 0 && tableMeta.rowData[2] !== 1) && !tableMeta.rowData[49] ? '#5198ea' : '#000000de', fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
Riri Novita's avatar
Riri Novita committed
5260 5261 5262
                                                            type="text"
                                                            placeholder=""
                                                            disabled={true}
rifkaki's avatar
rifkaki committed
5263
                                                            value={Number(tableMeta.rowData[18]).toFixed(1)}
Riri Novita's avatar
Riri Novita committed
5264 5265 5266
                                                        />
                                                    }
                                                />
Riri Novita's avatar
Riri Novita committed
5267 5268 5269 5270 5271
                                            </div>
                                        </div>
                                    </div>
                                    <div className="grid grid-3x content-center">
                                        <div className="col-1">
Riri Novita's avatar
Riri Novita committed
5272 5273 5274 5275 5276 5277 5278
                                            <div style={{ flex: 1 }}>
                                                <FormControlLabel
                                                    style={{ margin: 0 }}
                                                    value={val}
                                                    control={
                                                        <NumberFormat
                                                            thousandSeparator={true}
5279
                                                            style={{ color: (tableMeta.rowData[2] !== 0 && tableMeta.rowData[2] !== 1) && !tableMeta.rowData[49] ? '#5198ea' : '#000000de', fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
Riri Novita's avatar
Riri Novita committed
5280 5281 5282 5283
                                                            type="text"
                                                            placeholder=""
                                                            disabled={true}
                                                            suffix={'%'}
rifkaki's avatar
rifkaki committed
5284
                                                            value={tableMeta.rowData[19]}
qorri_di's avatar
qorri_di committed
5285
                                                        // value={Number(tableMeta.rowData[19]).toFixed(1)}
Riri Novita's avatar
Riri Novita committed
5286 5287 5288
                                                        />
                                                    }
                                                />
Riri Novita's avatar
Riri Novita committed
5289 5290 5291
                                            </div>
                                        </div>
                                        <div className="col-2">
Riri Novita's avatar
Riri Novita committed
5292 5293 5294 5295 5296 5297 5298
                                            <div style={{ flex: 1 }}>
                                                <FormControlLabel
                                                    style={{ margin: 0 }}
                                                    value={val}
                                                    control={
                                                        <NumberFormat
                                                            thousandSeparator={true}
5299
                                                            style={{ color: (tableMeta.rowData[2] !== 0 && tableMeta.rowData[2] !== 1) && !tableMeta.rowData[49] ? '#5198ea' : '#000000de', fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
Riri Novita's avatar
Riri Novita committed
5300 5301 5302
                                                            type="text"
                                                            placeholder=""
                                                            disabled={true}
rifkaki's avatar
rifkaki committed
5303
                                                            value={Number(tableMeta.rowData[20]).toFixed(1)}
Riri Novita's avatar
Riri Novita committed
5304 5305 5306
                                                        />
                                                    }
                                                />
Riri Novita's avatar
Riri Novita committed
5307 5308 5309
                                            </div>
                                        </div>
                                        <div className="col-3">
Riri Novita's avatar
Riri Novita committed
5310 5311 5312 5313 5314 5315 5316
                                            <div style={{ flex: 1 }}>
                                                <FormControlLabel
                                                    style={{ margin: 0 }}
                                                    value={val}
                                                    control={
                                                        <NumberFormat
                                                            thousandSeparator={true}
5317
                                                            style={{ color: (tableMeta.rowData[2] !== 0 && tableMeta.rowData[2] !== 1) && !tableMeta.rowData[49] ? '#5198ea' : '#000000de', fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
Riri Novita's avatar
Riri Novita committed
5318 5319 5320
                                                            type="text"
                                                            placeholder=""
                                                            disabled={true}
rifkaki's avatar
rifkaki committed
5321
                                                            value={Number(tableMeta.rowData[21]).toFixed(1)}
Riri Novita's avatar
Riri Novita committed
5322 5323 5324
                                                        />
                                                    }
                                                />
Riri Novita's avatar
Riri Novita committed
5325 5326 5327 5328 5329 5330 5331 5332 5333 5334 5335 5336 5337 5338 5339 5340 5341 5342 5343 5344 5345 5346 5347 5348 5349 5350 5351
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        )
                    }
                }
            }, {
                name: "",
                options: {
                    display: false
                }
            }, {
                name: "",
                options: {
                    display: false
                }
            }, {
                name: "",
                options: {
                    display: false
                }
            }, {
                name: "",
                options: {
                    display: false
Riri Novita's avatar
Riri Novita committed
5352
                }
Riri Novita's avatar
Riri Novita committed
5353 5354 5355 5356 5357 5358 5359 5360 5361 5362 5363 5364 5365 5366
            }, {
                name: "",
                options: {
                    display: false
                }
            }, {
                name: "",
                options: {
                    display: false
                }
            }, {
                name: `NPAT`,
                options: {
                    customHeadRender: (columnMeta) => (
rifkaki's avatar
rifkaki committed
5367
                        <th style={{ ...style2, top: 0, backgroundColor: '#1c71b8', color: '#fff', fontSize: 13, fontWeight: 1, width: 150, borderRight: "1px solid rgb(255, 255, 255)" }} >
Riri Novita's avatar
Riri Novita committed
5368
                            <div style={{ borderBottom: "1px #fff solid", textAlign: 'center', fontSize: 12, fontWeight: 'bold', padding: 5 }}>{columnMeta.name}</div>
Riri Novita's avatar
Riri Novita committed
5369
                            <div className="grid grid-2x" style={{ ...style2, backgroundColor: '#37b5e6', color: '#fff', fontSize: 12, fontWeight: 'bold', position: "sticky" }}>
Riri Novita's avatar
Riri Novita committed
5370
                                <div className="column-1 grid grid-3x" style={{ placeSelf: 'center', textAlign: 'center' }}>
5371 5372
                                    <div className="column-1" style={{ placeSelf: 'center', textAlign: 'center', padding: 5, borderRight: "1px #fff solid", backgroundColor: '#07a7d0' }}>
                                        <span>{`${Number(this.props.periode) - 1}`}</span>
Riri Novita's avatar
Riri Novita committed
5373
                                    </div>
5374 5375
                                    <div className="column-2" style={{ placeSelf: 'center', textAlign: 'center', padding: 5, borderRight: "1px #fff solid", backgroundColor: '#37b5e6' }}>
                                        <span>{`OL ${Number(this.props.periode)}`}</span>
Riri Novita's avatar
Riri Novita committed
5376
                                    </div>
5377 5378
                                    <div className="column-3" style={{ placeSelf: 'center', textAlign: 'center', padding: 5, borderRight: "1px #fff solid", backgroundColor: '#37b5e6' }}>
                                        <span>{`MB ${Number(this.props.periode)}`}</span>
Riri Novita's avatar
Riri Novita committed
5379
                                    </div>
5380 5381
                                </div>
                                <div className="column-2 grid grid-3x" style={{ placeSelf: 'center', textAlign: 'center' }}>
Riri Novita's avatar
Riri Novita committed
5382
                                    <div className="column-1" style={{ placeSelf: 'center', textAlign: 'center', padding: 5, borderRight: "1px #fff solid", backgroundColor: '#37b5e6' }}>
5383
                                        <span>{"% of MB"}</span>
Riri Novita's avatar
Riri Novita committed
5384 5385
                                    </div>
                                    <div className="column-2" style={{ placeSelf: 'center', textAlign: 'center', padding: 5, borderRight: "1px #fff solid", backgroundColor: '#1c71b8' }}>
rifkaki's avatar
rifkaki committed
5386
                                        <span>{`${Number(this.props.periode) + 1}`}</span>
Riri Novita's avatar
Riri Novita committed
5387
                                    </div>
Riri Novita's avatar
Riri Novita committed
5388
                                    <div className="column-3" style={{ placeSelf: 'center', textAlign: 'center', padding: 5, backgroundColor: '#1c71b8' }}>
rifkaki's avatar
rifkaki committed
5389
                                        <span>{`${Number(this.props.periode) + 2}`}</span>
Riri Novita's avatar
Riri Novita committed
5390
                                    </div>
5391
                                </div>
Riri Novita's avatar
Riri Novita committed
5392 5393 5394 5395 5396 5397 5398
                            </div>
                        </th>
                    ),
                    setCellProps: () => ({ style2 }),
                    customBodyRender: (val, tableMeta, updateValue) => {
                        return (
                            <div>
5399 5400
                                <div className="grid grid-2x content-center">
                                    <div className="grid grid-3x content-center">
Riri Novita's avatar
Riri Novita committed
5401
                                        <div className="col-1">
Riri Novita's avatar
Riri Novita committed
5402 5403 5404 5405 5406 5407 5408
                                            <div style={{ flex: 1 }}>
                                                <FormControlLabel
                                                    style={{ margin: 0 }}
                                                    value={val}
                                                    control={
                                                        <NumberFormat
                                                            thousandSeparator={true}
5409
                                                            style={{ color: (tableMeta.rowData[2] !== 0 && tableMeta.rowData[2] !== 1) && !tableMeta.rowData[49] ? '#5198ea' : '#000000de', fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 86, backgroundColor: 'transparent' }}
Riri Novita's avatar
Riri Novita committed
5410 5411 5412
                                                            type="text"
                                                            placeholder=""
                                                            disabled={true}
5413
                                                            value={Number(tableMeta.rowData[22]).toFixed(1)}
Riri Novita's avatar
Riri Novita committed
5414 5415 5416
                                                        />
                                                    }
                                                />
Riri Novita's avatar
Riri Novita committed
5417
                                            </div>
Riri Novita's avatar
Riri Novita committed
5418
                                        </div>
Riri Novita's avatar
Riri Novita committed
5419
                                        <div className="col-2">
Riri Novita's avatar
Riri Novita committed
5420 5421 5422 5423 5424 5425 5426
                                            <div style={{ flex: 1 }}>
                                                <FormControlLabel
                                                    style={{ margin: 0 }}
                                                    value={val}
                                                    control={
                                                        <NumberFormat
                                                            thousandSeparator={true}
5427
                                                            style={{ color: (tableMeta.rowData[2] !== 0 && tableMeta.rowData[2] !== 1) && !tableMeta.rowData[49] ? '#5198ea' : '#000000de', fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
Riri Novita's avatar
Riri Novita committed
5428 5429 5430
                                                            type="text"
                                                            placeholder=""
                                                            disabled={true}
5431
                                                            value={Number(tableMeta.rowData[23]).toFixed(1)}
Riri Novita's avatar
Riri Novita committed
5432 5433 5434
                                                        />
                                                    }
                                                />
Riri Novita's avatar
Riri Novita committed
5435
                                            </div>
Riri Novita's avatar
Riri Novita committed
5436
                                        </div>
Riri Novita's avatar
Riri Novita committed
5437
                                        <div className="col-3">
Riri Novita's avatar
Riri Novita committed
5438 5439 5440 5441 5442 5443 5444
                                            <div style={{ flex: 1 }}>
                                                <FormControlLabel
                                                    style={{ margin: 0 }}
                                                    value={val}
                                                    control={
                                                        <NumberFormat
                                                            thousandSeparator={true}
5445
                                                            style={{ color: (tableMeta.rowData[2] !== 0 && tableMeta.rowData[2] !== 1) && !tableMeta.rowData[49] ? '#5198ea' : '#000000de', fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
Riri Novita's avatar
Riri Novita committed
5446 5447 5448
                                                            type="text"
                                                            placeholder=""
                                                            disabled={true}
5449
                                                            value={Number(tableMeta.rowData[24]).toFixed(1)}
Riri Novita's avatar
Riri Novita committed
5450 5451 5452
                                                        />
                                                    }
                                                />
Riri Novita's avatar
Riri Novita committed
5453
                                            </div>
Riri Novita's avatar
Riri Novita committed
5454
                                        </div>
Riri Novita's avatar
Riri Novita committed
5455
                                    </div>
5456
                                    <div className="grid grid-3x content-center">
Riri Novita's avatar
Riri Novita committed
5457
                                        <div className="col-1">
Riri Novita's avatar
Riri Novita committed
5458 5459 5460 5461 5462 5463 5464
                                            <div style={{ flex: 1 }}>
                                                <FormControlLabel
                                                    style={{ margin: 0 }}
                                                    value={val}
                                                    control={
                                                        <NumberFormat
                                                            thousandSeparator={true}
5465
                                                            style={{ color: (tableMeta.rowData[2] !== 0 && tableMeta.rowData[2] !== 1) && !tableMeta.rowData[49] ? '#5198ea' : '#000000de', fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
Riri Novita's avatar
Riri Novita committed
5466 5467
                                                            type="text"
                                                            placeholder=""
5468
                                                            suffix={'%'}
Riri Novita's avatar
Riri Novita committed
5469
                                                            disabled={true}
5470
                                                            value={tableMeta.rowData[25]}
qorri_di's avatar
qorri_di committed
5471
                                                        // value={Number(tableMeta.rowData[25]).toFixed(1)}
Riri Novita's avatar
Riri Novita committed
5472 5473 5474
                                                        />
                                                    }
                                                />
Riri Novita's avatar
Riri Novita committed
5475
                                            </div>
Riri Novita's avatar
Riri Novita committed
5476
                                        </div>
Riri Novita's avatar
Riri Novita committed
5477
                                        <div className="col-2">
Riri Novita's avatar
Riri Novita committed
5478 5479 5480 5481 5482 5483 5484
                                            <div style={{ flex: 1 }}>
                                                <FormControlLabel
                                                    style={{ margin: 0 }}
                                                    value={val}
                                                    control={
                                                        <NumberFormat
                                                            thousandSeparator={true}
5485
                                                            style={{ color: (tableMeta.rowData[2] !== 0 && tableMeta.rowData[2] !== 1) && !tableMeta.rowData[49] ? '#5198ea' : '#000000de', fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
Riri Novita's avatar
Riri Novita committed
5486 5487 5488
                                                            type="text"
                                                            placeholder=""
                                                            disabled={true}
5489
                                                            value={Number(tableMeta.rowData[26]).toFixed(1)}
Riri Novita's avatar
Riri Novita committed
5490 5491 5492
                                                        />
                                                    }
                                                />
Riri Novita's avatar
Riri Novita committed
5493
                                            </div>
Riri Novita's avatar
Riri Novita committed
5494
                                        </div>
Riri Novita's avatar
Riri Novita committed
5495
                                        <div className="col-3">
Riri Novita's avatar
Riri Novita committed
5496 5497 5498 5499 5500 5501 5502
                                            <div style={{ flex: 1 }}>
                                                <FormControlLabel
                                                    style={{ margin: 0 }}
                                                    value={val}
                                                    control={
                                                        <NumberFormat
                                                            thousandSeparator={true}
5503
                                                            style={{ color: (tableMeta.rowData[2] !== 0 && tableMeta.rowData[2] !== 1) && !tableMeta.rowData[49] ? '#5198ea' : '#000000de', fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
Riri Novita's avatar
Riri Novita committed
5504 5505 5506
                                                            type="text"
                                                            placeholder=""
                                                            disabled={true}
5507
                                                            value={Number(tableMeta.rowData[27]).toFixed(1)}
Riri Novita's avatar
Riri Novita committed
5508 5509 5510
                                                        />
                                                    }
                                                />
Riri Novita's avatar
Riri Novita committed
5511
                                            </div>
Riri Novita's avatar
Riri Novita committed
5512
                                        </div>
5513
                                    </div>
Riri Novita's avatar
Riri Novita committed
5514 5515
                                </div>
                            </div>
Riri Novita's avatar
Riri Novita committed
5516 5517
                        )
                    }
Riri Novita's avatar
Riri Novita committed
5518
                }
Riri Novita's avatar
Riri Novita committed
5519 5520 5521 5522 5523 5524 5525 5526 5527 5528 5529 5530 5531 5532 5533 5534
            }, {
                name: "",
                options: {
                    display: false
                }
            }, {
                name: "",
                options: {
                    display: false
                }
            }, {
                name: "",
                options: {
                    display: false
                }
            }, {
5535 5536 5537 5538 5539 5540 5541 5542 5543 5544 5545 5546 5547 5548 5549 5550
                name: "",
                options: {
                    display: false
                }
            }, {
                name: "",
                options: {
                    display: false
                }
            }, {
                name: "",
                options: {
                    display: false
                }
            }, {
                name: `ROIC`,
Riri Novita's avatar
Riri Novita committed
5551 5552
                options: {
                    customHeadRender: (columnMeta) => (
rifkaki's avatar
rifkaki committed
5553
                        <th style={{ ...style2, top: 0, backgroundColor: '#1c71b8', color: '#fff', fontSize: 13, fontWeight: 1, width: 150, borderRight: "1px solid rgb(255, 255, 255)" }} >
Riri Novita's avatar
Riri Novita committed
5554 5555
                            <div style={{ borderBottom: "1px #fff solid", textAlign: 'center', fontSize: 12, fontWeight: 'bold', padding: 5 }}>{columnMeta.name}</div>
                            <div className="grid grid-3x" style={{ ...style2, backgroundColor: '#1c71b8', color: '#fff', fontSize: 12, fontWeight: 'bold', position: "sticky" }}>
5556 5557 5558 5559 5560 5561 5562 5563 5564 5565 5566 5567 5568 5569 5570 5571 5572 5573 5574 5575 5576 5577 5578 5579 5580 5581 5582 5583 5584 5585 5586 5587 5588 5589
                                <div className="column-1" style={{ placeSelf: 'center', textAlign: 'center', padding: 5, borderRight: "1px #fff solid", backgroundColor: '#37b5e6' }}>
                                    <span>{`OL ${Number(this.props.periode)}`}</span>
                                </div>
                                <div className="column-2" style={{ placeSelf: 'center', textAlign: 'center', padding: 5, borderRight: "1px #fff solid", backgroundColor: '#1c71b8' }}>
                                    <span>{`${Number(this.props.periode) + 1}`}</span>
                                </div>
                                <div className="column-3" style={{ placeSelf: 'center', textAlign: 'center', padding: 5, backgroundColor: '#1c71b8' }}>
                                    <span>{`${Number(this.props.periode) + 2}`}</span>
                                </div>
                            </div>
                        </th>
                    ),
                    setCellProps: () => ({ style2 }),
                    customBodyRender: (val, tableMeta, updateValue) => {
                        return (
                            <div>
                                <div className="grid grid-3x content-center">
                                    <div className="col-1">
                                        <div style={{ flex: 1 }}>
                                            <FormControlLabel
                                                style={{ margin: 0 }}
                                                value={val}
                                                control={
                                                    <NumberFormat
                                                        thousandSeparator={true}
                                                        style={{ color: (tableMeta.rowData[2] !== 0 && tableMeta.rowData[2] !== 1) && !tableMeta.rowData[49] ? '#5198ea' : '#000000de', fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
                                                        type="text"
                                                        placeholder=""
                                                        disabled={true}
                                                        value={Number(tableMeta.rowData[28]).toFixed(2)}
                                                    />
                                                }
                                            />
                                        </div>
Riri Novita's avatar
Riri Novita committed
5590
                                    </div>
5591 5592 5593 5594 5595 5596 5597 5598 5599 5600 5601 5602 5603 5604 5605 5606 5607
                                    <div className="col-2">
                                        <div style={{ flex: 1 }}>
                                            <FormControlLabel
                                                style={{ margin: 0 }}
                                                value={val}
                                                control={
                                                    <NumberFormat
                                                        thousandSeparator={true}
                                                        style={{ color: (tableMeta.rowData[2] !== 0 && tableMeta.rowData[2] !== 1) && !tableMeta.rowData[49] ? '#5198ea' : '#000000de', fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
                                                        type="text"
                                                        placeholder=""
                                                        disabled={true}
                                                        value={Number(tableMeta.rowData[29]).toFixed(2)}
                                                    />
                                                }
                                            />
                                        </div>
Riri Novita's avatar
Riri Novita committed
5608
                                    </div>
5609 5610 5611 5612 5613 5614 5615 5616 5617 5618 5619 5620 5621 5622 5623 5624 5625
                                    <div className="col-3">
                                        <div style={{ flex: 1 }}>
                                            <FormControlLabel
                                                style={{ margin: 0 }}
                                                value={val}
                                                control={
                                                    <NumberFormat
                                                        thousandSeparator={true}
                                                        style={{ color: (tableMeta.rowData[2] !== 0 && tableMeta.rowData[2] !== 1) && !tableMeta.rowData[49] ? '#5198ea' : '#000000de', fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
                                                        type="text"
                                                        placeholder=""
                                                        disabled={true}
                                                        value={Number(tableMeta.rowData[30]).toFixed(2)}
                                                    />
                                                }
                                            />
                                        </div>
Riri Novita's avatar
Riri Novita committed
5626
                                    </div>
5627 5628 5629 5630 5631 5632 5633 5634 5635 5636 5637 5638 5639 5640 5641 5642 5643 5644 5645 5646 5647 5648 5649 5650 5651 5652 5653 5654 5655 5656 5657 5658 5659 5660 5661 5662
                                </div>
                            </div>
                        )
                    }
                }
            }, {
                name: "",
                options: {
                    display: false
                }
            }, {
                name: "",
                options: {
                    display: false
                }
            }, {
                name: "",
                options: {
                    display: false
                }
            }, {
                name: `EBITDA Margin`,
                options: {
                    customHeadRender: (columnMeta) => (
                        <th style={{ ...style2, top: 0, backgroundColor: '#1c71b8', color: '#fff', fontSize: 13, fontWeight: 1, width: 150, borderRight: "1px solid rgb(255, 255, 255)" }} >
                            <div style={{ borderBottom: "1px #fff solid", textAlign: 'center', fontSize: 12, fontWeight: 'bold', padding: 5 }}>{columnMeta.name}</div>
                            <div className="grid grid-3x" style={{ ...style2, backgroundColor: '#1c71b8', color: '#fff', fontSize: 12, fontWeight: 'bold', position: "sticky" }}>
                                <div className="column-1" style={{ placeSelf: 'center', textAlign: 'center', padding: 5, borderRight: "1px #fff solid", backgroundColor: '#37b5e6' }}>
                                    <span>{`OL ${Number(this.props.periode)}`}</span>
                                </div>
                                <div className="column-2" style={{ placeSelf: 'center', textAlign: 'center', padding: 5, borderRight: "1px #fff solid", backgroundColor: '#1c71b8' }}>
                                    <span>{`${Number(this.props.periode) + 1}`}</span>
                                </div>
                                <div className="column-3" style={{ placeSelf: 'center', textAlign: 'center', padding: 5, backgroundColor: '#1c71b8' }}>
                                    <span>{`${Number(this.props.periode) + 2}`}</span>
                                </div>
Riri Novita's avatar
Riri Novita committed
5663 5664 5665 5666 5667 5668 5669
                            </div>
                        </th>
                    ),
                    setCellProps: () => ({ style2 }),
                    customBodyRender: (val, tableMeta, updateValue) => {
                        return (
                            <div>
Riri Novita's avatar
Riri Novita committed
5670
                                <div className="grid grid-3x content-center">
5671 5672 5673 5674 5675 5676 5677 5678 5679 5680 5681 5682 5683 5684 5685 5686
                                    <div className="col-1">
                                        <div style={{ flex: 1 }}>
                                            <FormControlLabel
                                                style={{ margin: 0 }}
                                                value={val}
                                                control={
                                                    <NumberFormat
                                                        thousandSeparator={true}
                                                        style={{ color: (tableMeta.rowData[2] !== 0 && tableMeta.rowData[2] !== 1) && !tableMeta.rowData[49] ? '#5198ea' : '#000000de', fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
                                                        type="text"
                                                        placeholder=""
                                                        disabled={true}
                                                        value={(tableMeta.rowData[31])}
                                                    />
                                                }
                                            />
Riri Novita's avatar
Riri Novita committed
5687
                                        </div>
5688 5689 5690 5691 5692 5693 5694 5695 5696 5697 5698 5699 5700 5701 5702 5703 5704
                                    </div>
                                    <div className="col-2">
                                        <div style={{ flex: 1 }}>
                                            <FormControlLabel
                                                style={{ margin: 0 }}
                                                value={val}
                                                control={
                                                    <NumberFormat
                                                        thousandSeparator={true}
                                                        style={{ color: (tableMeta.rowData[2] !== 0 && tableMeta.rowData[2] !== 1) && !tableMeta.rowData[49] ? '#5198ea' : '#000000de', fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
                                                        type="text"
                                                        placeholder=""
                                                        disabled={true}
                                                        value={(tableMeta.rowData[32])}
                                                    />
                                                }
                                            />
Riri Novita's avatar
Riri Novita committed
5705
                                        </div>
5706 5707 5708 5709 5710 5711 5712 5713 5714 5715 5716 5717 5718 5719 5720 5721 5722
                                    </div>
                                    <div className="col-3">
                                        <div style={{ flex: 1 }}>
                                            <FormControlLabel
                                                style={{ margin: 0 }}
                                                value={val}
                                                control={
                                                    <NumberFormat
                                                        thousandSeparator={true}
                                                        style={{ color: (tableMeta.rowData[2] !== 0 && tableMeta.rowData[2] !== 1) && !tableMeta.rowData[49] ? '#5198ea' : '#000000de', fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
                                                        type="text"
                                                        placeholder=""
                                                        disabled={true}
                                                        value={(tableMeta.rowData[33])}
                                                    />
                                                }
                                            />
Riri Novita's avatar
Riri Novita committed
5723
                                        </div>
5724
                                    </div>
Riri Novita's avatar
Riri Novita committed
5725
                                </div>
Riri Novita's avatar
Riri Novita committed
5726 5727 5728 5729 5730 5731 5732 5733 5734 5735 5736 5737 5738 5739 5740 5741 5742 5743 5744 5745
                            </div>
                        )
                    }
                }
            }, {
                name: "",
                options: {
                    display: false
                }
            }, {
                name: "",
                options: {
                    display: false
                }
            }, {
                name: "",
                options: {
                    display: false
                }
            }, {
5746
                name: `TPAT Margin`,
Riri Novita's avatar
Riri Novita committed
5747 5748
                options: {
                    customHeadRender: (columnMeta) => (
rifkaki's avatar
rifkaki committed
5749
                        <th style={{ ...style2, top: 0, backgroundColor: '#1c71b8', color: '#fff', fontSize: 13, fontWeight: 1, width: 150, borderRight: "1px solid rgb(255, 255, 255)" }} >
Riri Novita's avatar
Riri Novita committed
5750 5751
                            <div style={{ borderBottom: "1px #fff solid", textAlign: 'center', fontSize: 12, fontWeight: 'bold', padding: 5 }}>{columnMeta.name}</div>
                            <div className="grid grid-3x" style={{ ...style2, backgroundColor: '#1c71b8', color: '#fff', fontSize: 12, fontWeight: 'bold', position: "sticky" }}>
5752 5753 5754 5755 5756 5757 5758 5759 5760 5761 5762 5763 5764 5765 5766 5767 5768 5769 5770 5771 5772 5773 5774 5775 5776 5777 5778 5779 5780 5781 5782 5783 5784 5785
                                <div className="column-1" style={{ placeSelf: 'center', textAlign: 'center', padding: 5, borderRight: "1px #fff solid", backgroundColor: '#37b5e6' }}>
                                    <span>{`OL ${Number(this.props.periode)}`}</span>
                                </div>
                                <div className="column-2" style={{ placeSelf: 'center', textAlign: 'center', padding: 5, borderRight: "1px #fff solid", backgroundColor: '#1c71b8' }}>
                                    <span>{`${Number(this.props.periode) + 1}`}</span>
                                </div>
                                <div className="column-3" style={{ placeSelf: 'center', textAlign: 'center', padding: 5, backgroundColor: '#1c71b8' }}>
                                    <span>{`${Number(this.props.periode) + 2}`}</span>
                                </div>
                            </div>
                        </th>
                    ),
                    setCellProps: () => ({ style2 }),
                    customBodyRender: (val, tableMeta, updateValue) => {
                        return (
                            <div>
                                <div className="grid grid-3x content-center">
                                    <div className="col-1">
                                        <div style={{ flex: 1 }}>
                                            <FormControlLabel
                                                style={{ margin: 0 }}
                                                value={val}
                                                control={
                                                    <NumberFormat
                                                        thousandSeparator={true}
                                                        style={{ color: (tableMeta.rowData[2] !== 0 && tableMeta.rowData[2] !== 1) && !tableMeta.rowData[49] ? '#5198ea' : '#000000de', fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
                                                        type="text"
                                                        placeholder=""
                                                        disabled={true}
                                                        value={(tableMeta.rowData[34])}
                                                    />
                                                }
                                            />
                                        </div>
Riri Novita's avatar
Riri Novita committed
5786
                                    </div>
5787 5788 5789 5790 5791 5792 5793 5794 5795 5796 5797 5798 5799 5800 5801 5802 5803
                                    <div className="col-2">
                                        <div style={{ flex: 1 }}>
                                            <FormControlLabel
                                                style={{ margin: 0 }}
                                                value={val}
                                                control={
                                                    <NumberFormat
                                                        thousandSeparator={true}
                                                        style={{ color: (tableMeta.rowData[2] !== 0 && tableMeta.rowData[2] !== 1) && !tableMeta.rowData[49] ? '#5198ea' : '#000000de', fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
                                                        type="text"
                                                        placeholder=""
                                                        disabled={true}
                                                        value={(tableMeta.rowData[35])}
                                                    />
                                                }
                                            />
                                        </div>
Riri Novita's avatar
Riri Novita committed
5804
                                    </div>
5805 5806 5807 5808 5809 5810 5811 5812 5813 5814 5815 5816 5817 5818 5819 5820 5821
                                    <div className="col-3">
                                        <div style={{ flex: 1 }}>
                                            <FormControlLabel
                                                style={{ margin: 0 }}
                                                value={val}
                                                control={
                                                    <NumberFormat
                                                        thousandSeparator={true}
                                                        style={{ color: (tableMeta.rowData[2] !== 0 && tableMeta.rowData[2] !== 1) && !tableMeta.rowData[49] ? '#5198ea' : '#000000de', fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
                                                        type="text"
                                                        placeholder=""
                                                        disabled={true}
                                                        value={(tableMeta.rowData[36])}
                                                    />
                                                }
                                            />
                                        </div>
Riri Novita's avatar
Riri Novita committed
5822
                                    </div>
5823 5824 5825 5826 5827 5828 5829 5830 5831 5832 5833 5834 5835 5836 5837 5838 5839 5840 5841 5842 5843 5844 5845 5846 5847 5848 5849 5850 5851 5852 5853 5854 5855 5856 5857 5858
                                </div>
                            </div>
                        )
                    }
                }
            }, {
                name: "",
                options: {
                    display: false
                }
            }, {
                name: "",
                options: {
                    display: false
                }
            }, {
                name: "",
                options: {
                    display: false
                }
            }, {
                name: `% Revenue YoY`,
                options: {
                    customHeadRender: (columnMeta) => (
                        <th style={{ ...style2, top: 0, backgroundColor: '#1c71b8', color: '#fff', fontSize: 13, fontWeight: 1, width: 150, borderRight: "1px solid rgb(255, 255, 255)" }} >
                            <div style={{ borderBottom: "1px #fff solid", textAlign: 'center', fontSize: 12, fontWeight: 'bold', padding: 5 }}>{columnMeta.name}</div>
                            <div className="grid grid-3x" style={{ ...style2, backgroundColor: '#1c71b8', color: '#fff', fontSize: 12, fontWeight: 'bold', position: "sticky" }}>
                                <div className="column-1" style={{ placeSelf: 'center', textAlign: 'center', padding: 5, borderRight: "1px #fff solid", backgroundColor: '#37b5e6' }}>
                                    <span>{`OL ${Number(this.props.periode)}`}</span>
                                </div>
                                <div className="column-2" style={{ placeSelf: 'center', textAlign: 'center', padding: 5, borderRight: "1px #fff solid", backgroundColor: '#1c71b8' }}>
                                    <span>{`${Number(this.props.periode) + 1}`}</span>
                                </div>
                                <div className="column-3" style={{ placeSelf: 'center', textAlign: 'center', padding: 5, backgroundColor: '#1c71b8' }}>
                                    <span>{`${Number(this.props.periode) + 2}`}</span>
                                </div>
Riri Novita's avatar
Riri Novita committed
5859 5860 5861 5862 5863 5864 5865
                            </div>
                        </th>
                    ),
                    setCellProps: () => ({ style2 }),
                    customBodyRender: (val, tableMeta, updateValue) => {
                        return (
                            <div>
Riri Novita's avatar
Riri Novita committed
5866
                                <div className="grid grid-3x content-center">
5867 5868 5869 5870 5871 5872 5873 5874 5875 5876 5877 5878 5879 5880
                                    <div className="col-1">
                                        <div style={{ flex: 1 }}>
                                            <FormControlLabel
                                                style={{ margin: 0 }}
                                                value={val}
                                                control={
                                                    <NumberFormat
                                                        thousandSeparator={true}
                                                        style={{ color: (tableMeta.rowData[2] !== 0 && tableMeta.rowData[2] !== 1) && !tableMeta.rowData[49] ? '#5198ea' : '#000000de', fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
                                                        type="text"
                                                        placeholder=""
                                                        disabled={true}
                                                        suffix={'%'}
                                                        value={tableMeta.rowData[37]}
qorri_di's avatar
qorri_di committed
5881
                                                    // value={Number(tableMeta.rowData[37]).toFixed(1)}
5882 5883 5884
                                                    />
                                                }
                                            />
Riri Novita's avatar
Riri Novita committed
5885
                                        </div>
5886 5887 5888 5889 5890 5891 5892 5893 5894 5895 5896 5897 5898 5899 5900
                                    </div>
                                    <div className="col-2">
                                        <div style={{ flex: 1 }}>
                                            <FormControlLabel
                                                style={{ margin: 0 }}
                                                value={val}
                                                control={
                                                    <NumberFormat
                                                        thousandSeparator={true}
                                                        style={{ color: (tableMeta.rowData[2] !== 0 && tableMeta.rowData[2] !== 1) && !tableMeta.rowData[49] ? '#5198ea' : '#000000de', fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
                                                        type="text"
                                                        placeholder=""
                                                        suffix={'%'}
                                                        disabled={true}
                                                        value={tableMeta.rowData[38]}
qorri_di's avatar
qorri_di committed
5901
                                                    // value={Number(tableMeta.rowData[38]).toFixed(1)}
5902 5903 5904
                                                    />
                                                }
                                            />
Riri Novita's avatar
Riri Novita committed
5905
                                        </div>
5906 5907 5908 5909 5910 5911 5912 5913 5914 5915 5916 5917 5918 5919 5920
                                    </div>
                                    <div className="col-3">
                                        <div style={{ flex: 1 }}>
                                            <FormControlLabel
                                                style={{ margin: 0 }}
                                                value={val}
                                                control={
                                                    <NumberFormat
                                                        thousandSeparator={true}
                                                        style={{ color: (tableMeta.rowData[2] !== 0 && tableMeta.rowData[2] !== 1) && !tableMeta.rowData[49] ? '#5198ea' : '#000000de', fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
                                                        type="text"
                                                        suffix={'%'}
                                                        placeholder=""
                                                        disabled={true}
                                                        value={tableMeta.rowData[39]}
qorri_di's avatar
qorri_di committed
5921
                                                    // value={Number(tableMeta.rowData[39]).toFixed(1)}
5922 5923 5924
                                                    />
                                                }
                                            />
Riri Novita's avatar
Riri Novita committed
5925
                                        </div>
5926
                                    </div>
Riri Novita's avatar
Riri Novita committed
5927
                                </div>
Riri Novita's avatar
Riri Novita committed
5928
                            </div>
Riri Novita's avatar
Riri Novita committed
5929 5930
                        )
                    }
Riri Novita's avatar
Riri Novita committed
5931
                }
Riri Novita's avatar
Riri Novita committed
5932 5933 5934 5935 5936 5937 5938 5939 5940 5941 5942 5943 5944 5945 5946 5947 5948 5949 5950
            }, {
                name: "",
                options: {
                    display: false
                }
            }, {
                name: "",
                options: {
                    display: false
                }
            }, {
                name: "",
                options: {
                    display: false
                }
            }, {
                name: `% EBITDA YoY`,
                options: {
                    customHeadRender: (columnMeta) => (
rifkaki's avatar
rifkaki committed
5951
                        <th style={{ ...style2, top: 0, backgroundColor: '#1c71b8', color: '#fff', fontSize: 13, fontWeight: 1, width: 150, borderRight: "1px solid rgb(255, 255, 255)" }} >
Riri Novita's avatar
Riri Novita committed
5952 5953
                            <div style={{ borderBottom: "1px #fff solid", textAlign: 'center', fontSize: 12, fontWeight: 'bold', padding: 5 }}>{columnMeta.name}</div>
                            <div className="grid grid-3x" style={{ ...style2, backgroundColor: '#1c71b8', color: '#fff', fontSize: 12, fontWeight: 'bold', position: "sticky" }}>
5954 5955 5956 5957 5958 5959 5960 5961 5962
                                <div className="column-1" style={{ placeSelf: 'center', textAlign: 'center', padding: 5, borderRight: "1px #fff solid", backgroundColor: '#37b5e6' }}>
                                    <span>{`OL ${Number(this.props.periode)}`}</span>
                                </div>
                                <div className="column-2" style={{ placeSelf: 'center', textAlign: 'center', padding: 5, borderRight: "1px #fff solid", backgroundColor: '#1c71b8' }}>
                                    <span>{`${Number(this.props.periode) + 1}`}</span>
                                </div>
                                <div className="column-3" style={{ placeSelf: 'center', textAlign: 'center', padding: 5, backgroundColor: '#1c71b8' }}>
                                    <span>{`${Number(this.props.periode) + 2}`}</span>
                                </div>
Riri Novita's avatar
Riri Novita committed
5963 5964 5965 5966 5967 5968 5969
                            </div>
                        </th>
                    ),
                    setCellProps: () => ({ style2 }),
                    customBodyRender: (val, tableMeta, updateValue) => {
                        return (
                            <div>
Riri Novita's avatar
Riri Novita committed
5970
                                <div className="grid grid-3x content-center">
5971 5972 5973 5974 5975 5976 5977 5978 5979 5980 5981 5982 5983 5984
                                    <div className="col-1">
                                        <div style={{ flex: 1 }}>
                                            <FormControlLabel
                                                style={{ margin: 0 }}
                                                value={val}
                                                control={
                                                    <NumberFormat
                                                        thousandSeparator={true}
                                                        style={{ color: (tableMeta.rowData[2] !== 0 && tableMeta.rowData[2] !== 1) && !tableMeta.rowData[49] ? '#5198ea' : '#000000de', fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
                                                        type="text"
                                                        placeholder=""
                                                        suffix={'%'}
                                                        disabled={true}
                                                        value={tableMeta.rowData[40]}
qorri_di's avatar
qorri_di committed
5985
                                                    // value={Number(tableMeta.rowData[40]).toFixed(1)}
5986 5987 5988
                                                    />
                                                }
                                            />
Riri Novita's avatar
Riri Novita committed
5989
                                        </div>
5990 5991 5992 5993 5994 5995 5996 5997 5998 5999 6000 6001 6002 6003 6004
                                    </div>
                                    <div className="col-2">
                                        <div style={{ flex: 1 }}>
                                            <FormControlLabel
                                                style={{ margin: 0 }}
                                                value={val}
                                                control={
                                                    <NumberFormat
                                                        thousandSeparator={true}
                                                        style={{ color: (tableMeta.rowData[2] !== 0 && tableMeta.rowData[2] !== 1) && !tableMeta.rowData[49] ? '#5198ea' : '#000000de', fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
                                                        type="text"
                                                        placeholder=""
                                                        suffix={'%'}
                                                        disabled={true}
                                                        value={tableMeta.rowData[41]}
qorri_di's avatar
qorri_di committed
6005
                                                    // value={Number(tableMeta.rowData[41]).toFixed(1)}
6006 6007 6008
                                                    />
                                                }
                                            />
Riri Novita's avatar
Riri Novita committed
6009
                                        </div>
6010 6011 6012 6013 6014 6015 6016 6017 6018 6019 6020 6021 6022 6023 6024
                                    </div>
                                    <div className="col-3">
                                        <div style={{ flex: 1 }}>
                                            <FormControlLabel
                                                style={{ margin: 0 }}
                                                value={val}
                                                control={
                                                    <NumberFormat
                                                        thousandSeparator={true}
                                                        style={{ color: (tableMeta.rowData[2] !== 0 && tableMeta.rowData[2] !== 1) && !tableMeta.rowData[49] ? '#5198ea' : '#000000de', fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
                                                        type="text"
                                                        placeholder=""
                                                        suffix={'%'}
                                                        disabled={true}
                                                        value={tableMeta.rowData[42]}
qorri_di's avatar
qorri_di committed
6025
                                                    // value={Number(tableMeta.rowData[42]).toFixed(1)}
6026 6027 6028
                                                    />
                                                }
                                            />
Riri Novita's avatar
Riri Novita committed
6029
                                        </div>
6030
                                    </div>
Riri Novita's avatar
Riri Novita committed
6031 6032
                                </div>
                            </div>
Riri Novita's avatar
Riri Novita committed
6033 6034
                        )
                    }
Riri Novita's avatar
Riri Novita committed
6035
                }
Riri Novita's avatar
Riri Novita committed
6036 6037 6038 6039 6040 6041 6042 6043 6044 6045 6046 6047 6048 6049 6050 6051 6052 6053 6054
            }, {
                name: "",
                options: {
                    display: false
                }
            }, {
                name: "",
                options: {
                    display: false
                }
            }, {
                name: "",
                options: {
                    display: false
                }
            }, {
                name: `% TPAT YoY`,
                options: {
                    customHeadRender: (columnMeta) => (
rifkaki's avatar
rifkaki committed
6055
                        <th style={{ ...style2, top: 0, backgroundColor: '#1c71b8', color: '#fff', fontSize: 13, fontWeight: 1, width: 150, borderRight: "1px solid rgb(255, 255, 255)" }} >
Riri Novita's avatar
Riri Novita committed
6056 6057
                            <div style={{ borderBottom: "1px #fff solid", textAlign: 'center', fontSize: 12, fontWeight: 'bold', padding: 5 }}>{columnMeta.name}</div>
                            <div className="grid grid-3x" style={{ ...style2, backgroundColor: '#1c71b8', color: '#fff', fontSize: 12, fontWeight: 'bold', position: "sticky" }}>
6058 6059 6060 6061 6062 6063 6064 6065 6066
                                <div className="column-1" style={{ placeSelf: 'center', textAlign: 'center', padding: 5, borderRight: "1px #fff solid", backgroundColor: '#37b5e6' }}>
                                    <span>{`OL ${Number(this.props.periode)}`}</span>
                                </div>
                                <div className="column-2" style={{ placeSelf: 'center', textAlign: 'center', padding: 5, borderRight: "1px #fff solid", backgroundColor: '#1c71b8' }}>
                                    <span>{`${Number(this.props.periode) + 1}`}</span>
                                </div>
                                <div className="column-3" style={{ placeSelf: 'center', textAlign: 'center', padding: 5, backgroundColor: '#1c71b8' }}>
                                    <span>{`${Number(this.props.periode) + 2}`}</span>
                                </div>
Riri Novita's avatar
Riri Novita committed
6067 6068 6069 6070 6071 6072 6073
                            </div>
                        </th>
                    ),
                    setCellProps: () => ({ style2 }),
                    customBodyRender: (val, tableMeta, updateValue) => {
                        return (
                            <div>
Riri Novita's avatar
Riri Novita committed
6074
                                <div className="grid grid-3x content-center">
6075 6076 6077 6078 6079 6080 6081 6082 6083 6084 6085 6086 6087 6088
                                    <div className="col-1">
                                        <div style={{ flex: 1 }}>
                                            <FormControlLabel
                                                style={{ margin: 0 }}
                                                value={val}
                                                control={
                                                    <NumberFormat
                                                        thousandSeparator={true}
                                                        style={{ color: (tableMeta.rowData[2] !== 0 && tableMeta.rowData[2] !== 1) && !tableMeta.rowData[49] ? '#5198ea' : '#000000de', fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
                                                        type="text"
                                                        placeholder=""
                                                        suffix={'%'}
                                                        disabled={true}
                                                        value={tableMeta.rowData[43]}
qorri_di's avatar
qorri_di committed
6089
                                                    // value={Number(tableMeta.rowData[43]).toFixed(1)}
6090 6091 6092
                                                    />
                                                }
                                            />
Riri Novita's avatar
Riri Novita committed
6093
                                        </div>
6094 6095 6096 6097 6098 6099 6100 6101 6102 6103 6104 6105 6106 6107 6108
                                    </div>
                                    <div className="col-2">
                                        <div style={{ flex: 1 }}>
                                            <FormControlLabel
                                                style={{ margin: 0 }}
                                                value={val}
                                                control={
                                                    <NumberFormat
                                                        thousandSeparator={true}
                                                        style={{ color: (tableMeta.rowData[2] !== 0 && tableMeta.rowData[2] !== 1) && !tableMeta.rowData[49] ? '#5198ea' : '#000000de', fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
                                                        type="text"
                                                        placeholder=""
                                                        suffix={'%'}
                                                        disabled={true}
                                                        value={tableMeta.rowData[44]}
qorri_di's avatar
qorri_di committed
6109
                                                    // value={Number(tableMeta.rowData[44]).toFixed(1)}
6110 6111 6112
                                                    />
                                                }
                                            />
Riri Novita's avatar
Riri Novita committed
6113
                                        </div>
6114 6115 6116 6117 6118 6119 6120 6121 6122 6123 6124 6125 6126 6127 6128
                                    </div>
                                    <div className="col-3">
                                        <div style={{ flex: 1 }}>
                                            <FormControlLabel
                                                style={{ margin: 0 }}
                                                value={val}
                                                control={
                                                    <NumberFormat
                                                        thousandSeparator={true}
                                                        style={{ color: (tableMeta.rowData[2] !== 0 && tableMeta.rowData[2] !== 1) && !tableMeta.rowData[49] ? '#5198ea' : '#000000de', fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
                                                        type="text"
                                                        placeholder=""
                                                        suffix={'%'}
                                                        disabled={true}
                                                        value={tableMeta.rowData[45]}
qorri_di's avatar
qorri_di committed
6129
                                                    // value={Number(tableMeta.rowData[45]).toFixed(1)}
6130 6131 6132
                                                    />
                                                }
                                            />
Riri Novita's avatar
Riri Novita committed
6133
                                        </div>
6134
                                    </div>
Riri Novita's avatar
Riri Novita committed
6135 6136
                                </div>
                            </div>
Riri Novita's avatar
Riri Novita committed
6137 6138
                        )
                    }
Riri Novita's avatar
Riri Novita committed
6139
                }
Riri Novita's avatar
Riri Novita committed
6140 6141 6142 6143
            }, {
                name: "",
                options: {
                    display: false
Riri Novita's avatar
Riri Novita committed
6144
                }
Riri Novita's avatar
Riri Novita committed
6145 6146 6147 6148
            }, {
                name: "",
                options: {
                    display: false
Riri Novita's avatar
Riri Novita committed
6149
                }
Riri Novita's avatar
Riri Novita committed
6150 6151 6152 6153
            }, {
                name: "",
                options: {
                    display: false
Riri Novita's avatar
Riri Novita committed
6154
                }
Riri Novita's avatar
Riri Novita committed
6155 6156 6157 6158
            }, {
                name: `% NPAT YoY`,
                options: {
                    customHeadRender: (columnMeta) => (
rifkaki's avatar
rifkaki committed
6159
                        <th style={{ ...style2, top: 0, backgroundColor: '#1c71b8', color: '#fff', fontSize: 13, fontWeight: 1, width: 150, borderRight: "1px solid rgb(255, 255, 255)" }} >
Riri Novita's avatar
Riri Novita committed
6160 6161
                            <div style={{ borderBottom: "1px #fff solid", textAlign: 'center', fontSize: 12, fontWeight: 'bold', padding: 5 }}>{columnMeta.name}</div>
                            <div className="grid grid-3x" style={{ ...style2, backgroundColor: '#1c71b8', color: '#fff', fontSize: 12, fontWeight: 'bold', position: "sticky" }}>
6162 6163 6164 6165 6166 6167 6168 6169 6170
                                <div className="column-1" style={{ placeSelf: 'center', textAlign: 'center', padding: 5, borderRight: "1px #fff solid", backgroundColor: '#37b5e6' }}>
                                    <span>{`OL ${Number(this.props.periode)}`}</span>
                                </div>
                                <div className="column-2" style={{ placeSelf: 'center', textAlign: 'center', padding: 5, borderRight: "1px #fff solid", backgroundColor: '#1c71b8' }}>
                                    <span>{`${Number(this.props.periode) + 1}`}</span>
                                </div>
                                <div className="column-3" style={{ placeSelf: 'center', textAlign: 'center', padding: 5, backgroundColor: '#1c71b8' }}>
                                    <span>{`${Number(this.props.periode) + 2}`}</span>
                                </div>
Riri Novita's avatar
Riri Novita committed
6171
                            </div>
Riri Novita's avatar
Riri Novita committed
6172 6173 6174 6175 6176 6177 6178
                        </th>
                    ),
                    setCellProps: () => ({ style2 }),
                    customBodyRender: (val, tableMeta, updateValue) => {
                        return (
                            <div>
                                <div className="grid grid-3x content-center">
6179
                                    <div className="col-1">
Riri Novita's avatar
Riri Novita committed
6180
                                        <div>
6181 6182 6183 6184 6185 6186 6187 6188 6189 6190 6191 6192
                                            <FormControlLabel
                                                style={{ margin: 0 }}
                                                value={val}
                                                control={
                                                    <NumberFormat
                                                        thousandSeparator={true}
                                                        style={{ color: (tableMeta.rowData[2] !== 0 && tableMeta.rowData[2] !== 1) && !tableMeta.rowData[49] ? '#5198ea' : '#000000de', fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
                                                        type="text"
                                                        placeholder=""
                                                        suffix={'%'}
                                                        disabled={true}
                                                        value={tableMeta.rowData[46]}
qorri_di's avatar
qorri_di committed
6193
                                                    // value={Number(tableMeta.rowData[46]).toFixed(1)}
6194 6195 6196
                                                    />
                                                }
                                            />
Riri Novita's avatar
Riri Novita committed
6197
                                        </div>
6198 6199
                                    </div>
                                    <div className="col-2">
Riri Novita's avatar
Riri Novita committed
6200
                                        <div>
6201 6202 6203 6204 6205 6206 6207 6208 6209 6210 6211 6212
                                            <FormControlLabel
                                                style={{ margin: 0 }}
                                                value={val}
                                                control={
                                                    <NumberFormat
                                                        thousandSeparator={true}
                                                        style={{ color: (tableMeta.rowData[2] !== 0 && tableMeta.rowData[2] !== 1) && !tableMeta.rowData[49] ? '#5198ea' : '#000000de', fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
                                                        type="text"
                                                        placeholder=""
                                                        suffix={'%'}
                                                        disabled={true}
                                                        value={tableMeta.rowData[47]}
qorri_di's avatar
qorri_di committed
6213
                                                    // value={Number(tableMeta.rowData[47]).toFixed(1)}
6214 6215 6216
                                                    />
                                                }
                                            />
Riri Novita's avatar
Riri Novita committed
6217
                                        </div>
6218 6219
                                    </div>
                                    <div className="col-3">
Riri Novita's avatar
Riri Novita committed
6220
                                        <div>
6221 6222 6223 6224 6225 6226 6227 6228 6229 6230 6231 6232
                                            <FormControlLabel
                                                style={{ margin: 0 }}
                                                value={val}
                                                control={
                                                    <NumberFormat
                                                        thousandSeparator={true}
                                                        style={{ color: (tableMeta.rowData[2] !== 0 && tableMeta.rowData[2] !== 1) && !tableMeta.rowData[49] ? '#5198ea' : '#000000de', fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
                                                        type="text"
                                                        placeholder=""
                                                        suffix={'%'}
                                                        disabled={true}
                                                        value={tableMeta.rowData[48]}
qorri_di's avatar
qorri_di committed
6233
                                                    // value={Number(tableMeta.rowData[48]).toFixed(1)}
6234 6235 6236
                                                    />
                                                }
                                            />
Riri Novita's avatar
Riri Novita committed
6237
                                        </div>
6238
                                    </div>
Riri Novita's avatar
Riri Novita committed
6239 6240
                                </div>
                            </div>
Riri Novita's avatar
Riri Novita committed
6241 6242
                        )
                    }
Riri Novita's avatar
Riri Novita committed
6243
                }
Riri Novita's avatar
Riri Novita committed
6244 6245 6246 6247
            }, {
                name: "",
                options: {
                    display: false
Riri Novita's avatar
Riri Novita committed
6248 6249 6250 6251 6252
                }
            }, {
                name: "",
                options: {
                    display: false
Riri Novita's avatar
Riri Novita committed
6253
                }
Riri Novita's avatar
Riri Novita committed
6254 6255 6256 6257 6258 6259 6260 6261 6262 6263
            }, {
                name: "",
                options: {
                    display: false
                }
            }, {
                name: "",
                options: {
                    display: false
                }
6264
            },
Riri Novita's avatar
Riri Novita committed
6265 6266 6267 6268 6269 6270 6271 6272 6273
        ]

        const columns = []

        return (
            <div>
                <div style={{ padding: '0px 20px 20px 20px', width: this.props.width - (this.props.open === true ? 350 : 100) }}>
                    <MuiThemeProvider theme={getMuiTheme()}>
                        <MUIDataTable
Riri Novita's avatar
Riri Novita committed
6274
                            data={dataTable2}
Riri Novita's avatar
Riri Novita committed
6275
                            columns={this.props.type === 1 ? columnMTD : this.props.type === 2 ? columnYTD : this.props.type === 3 ? columnCPSM : this.props.type === 4 ? columnHistorical : columns}
Riri Novita's avatar
Riri Novita committed
6276 6277 6278 6279 6280 6281 6282 6283
                            options={options}
                        />
                    </MuiThemeProvider>
                </div>
            </div>
        )
    }
}