Commit 8d78d2e5 authored by r.kurnia's avatar r.kurnia

olpa pl db pl

parent a51b5177
......@@ -12079,7 +12079,7 @@ export default class TableSubHolding extends Component {
type="text"
placeholder=""
disabled={true}
value={String(tableMeta.rowData[112]) === "" ? "" : Number(tableMeta.rowData[112], tableMeta, 112).toFixed(1)}
value={String(tableMeta.rowData[121]) === "" ? "" : Number(tableMeta.rowData[121], tableMeta, 121).toFixed(1)}
/>
}
/>
......@@ -12102,7 +12102,7 @@ export default class TableSubHolding extends Component {
type="text"
placeholder=""
disabled={true}
value={String(tableMeta.rowData[113]) === "" ? "" : Number(tableMeta.rowData[113], tableMeta, 113).toFixed(1)}
value={String(tableMeta.rowData[120]) === "" ? "" : Number(tableMeta.rowData[120], tableMeta, 120).toFixed(1)}
/>
}
/>
......@@ -12125,7 +12125,7 @@ export default class TableSubHolding extends Component {
type="text"
placeholder=""
disabled={true}
value={String(tableMeta.rowData[114]) === "" ? "" : Number(tableMeta.rowData[114], tableMeta, 114).toFixed(1)}
value={String(tableMeta.rowData[119]) === "" ? "" : Number(tableMeta.rowData[119], tableMeta, 119).toFixed(1)}
/>
}
/>
......@@ -12148,7 +12148,7 @@ export default class TableSubHolding extends Component {
type="text"
placeholder=""
disabled={true}
value={String(tableMeta.rowData[115]) === "" ? "" : Number(tableMeta.rowData[115], tableMeta, 115).toFixed(1)}
value={String(tableMeta.rowData[118]) === "" ? "" : Number(tableMeta.rowData[118], tableMeta, 118).toFixed(1)}
/>
}
/>
......@@ -12171,7 +12171,7 @@ export default class TableSubHolding extends Component {
type="text"
placeholder=""
disabled={true}
value={String(tableMeta.rowData[116]) === "" ? "" : Number(tableMeta.rowData[116], tableMeta, 116).toFixed(1)}
value={String(tableMeta.rowData[117]) === "" ? "" : Number(tableMeta.rowData[117], tableMeta, 117).toFixed(1)}
/>
}
/>
......@@ -12196,7 +12196,7 @@ export default class TableSubHolding extends Component {
type="text"
placeholder=""
disabled={true}
value={String(tableMeta.rowData[117]) === "" ? "" : Number(tableMeta.rowData[117], tableMeta, 117).toFixed(1)}
value={String(tableMeta.rowData[116]) === "" ? "" : Number(tableMeta.rowData[116], tableMeta, 116).toFixed(1)}
/>
}
/>
......@@ -12219,7 +12219,7 @@ export default class TableSubHolding extends Component {
type="text"
placeholder=""
disabled={true}
value={String(tableMeta.rowData[118]) === "" ? "" : Number(tableMeta.rowData[118], tableMeta, 118).toFixed(1)}
value={String(tableMeta.rowData[115]) === "" ? "" : Number(tableMeta.rowData[115], tableMeta, 115).toFixed(1)}
/>
}
/>
......@@ -12242,7 +12242,7 @@ export default class TableSubHolding extends Component {
type="text"
placeholder=""
disabled={true}
value={String(tableMeta.rowData[119]) === "" ? "" : Number(tableMeta.rowData[119], tableMeta, 119).toFixed(1)}
value={String(tableMeta.rowData[114]) === "" ? "" : Number(tableMeta.rowData[114], tableMeta, 114).toFixed(1)}
/>
}
/>
......@@ -12265,7 +12265,7 @@ export default class TableSubHolding extends Component {
type="text"
placeholder=""
disabled={true}
value={String(tableMeta.rowData[120]) === "" ? "" : Number(tableMeta.rowData[120], tableMeta, 120).toFixed(1)}
value={String(tableMeta.rowData[113]) === "" ? "" : Number(tableMeta.rowData[113], tableMeta, 113).toFixed(1)}
/>
}
/>
......@@ -12288,7 +12288,7 @@ export default class TableSubHolding extends Component {
type="text"
placeholder=""
disabled={true}
value={String(tableMeta.rowData[121]) === "" ? "" : Number(tableMeta.rowData[121], tableMeta, 121).toFixed(1)}
value={String(tableMeta.rowData[112]) === "" ? "" : Number(tableMeta.rowData[112], tableMeta, 112).toFixed(1)}
/>
}
/>
......@@ -1383,7 +1383,8 @@ export default class ProfitLossOLPA extends Component {
type="text"
placeholder=""
decimalScale={1}
disabled={this.props.isApprover ? true : ((this.props.lastStatus == 'SUBMIT' || this.props.lastStatus == 'REVISION') && this.props.prevRevision === false && (this.props.status === 'revision' || this.props.status === 'not-yet' || this.props.status === 'draft' || this.props.status === 'submitted') ? false : true)}
// disabled={this.props.isApprover ? true : ((this.props.lastStatus == 'SUBMIT' || this.props.lastStatus == 'REVISION') && this.props.prevRevision === false && (this.props.status === 'revision' || this.props.status === 'not-yet' || this.props.status === 'draft' || this.props.status === 'submitted') ? false : true)}
disabled={this.props.isApprover ? true : false}
value={Number(value).toFixed(1)}
onBlur={(event) => {
handleChange(event.target.value, tableMeta)
......@@ -1528,7 +1529,8 @@ export default class ProfitLossOLPA extends Component {
type="text"
placeholder=""
decimalScale={1}
disabled={this.props.isApprover ? true : ((this.props.lastStatus == 'SUBMIT' || this.props.lastStatus == 'REVISION') && this.props.prevRevision === false && (this.props.status === 'revision' || this.props.status === 'not-yet' || this.props.status === 'draft' || this.props.status === 'submitted') ? false : true)}
// disabled={this.props.isApprover ? true : ((this.props.lastStatus == 'SUBMIT' || this.props.lastStatus == 'REVISION') && this.props.prevRevision === false && (this.props.status === 'revision' || this.props.status === 'not-yet' || this.props.status === 'draft' || this.props.status === 'submitted') ? false : true)}
disabled={this.props.isApprover ? true : false}
value={Number(value).toFixed(1)}
onBlur={(event) => {
handleChange(event.target.value, tableMeta)
......
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