Commit 39b0c21f authored by Riri Novita's avatar Riri Novita

issue mtd

parent 22cad9d6
......@@ -254,7 +254,7 @@ export default class SummaryOfTriputra extends Component {
item.ratio_inv_days,
item.ratio_ap_days,
item.ratio_ccc,
item.is_approved
item.is_approved == undefined ? true : item.is_approved,
// item.order,
])
}
......@@ -306,7 +306,7 @@ export default class SummaryOfTriputra extends Component {
item.ratio_inv_days,
item.ratio_ap_days,
item.ratio_ccc,
item.is_approved,
item.is_approved == undefined ? true : item.is_approved,
// item.order,
])
if (item.children !== null) {
......@@ -513,7 +513,7 @@ export default class SummaryOfTriputra extends Component {
item.percent_npat_yoy_ol,
item.percent_npat_yoy_next_year,
item.percent_npat_yoy_next_two_year,
item.is_approved,
item.is_approved == undefined ? true : item.is_approved,
// item.order,
])
}
......@@ -576,7 +576,7 @@ export default class SummaryOfTriputra extends Component {
item.percent_npat_yoy_ol,
item.percent_npat_yoy_next_year,
item.percent_npat_yoy_next_two_year,
item.is_approved,
item.is_approved == undefined ? true : item.is_approved,
// item.order,
])
if (item.children !== null) {
......
......@@ -144,6 +144,9 @@ export default class TableSummaryTriputra extends Component {
),
setCellProps: () => ({ style2 }),
customBodyRender: (val, tableMeta, updateValue) => {
// if (tableMeta.rowData[3] == "ABA" ) {
// console.log(tableMeta.rowData);
// }
return (
<div>
<div className="grid grid-4x content-center">
......@@ -157,7 +160,7 @@ export default class TableSummaryTriputra extends Component {
control={
<NumberFormat
thousandSeparator={true}
style={{ color: tableMeta.rowData[2] === 2 && tableMeta.rowData[37] ? 'black' : tableMeta.rowData[2] === 2 ? '#5198ea' : 'black', fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
style={{ color: (tableMeta.rowData[2] !== 0 && tableMeta.rowData[2] !== 1 ) && !tableMeta.rowData[37] ? '#5198ea' : 'black' , fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
type="text"
placeholder=""
disabled={true}
......@@ -175,7 +178,7 @@ export default class TableSummaryTriputra extends Component {
control={
<NumberFormat
thousandSeparator={true}
style={{ color: tableMeta.rowData[2] === 2 && tableMeta.rowData[37] ? 'black' : tableMeta.rowData[2] === 2 ? '#5198ea' : 'black', fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
style={{ color: (tableMeta.rowData[2] !== 0 && tableMeta.rowData[2] !== 1 ) && !tableMeta.rowData[37] ? '#5198ea' : 'black' , fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
type="text"
placeholder=""
disabled={true}
......@@ -193,7 +196,7 @@ export default class TableSummaryTriputra extends Component {
control={
<NumberFormat
thousandSeparator={true}
style={{ color: tableMeta.rowData[2] === 2 && tableMeta.rowData[37] ? 'black' : tableMeta.rowData[2] === 2 ? '#5198ea' : 'black', fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
style={{ color: (tableMeta.rowData[2] !== 0 && tableMeta.rowData[2] !== 1 ) && !tableMeta.rowData[37] ? '#5198ea' : 'black' , fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
type="text"
placeholder=""
disabled={true}
......@@ -216,7 +219,7 @@ export default class TableSummaryTriputra extends Component {
control={
<NumberFormat
thousandSeparator={true}
style={{ color: tableMeta.rowData[2] === 2 && tableMeta.rowData[37] ? 'black' : tableMeta.rowData[2] === 2 ? '#5198ea' : 'black', fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
style={{ color: (tableMeta.rowData[2] !== 0 && tableMeta.rowData[2] !== 1 ) && !tableMeta.rowData[37] ? '#5198ea' : 'black' , fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
type="text"
placeholder=""
disabled={true}
......@@ -234,7 +237,7 @@ export default class TableSummaryTriputra extends Component {
control={
<NumberFormat
thousandSeparator={true}
style={{ color: tableMeta.rowData[2] === 2 && tableMeta.rowData[37] ? 'black' : tableMeta.rowData[2] === 2 ? '#5198ea' : 'black', fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
style={{ color: (tableMeta.rowData[2] !== 0 && tableMeta.rowData[2] !== 1 ) && !tableMeta.rowData[37] ? '#5198ea' : 'black' , fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
type="text"
placeholder=""
disabled={true}
......@@ -252,7 +255,7 @@ export default class TableSummaryTriputra extends Component {
control={
<NumberFormat
thousandSeparator={true}
style={{ color: tableMeta.rowData[2] === 2 && tableMeta.rowData[37] ? 'black' : tableMeta.rowData[2] === 2 ? '#5198ea' : 'black', fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
style={{ color: (tableMeta.rowData[2] !== 0 && tableMeta.rowData[2] !== 1 ) && !tableMeta.rowData[37] ? '#5198ea' : 'black' , fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
type="text"
placeholder=""
suffix={'%'}
......@@ -275,7 +278,7 @@ export default class TableSummaryTriputra extends Component {
control={
<NumberFormat
thousandSeparator={true}
style={{ color: tableMeta.rowData[2] === 2 && tableMeta.rowData[37] ? 'black' : tableMeta.rowData[2] === 2 ? '#5198ea' : 'black', fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
style={{ color: (tableMeta.rowData[2] !== 0 && tableMeta.rowData[2] !== 1 ) && !tableMeta.rowData[37] ? '#5198ea' : 'black' , fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
type="text"
placeholder=""
disabled={true}
......@@ -293,7 +296,7 @@ export default class TableSummaryTriputra extends Component {
control={
<NumberFormat
thousandSeparator={true}
style={{ color: tableMeta.rowData[2] === 2 && tableMeta.rowData[37] ? 'black' : tableMeta.rowData[2] === 2 ? '#5198ea' : 'black', fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
style={{ color: (tableMeta.rowData[2] !== 0 && tableMeta.rowData[2] !== 1 ) && !tableMeta.rowData[37] ? '#5198ea' : 'black' , fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
type="text"
placeholder=""
disabled={true}
......@@ -311,7 +314,7 @@ export default class TableSummaryTriputra extends Component {
control={
<NumberFormat
thousandSeparator={true}
style={{ color: tableMeta.rowData[2] === 2 && tableMeta.rowData[37] ? 'black' : tableMeta.rowData[2] === 2 ? '#5198ea' : 'black', fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
style={{ color: (tableMeta.rowData[2] !== 0 && tableMeta.rowData[2] !== 1 ) && !tableMeta.rowData[37] ? '#5198ea' : 'black' , fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
type="text"
placeholder=""
suffix={'%'}
......@@ -334,7 +337,7 @@ export default class TableSummaryTriputra extends Component {
control={
<NumberFormat
thousandSeparator={true}
style={{ color: tableMeta.rowData[2] === 2 && tableMeta.rowData[37] ? 'black' : tableMeta.rowData[2] === 2 ? '#5198ea' : 'black', fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
style={{ color: (tableMeta.rowData[2] !== 0 && tableMeta.rowData[2] !== 1 ) && !tableMeta.rowData[37] ? '#5198ea' : 'black' , fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
type="text"
placeholder=""
disabled={true}
......@@ -352,7 +355,7 @@ export default class TableSummaryTriputra extends Component {
control={
<NumberFormat
thousandSeparator={true}
style={{ color: tableMeta.rowData[2] === 2 && tableMeta.rowData[37] ? 'black' : tableMeta.rowData[2] === 2 ? '#5198ea' : 'black', fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
style={{ color: (tableMeta.rowData[2] !== 0 && tableMeta.rowData[2] !== 1 ) && !tableMeta.rowData[37] ? '#5198ea' : 'black' , fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
type="text"
placeholder=""
disabled={true}
......@@ -370,7 +373,7 @@ export default class TableSummaryTriputra extends Component {
control={
<NumberFormat
thousandSeparator={true}
style={{ color: tableMeta.rowData[2] === 2 && tableMeta.rowData[37] ? 'black' : tableMeta.rowData[2] === 2 ? '#5198ea' : 'black', fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
style={{ color: (tableMeta.rowData[2] !== 0 && tableMeta.rowData[2] !== 1 ) && !tableMeta.rowData[37] ? '#5198ea' : 'black' , fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
type="text"
placeholder=""
suffix={'%'}
......@@ -566,7 +569,7 @@ export default class TableSummaryTriputra extends Component {
control={
<NumberFormat
thousandSeparator={true}
style={{ color: tableMeta.rowData[2] === 2 && tableMeta.rowData[37] ? 'black' : tableMeta.rowData[2] === 2 ? '#5198ea' : 'black', fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
style={{ color: (tableMeta.rowData[2] !== 0 && tableMeta.rowData[2] !== 1 ) && !tableMeta.rowData[37] ? '#5198ea' : 'black' , fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
type="text"
placeholder=""
disabled={true}
......@@ -582,7 +585,7 @@ export default class TableSummaryTriputra extends Component {
control={
<NumberFormat
thousandSeparator={true}
style={{ color: tableMeta.rowData[2] === 2 && tableMeta.rowData[37] ? 'black' : tableMeta.rowData[2] === 2 ? '#5198ea' : 'black', fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
style={{ color: (tableMeta.rowData[2] !== 0 && tableMeta.rowData[2] !== 1 ) && !tableMeta.rowData[37] ? '#5198ea' : 'black' , fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
type="text"
placeholder=""
disabled={true}
......@@ -598,7 +601,7 @@ export default class TableSummaryTriputra extends Component {
control={
<NumberFormat
thousandSeparator={true}
style={{ color: tableMeta.rowData[2] === 2 && tableMeta.rowData[37] ? 'black' : tableMeta.rowData[2] === 2 ? '#5198ea' : 'black', fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
style={{ color: (tableMeta.rowData[2] !== 0 && tableMeta.rowData[2] !== 1 ) && !tableMeta.rowData[37] ? '#5198ea' : 'black' , fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
type="text"
placeholder=""
disabled={true}
......@@ -614,7 +617,7 @@ export default class TableSummaryTriputra extends Component {
control={
<NumberFormat
thousandSeparator={true}
style={{ color: tableMeta.rowData[2] === 2 && tableMeta.rowData[37] ? 'black' : tableMeta.rowData[2] === 2 ? '#5198ea' : 'black', fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
style={{ color: (tableMeta.rowData[2] !== 0 && tableMeta.rowData[2] !== 1 ) && !tableMeta.rowData[37] ? '#5198ea' : 'black' , fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
type="text"
placeholder=""
disabled={true}
......@@ -632,7 +635,7 @@ export default class TableSummaryTriputra extends Component {
control={
<NumberFormat
thousandSeparator={true}
style={{ color: tableMeta.rowData[2] === 2 && tableMeta.rowData[37] ? 'black' : tableMeta.rowData[2] === 2 ? '#5198ea' : 'black', fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
style={{ color: (tableMeta.rowData[2] !== 0 && tableMeta.rowData[2] !== 1 ) && !tableMeta.rowData[37] ? '#5198ea' : 'black' , fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
type="text"
placeholder=""
disabled={true}
......@@ -648,7 +651,7 @@ export default class TableSummaryTriputra extends Component {
control={
<NumberFormat
thousandSeparator={true}
style={{ color: tableMeta.rowData[2] === 2 && tableMeta.rowData[37] ? 'black' : tableMeta.rowData[2] === 2 ? '#5198ea' : 'black', fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
style={{ color: (tableMeta.rowData[2] !== 0 && tableMeta.rowData[2] !== 1 ) && !tableMeta.rowData[37] ? '#5198ea' : 'black' , fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
type="text"
placeholder=""
disabled={true}
......@@ -664,7 +667,7 @@ export default class TableSummaryTriputra extends Component {
control={
<NumberFormat
thousandSeparator={true}
style={{ color: tableMeta.rowData[2] === 2 && tableMeta.rowData[37] ? 'black' : tableMeta.rowData[2] === 2 ? '#5198ea' : 'black', fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
style={{ color: (tableMeta.rowData[2] !== 0 && tableMeta.rowData[2] !== 1 ) && !tableMeta.rowData[37] ? '#5198ea' : 'black' , fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
type="text"
placeholder=""
disabled={true}
......@@ -680,7 +683,7 @@ export default class TableSummaryTriputra extends Component {
control={
<NumberFormat
thousandSeparator={true}
style={{ color: tableMeta.rowData[2] === 2 && tableMeta.rowData[37] ? 'black' : tableMeta.rowData[2] === 2 ? '#5198ea' : 'black', fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
style={{ color: (tableMeta.rowData[2] !== 0 && tableMeta.rowData[2] !== 1 ) && !tableMeta.rowData[37] ? '#5198ea' : 'black' , fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
type="text"
placeholder=""
disabled={true}
......@@ -698,7 +701,7 @@ export default class TableSummaryTriputra extends Component {
control={
<NumberFormat
thousandSeparator={true}
style={{color: tableMeta.rowData[2] === 2 && tableMeta.rowData[37] ? 'black' : tableMeta.rowData[2] === 2 ? '#5198ea' : 'black', fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
style={{color: (tableMeta.rowData[2] !== 0 && tableMeta.rowData[2] !== 1 ) && !tableMeta.rowData[37] ? '#5198ea' : 'black' , fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
type="text"
placeholder=""
disabled={true}
......@@ -716,7 +719,7 @@ export default class TableSummaryTriputra extends Component {
control={
<NumberFormat
thousandSeparator={true}
style={{ color: tableMeta.rowData[2] === 2 && tableMeta.rowData[37] ? 'black' : tableMeta.rowData[2] === 2 ? '#5198ea' : 'black', fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
style={{ color: (tableMeta.rowData[2] !== 0 && tableMeta.rowData[2] !== 1 ) && !tableMeta.rowData[37] ? '#5198ea' : 'black' , fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
type="text"
placeholder=""
disabled={true}
......@@ -732,7 +735,7 @@ export default class TableSummaryTriputra extends Component {
control={
<NumberFormat
thousandSeparator={true}
style={{ color: tableMeta.rowData[2] === 2 && tableMeta.rowData[37] ? 'black' : tableMeta.rowData[2] === 2 ? '#5198ea' : 'black', fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
style={{ color: (tableMeta.rowData[2] !== 0 && tableMeta.rowData[2] !== 1 ) && !tableMeta.rowData[37] ? '#5198ea' : 'black' , fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
type="text"
placeholder=""
disabled={true}
......@@ -748,7 +751,7 @@ export default class TableSummaryTriputra extends Component {
control={
<NumberFormat
thousandSeparator={true}
style={{ color: tableMeta.rowData[2] === 2 && tableMeta.rowData[37] ? 'black' : tableMeta.rowData[2] === 2 ? '#5198ea' : 'black', fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
style={{ color: (tableMeta.rowData[2] !== 0 && tableMeta.rowData[2] !== 1 ) && !tableMeta.rowData[37] ? '#5198ea' : 'black' , fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
type="text"
placeholder=""
disabled={true}
......@@ -764,7 +767,7 @@ export default class TableSummaryTriputra extends Component {
control={
<NumberFormat
thousandSeparator={true}
style={{ color: tableMeta.rowData[2] === 2 && tableMeta.rowData[37] ? 'black' : tableMeta.rowData[2] === 2 ? '#5198ea' : 'black', fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
style={{ color: (tableMeta.rowData[2] !== 0 && tableMeta.rowData[2] !== 1 ) && !tableMeta.rowData[37] ? '#5198ea' : 'black' , fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
type="text"
placeholder=""
disabled={true}
......@@ -782,7 +785,7 @@ export default class TableSummaryTriputra extends Component {
control={
<NumberFormat
thousandSeparator={true}
style={{ color: tableMeta.rowData[2] === 2 && tableMeta.rowData[37] ? 'black' : tableMeta.rowData[2] === 2 ? '#5198ea' : 'black', fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
style={{ color: (tableMeta.rowData[2] !== 0 && tableMeta.rowData[2] !== 1 ) && !tableMeta.rowData[37] ? '#5198ea' : 'black' , fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
type="text"
placeholder=""
disabled={true}
......@@ -798,7 +801,7 @@ export default class TableSummaryTriputra extends Component {
control={
<NumberFormat
thousandSeparator={true}
style={{color: tableMeta.rowData[2] === 2 && tableMeta.rowData[37] ? 'black' : tableMeta.rowData[2] === 2 ? '#5198ea' : 'black', fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
style={{color: (tableMeta.rowData[2] !== 0 && tableMeta.rowData[2] !== 1 ) && !tableMeta.rowData[37] ? '#5198ea' : 'black' , fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
type="text"
placeholder=""
disabled={true}
......@@ -814,7 +817,7 @@ export default class TableSummaryTriputra extends Component {
control={
<NumberFormat
thousandSeparator={true}
style={{color: tableMeta.rowData[2] === 2 && tableMeta.rowData[37] ? 'black' : tableMeta.rowData[2] === 2 ? '#5198ea' : 'black', fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
style={{color: (tableMeta.rowData[2] !== 0 && tableMeta.rowData[2] !== 1 ) && !tableMeta.rowData[37] ? '#5198ea' : 'black' , fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
type="text"
placeholder=""
disabled={true}
......@@ -830,7 +833,7 @@ export default class TableSummaryTriputra extends Component {
control={
<NumberFormat
thousandSeparator={true}
style={{ color: tableMeta.rowData[2] === 2 && tableMeta.rowData[37] ? 'black' : tableMeta.rowData[2] === 2 ? '#5198ea' : 'black', fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
style={{ color: (tableMeta.rowData[2] !== 0 && tableMeta.rowData[2] !== 1 ) && !tableMeta.rowData[37] ? '#5198ea' : 'black' , fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
type="text"
placeholder=""
disabled={true}
......@@ -846,7 +849,7 @@ export default class TableSummaryTriputra extends Component {
control={
<NumberFormat
thousandSeparator={true}
style={{ color: tableMeta.rowData[2] === 2 && tableMeta.rowData[37] ? 'black' : tableMeta.rowData[2] === 2 ? '#5198ea' : 'black', fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
style={{ color: (tableMeta.rowData[2] !== 0 && tableMeta.rowData[2] !== 1 ) && !tableMeta.rowData[37] ? '#5198ea' : 'black' , fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
type="text"
placeholder=""
disabled={true}
......@@ -862,7 +865,7 @@ export default class TableSummaryTriputra extends Component {
control={
<NumberFormat
thousandSeparator={true}
style={{ color: tableMeta.rowData[2] === 2 && tableMeta.rowData[37] ? 'black' : tableMeta.rowData[2] === 2 ? '#5198ea' : 'black', fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
style={{ color: (tableMeta.rowData[2] !== 0 && tableMeta.rowData[2] !== 1 ) && !tableMeta.rowData[37] ? '#5198ea' : 'black' , fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
type="text"
placeholder=""
disabled={true}
......@@ -878,7 +881,7 @@ export default class TableSummaryTriputra extends Component {
control={
<NumberFormat
thousandSeparator={true}
style={{ color: tableMeta.rowData[2] === 2 && tableMeta.rowData[37] ? 'black' : tableMeta.rowData[2] === 2 ? '#5198ea' : 'black', fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
style={{ color: (tableMeta.rowData[2] !== 0 && tableMeta.rowData[2] !== 1 ) && !tableMeta.rowData[37] ? '#5198ea' : 'black' , fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
type="text"
placeholder=""
disabled={true}
......@@ -894,7 +897,7 @@ export default class TableSummaryTriputra extends Component {
control={
<NumberFormat
thousandSeparator={true}
style={{ color: tableMeta.rowData[2] === 2 && tableMeta.rowData[37] ? 'black' : tableMeta.rowData[2] === 2 ? '#5198ea' : 'black', fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
style={{ color: (tableMeta.rowData[2] !== 0 && tableMeta.rowData[2] !== 1 ) && !tableMeta.rowData[37] ? '#5198ea' : 'black' , fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
type="text"
placeholder=""
disabled={true}
......@@ -1004,6 +1007,11 @@ export default class TableSummaryTriputra extends Component {
options: {
display: false
}
}, {
name: "",
options: {
display: false
}
}
]
......@@ -4379,7 +4387,7 @@ export default class TableSummaryTriputra extends Component {
control={
<NumberFormat
thousandSeparator={true}
style={{ color: tableMeta.rowData[2] === 2 && tableMeta.rowData[49] ? 'black' : tableMeta.rowData[2] === 2 ? '#5198ea' : 'black', fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 86, backgroundColor: 'transparent' }}
style={{ color: tableMeta.rowData[2] !== 1 && tableMeta.rowData[49] ? 'black' : '#5198ea', fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 86, backgroundColor: 'transparent' }}
type="text"
placeholder=""
disabled={true}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment