Commit 493fc5e7 authored by fahrur huzain's avatar fahrur huzain

Merge branch 'dev/fahrur-new' into 'ENV-DEV'

update issue Cash Flow OLPA

See merge request !2178
parents 7ad982bb fde3e6f0
...@@ -2093,7 +2093,8 @@ export default class CashFlow extends Component { ...@@ -2093,7 +2093,8 @@ export default class CashFlow extends Component {
type="text" type="text"
placeholder="" placeholder=""
disabled={true} disabled={true}
value={Number(tableMeta.rowData[16].value) == 0 ? "0.0" : this.props.defaultCurrency.id == 1 ? (this.props.PLBSFAMSubmitted ? fixNumber(Number(tableMeta.rowData[16].value), 1) : fixNumber(Number(handleValueFormula(tableMeta.rowData[16], tableMeta, 16)), 1)) : (this.props.PLBSFAMSubmitted ? Number(tableMeta.rowData[16].value) : Number(handleValueFormula(tableMeta.rowData[16], tableMeta, 16)))} value={this.props.defaultCurrency.id == 1 ? (this.props.PLBSFAMSubmitted ? fixNumber(Number(tableMeta.rowData[16].value), 1) : fixNumber(Number(handleValueFormula(tableMeta.rowData[16], tableMeta, 16)), 1)) : (this.props.PLBSFAMSubmitted ? (Number(tableMeta.rowData[16].value) == 0 ? "0.0" : Number(tableMeta.rowData[16].value)) : (Number(handleValueFormula(tableMeta.rowData[16], tableMeta, 16)) == 0 ? "0.0" : Number(handleValueFormula(tableMeta.rowData[16], tableMeta, 16))))}
// value={Number(tableMeta.rowData[16].value) == 0 ? "0.0" : this.props.defaultCurrency.id == 1 ? (this.props.PLBSFAMSubmitted ? fixNumber(Number(tableMeta.rowData[16].value), 1) : fixNumber(Number(handleValueFormula(tableMeta.rowData[16], tableMeta, 16)), 1)) : (this.props.PLBSFAMSubmitted ? Number(tableMeta.rowData[16].value) : Number(handleValueFormula(tableMeta.rowData[16], tableMeta, 16)))}
/> />
</span> </span>
: :
...@@ -2105,7 +2106,8 @@ export default class CashFlow extends Component { ...@@ -2105,7 +2106,8 @@ export default class CashFlow extends Component {
type="text" type="text"
placeholder="" placeholder=""
disabled={true} disabled={true}
value={Number(tableMeta.rowData[16].value) == 0 ? "0.0" : this.props.defaultCurrency.id == 1 ? (this.props.PLBSFAMSubmitted ? fixNumber(Number(tableMeta.rowData[16].value), 1) : fixNumber(Number(handleValueFormula(tableMeta.rowData[16], tableMeta, 16)), 1)) : (this.props.PLBSFAMSubmitted ? Number(tableMeta.rowData[16].value) : Number(handleValueFormula(tableMeta.rowData[16], tableMeta, 16)))} value={this.props.defaultCurrency.id == 1 ? (this.props.PLBSFAMSubmitted ? fixNumber(Number(tableMeta.rowData[16].value), 1) : fixNumber(Number(handleValueFormula(tableMeta.rowData[16], tableMeta, 16)), 1)) : (this.props.PLBSFAMSubmitted ? (Number(tableMeta.rowData[16].value) == 0 ? "0.0" : Number(tableMeta.rowData[16].value)) : (Number(handleValueFormula(tableMeta.rowData[16], tableMeta, 16)) == 0 ? "0.0" : Number(handleValueFormula(tableMeta.rowData[16], tableMeta, 16))))}
// value={Number(tableMeta.rowData[16].value) == 0 ? "0.0" : this.props.defaultCurrency.id == 1 ? (this.props.PLBSFAMSubmitted ? fixNumber(Number(tableMeta.rowData[16].value), 1) : fixNumber(Number(handleValueFormula(tableMeta.rowData[16], tableMeta, 16)), 1)) : (this.props.PLBSFAMSubmitted ? Number(tableMeta.rowData[16].value) : Number(handleValueFormula(tableMeta.rowData[16], tableMeta, 16)))}
/> />
: :
tableMeta.rowData[0] === 7 ? tableMeta.rowData[0] === 7 ?
...@@ -2125,7 +2127,8 @@ export default class CashFlow extends Component { ...@@ -2125,7 +2127,8 @@ export default class CashFlow extends Component {
type="text" type="text"
placeholder="" placeholder=""
disabled={true} disabled={true}
value={Number(tableMeta.rowData[16].value) == 0 ? "0.0" : this.props.defaultCurrency.id == 1 ? (this.props.PLBSFAMSubmitted ? fixNumber(Number(tableMeta.rowData[16].value), 1) : fixNumber(Number(handleValueFormula(tableMeta.rowData[16], tableMeta, 16)), 1)) : (this.props.PLBSFAMSubmitted ? Number(tableMeta.rowData[16].value) : Number(handleValueFormula(tableMeta.rowData[16], tableMeta, 16)))} value={this.props.defaultCurrency.id == 1 ? (this.props.PLBSFAMSubmitted ? fixNumber(Number(tableMeta.rowData[16].value), 1) : fixNumber(Number(handleValueFormula(tableMeta.rowData[16], tableMeta, 16)), 1)) : (this.props.PLBSFAMSubmitted ? (Number(tableMeta.rowData[16].value) == 0 ? "0.0" : Number(tableMeta.rowData[16].value)) : (Number(handleValueFormula(tableMeta.rowData[16], tableMeta, 16)) == 0 ? "0.0" : Number(handleValueFormula(tableMeta.rowData[16], tableMeta, 16))))}
// value={Number(tableMeta.rowData[16].value) == 0 ? "0.0" : this.props.defaultCurrency.id == 1 ? (this.props.PLBSFAMSubmitted ? fixNumber(Number(tableMeta.rowData[16].value), 1) : fixNumber(Number(handleValueFormula(tableMeta.rowData[16], tableMeta, 16)), 1)) : (this.props.PLBSFAMSubmitted ? Number(tableMeta.rowData[16].value) : Number(handleValueFormula(tableMeta.rowData[16], tableMeta, 16)))}
// value={Number(handleValueFormula(tableMeta.rowData[16], tableMeta, 16)).toFixed(1)} // value={Number(handleValueFormula(tableMeta.rowData[16], tableMeta, 16)).toFixed(1)}
/> : /> :
<LightTooltip title={this.state.minValue === null ? `Value Should be ${tableMeta.rowData[24]}` : `Value Should be (${this.state.minValue}) up to (${this.state.maxValue})`} arrow> <LightTooltip title={this.state.minValue === null ? `Value Should be ${tableMeta.rowData[24]}` : `Value Should be (${this.state.minValue}) up to (${this.state.maxValue})`} arrow>
...@@ -2143,7 +2146,8 @@ export default class CashFlow extends Component { ...@@ -2143,7 +2146,8 @@ export default class CashFlow extends Component {
type="text" type="text"
placeholder="" placeholder=""
disabled={true} disabled={true}
value={Number(tableMeta.rowData[16].value) == 0 ? "0.0" : this.props.defaultCurrency.id == 1 ? (this.props.PLBSFAMSubmitted ? fixNumber(Number(tableMeta.rowData[16].value), 1) : fixNumber(Number(handleValueFormula(tableMeta.rowData[16], tableMeta, 16)), 1)) : (this.props.PLBSFAMSubmitted ? Number(tableMeta.rowData[16].value) : Number(handleValueFormula(tableMeta.rowData[16], tableMeta, 16)))} value={this.props.defaultCurrency.id == 1 ? (this.props.PLBSFAMSubmitted ? fixNumber(Number(tableMeta.rowData[16].value), 1) : fixNumber(Number(handleValueFormula(tableMeta.rowData[16], tableMeta, 16)), 1)) : (this.props.PLBSFAMSubmitted ? (Number(tableMeta.rowData[16].value) == 0 ? "0.0" : Number(tableMeta.rowData[16].value)) : (Number(handleValueFormula(tableMeta.rowData[16], tableMeta, 16)) == 0 ? "0.0" : Number(handleValueFormula(tableMeta.rowData[16], tableMeta, 16))))}
// value={Number(tableMeta.rowData[16].value) == 0 ? "0.0" : this.props.defaultCurrency.id == 1 ? (this.props.PLBSFAMSubmitted ? fixNumber(Number(tableMeta.rowData[16].value), 1) : fixNumber(Number(handleValueFormula(tableMeta.rowData[16], tableMeta, 16)), 1)) : (this.props.PLBSFAMSubmitted ? Number(tableMeta.rowData[16].value) : Number(handleValueFormula(tableMeta.rowData[16], tableMeta, 16)))}
// value={Number(handleValueFormula(tableMeta.rowData[16], tableMeta, 16)).toFixed(1)} // value={Number(handleValueFormula(tableMeta.rowData[16], tableMeta, 16)).toFixed(1)}
/> />
</LightTooltip> </LightTooltip>
...@@ -2163,7 +2167,8 @@ export default class CashFlow extends Component { ...@@ -2163,7 +2167,8 @@ export default class CashFlow extends Component {
type="text" type="text"
placeholder="" placeholder=""
disabled={true} disabled={true}
value={Number(tableMeta.rowData[16].value) == 0 ? "0.0" : this.props.defaultCurrency.id == 1 ? (this.props.PLBSFAMSubmitted ? fixNumber(Number(tableMeta.rowData[16].value), 1) : fixNumber(Number(handleValueFormula(tableMeta.rowData[16], tableMeta, 16)), 1)) : (this.props.PLBSFAMSubmitted ? Number(tableMeta.rowData[16].value) : Number(handleValueFormula(tableMeta.rowData[16], tableMeta, 16)))} value={this.props.defaultCurrency.id == 1 ? (this.props.PLBSFAMSubmitted ? fixNumber(Number(tableMeta.rowData[16].value), 1) : fixNumber(Number(handleValueFormula(tableMeta.rowData[16], tableMeta, 16)), 1)) : (this.props.PLBSFAMSubmitted ? (Number(tableMeta.rowData[16].value) == 0 ? "0.0" : Number(tableMeta.rowData[16].value)) : (Number(handleValueFormula(tableMeta.rowData[16], tableMeta, 16)) == 0 ? "0.0" : Number(handleValueFormula(tableMeta.rowData[16], tableMeta, 16))))}
// value={Number(tableMeta.rowData[16].value) == 0 ? "0.0" : this.props.defaultCurrency.id == 1 ? (this.props.PLBSFAMSubmitted ? fixNumber(Number(tableMeta.rowData[16].value), 1) : fixNumber(Number(handleValueFormula(tableMeta.rowData[16], tableMeta, 16)), 1)) : (this.props.PLBSFAMSubmitted ? Number(tableMeta.rowData[16].value) : Number(handleValueFormula(tableMeta.rowData[16], tableMeta, 16)))}
// value={Number(handleValueFormula(tableMeta.rowData[16], tableMeta, 16)).toFixed(1)} // value={Number(handleValueFormula(tableMeta.rowData[16], tableMeta, 16)).toFixed(1)}
/> : /> :
<LightTooltip title={this.state.minValue === null ? `Value Should be ${tableMeta.rowData[24]}` : `Value Should be (${this.state.minValue}) up to (${this.state.maxValue})`} arrow> <LightTooltip title={this.state.minValue === null ? `Value Should be ${tableMeta.rowData[24]}` : `Value Should be (${this.state.minValue}) up to (${this.state.maxValue})`} arrow>
...@@ -2181,7 +2186,8 @@ export default class CashFlow extends Component { ...@@ -2181,7 +2186,8 @@ export default class CashFlow extends Component {
type="text" type="text"
placeholder="" placeholder=""
disabled={true} disabled={true}
value={Number(tableMeta.rowData[16].value) == 0 ? "0.0" : this.props.defaultCurrency.id == 1 ? (this.props.PLBSFAMSubmitted ? fixNumber(Number(tableMeta.rowData[16].value), 1) : fixNumber(Number(handleValueFormula(tableMeta.rowData[16], tableMeta, 16)), 1)) : (this.props.PLBSFAMSubmitted ? Number(tableMeta.rowData[16].value) : Number(handleValueFormula(tableMeta.rowData[16], tableMeta, 16)))} value={this.props.defaultCurrency.id == 1 ? (this.props.PLBSFAMSubmitted ? fixNumber(Number(tableMeta.rowData[16].value), 1) : fixNumber(Number(handleValueFormula(tableMeta.rowData[16], tableMeta, 16)), 1)) : (this.props.PLBSFAMSubmitted ? (Number(tableMeta.rowData[16].value) == 0 ? "0.0" : Number(tableMeta.rowData[16].value)) : (Number(handleValueFormula(tableMeta.rowData[16], tableMeta, 16)) == 0 ? "0.0" : Number(handleValueFormula(tableMeta.rowData[16], tableMeta, 16))))}
// value={Number(tableMeta.rowData[16].value) == 0 ? "0.0" : this.props.defaultCurrency.id == 1 ? (this.props.PLBSFAMSubmitted ? fixNumber(Number(tableMeta.rowData[16].value), 1) : fixNumber(Number(handleValueFormula(tableMeta.rowData[16], tableMeta, 16)), 1)) : (this.props.PLBSFAMSubmitted ? Number(tableMeta.rowData[16].value) : Number(handleValueFormula(tableMeta.rowData[16], tableMeta, 16)))}
// value={Number(handleValueFormula(tableMeta.rowData[16], tableMeta, 16)).toFixed(1)} // value={Number(handleValueFormula(tableMeta.rowData[16], tableMeta, 16)).toFixed(1)}
/> />
</LightTooltip> </LightTooltip>
...@@ -2203,7 +2209,8 @@ export default class CashFlow extends Component { ...@@ -2203,7 +2209,8 @@ export default class CashFlow extends Component {
type="text" type="text"
placeholder="" placeholder=""
disabled={true} disabled={true}
value={Number(tableMeta.rowData[17].value) == 0 ? "0.0" : this.props.defaultCurrency.id == 1 ? (this.props.PLBSFAMSubmitted ? fixNumber(Number(tableMeta.rowData[17].value), 1) : fixNumber(Number(handleValueFormula(tableMeta.rowData[17], tableMeta, 17)), 1)) : (this.props.PLBSFAMSubmitted ? Number(tableMeta.rowData[17].value) : Number(handleValueFormula(tableMeta.rowData[17], tableMeta, 17)))} value={this.props.defaultCurrency.id == 1 ? (this.props.PLBSFAMSubmitted ? fixNumber(Number(tableMeta.rowData[17].value), 1) : fixNumber(Number(handleValueFormula(tableMeta.rowData[17], tableMeta, 17)), 1)) : (this.props.PLBSFAMSubmitted ? (Number(tableMeta.rowData[17].value) == 0 ? "0.0" : Number(tableMeta.rowData[17].value)) : (Number(handleValueFormula(tableMeta.rowData[17], tableMeta, 17)) == 0 ? "0.0" : Number(handleValueFormula(tableMeta.rowData[17], tableMeta, 17))))}
// value={Number(tableMeta.rowData[17].value) == 0 ? "0.0" : this.props.defaultCurrency.id == 1 ? (this.props.PLBSFAMSubmitted ? fixNumber(Number(tableMeta.rowData[17].value), 1) : fixNumber(Number(handleValueFormula(tableMeta.rowData[17], tableMeta, 17)), 1)) : (this.props.PLBSFAMSubmitted ? Number(tableMeta.rowData[17].value) : Number(handleValueFormula(tableMeta.rowData[17], tableMeta, 17)))}
// value={Number(handleValueFormula(tableMeta.rowData[17], tableMeta, 17)).toFixed(1)} // value={Number(handleValueFormula(tableMeta.rowData[17], tableMeta, 17)).toFixed(1)}
/> />
</span> </span>
...@@ -2216,7 +2223,8 @@ export default class CashFlow extends Component { ...@@ -2216,7 +2223,8 @@ export default class CashFlow extends Component {
type="text" type="text"
placeholder="" placeholder=""
disabled={true} disabled={true}
value={Number(tableMeta.rowData[17].value) == 0 ? "0.0" : this.props.defaultCurrency.id == 1 ? (this.props.PLBSFAMSubmitted ? fixNumber(Number(tableMeta.rowData[17].value), 1) : fixNumber(Number(handleValueFormula(tableMeta.rowData[17], tableMeta, 17)), 1)) : (this.props.PLBSFAMSubmitted ? Number(tableMeta.rowData[17].value) : Number(handleValueFormula(tableMeta.rowData[17], tableMeta, 17)))} value={this.props.defaultCurrency.id == 1 ? (this.props.PLBSFAMSubmitted ? fixNumber(Number(tableMeta.rowData[17].value), 1) : fixNumber(Number(handleValueFormula(tableMeta.rowData[17], tableMeta, 17)), 1)) : (this.props.PLBSFAMSubmitted ? (Number(tableMeta.rowData[17].value) == 0 ? "0.0" : Number(tableMeta.rowData[17].value)) : (Number(handleValueFormula(tableMeta.rowData[17], tableMeta, 17)) == 0 ? "0.0" : Number(handleValueFormula(tableMeta.rowData[17], tableMeta, 17))))}
// value={Number(tableMeta.rowData[17].value) == 0 ? "0.0" : this.props.defaultCurrency.id == 1 ? (this.props.PLBSFAMSubmitted ? fixNumber(Number(tableMeta.rowData[17].value), 1) : fixNumber(Number(handleValueFormula(tableMeta.rowData[17], tableMeta, 17)), 1)) : (this.props.PLBSFAMSubmitted ? Number(tableMeta.rowData[17].value) : Number(handleValueFormula(tableMeta.rowData[17], tableMeta, 17)))}
// value={Number(handleValueFormula(tableMeta.rowData[17], tableMeta, 17)).toFixed(1)} // value={Number(handleValueFormula(tableMeta.rowData[17], tableMeta, 17)).toFixed(1)}
/> />
: :
...@@ -2237,7 +2245,8 @@ export default class CashFlow extends Component { ...@@ -2237,7 +2245,8 @@ export default class CashFlow extends Component {
type="text" type="text"
placeholder="" placeholder=""
disabled={true} disabled={true}
value={Number(tableMeta.rowData[17].value) == 0 ? "0.0" : this.props.defaultCurrency.id == 1 ? (this.props.PLBSFAMSubmitted ? fixNumber(Number(tableMeta.rowData[17].value), 1) : fixNumber(Number(handleValueFormula(tableMeta.rowData[17], tableMeta, 17)), 1)) : (this.props.PLBSFAMSubmitted ? Number(tableMeta.rowData[17].value) : Number(handleValueFormula(tableMeta.rowData[17], tableMeta, 17)))} value={this.props.defaultCurrency.id == 1 ? (this.props.PLBSFAMSubmitted ? fixNumber(Number(tableMeta.rowData[17].value), 1) : fixNumber(Number(handleValueFormula(tableMeta.rowData[17], tableMeta, 17)), 1)) : (this.props.PLBSFAMSubmitted ? (Number(tableMeta.rowData[17].value) == 0 ? "0.0" : Number(tableMeta.rowData[17].value)) : (Number(handleValueFormula(tableMeta.rowData[17], tableMeta, 17)) == 0 ? "0.0" : Number(handleValueFormula(tableMeta.rowData[17], tableMeta, 17))))}
// value={Number(tableMeta.rowData[17].value) == 0 ? "0.0" : this.props.defaultCurrency.id == 1 ? (this.props.PLBSFAMSubmitted ? fixNumber(Number(tableMeta.rowData[17].value), 1) : fixNumber(Number(handleValueFormula(tableMeta.rowData[17], tableMeta, 17)), 1)) : (this.props.PLBSFAMSubmitted ? Number(tableMeta.rowData[17].value) : Number(handleValueFormula(tableMeta.rowData[17], tableMeta, 17)))}
// value={Number(handleValueFormula(tableMeta.rowData[17], tableMeta, 17)).toFixed(1)} // value={Number(handleValueFormula(tableMeta.rowData[17], tableMeta, 17)).toFixed(1)}
/> : /> :
<LightTooltip title={this.state.minValue === null ? `Value Should be ${tableMeta.rowData[24]}` : `Value Should be (${this.state.minValue}) up to (${this.state.maxValue})`} arrow> <LightTooltip title={this.state.minValue === null ? `Value Should be ${tableMeta.rowData[24]}` : `Value Should be (${this.state.minValue}) up to (${this.state.maxValue})`} arrow>
...@@ -2255,7 +2264,8 @@ export default class CashFlow extends Component { ...@@ -2255,7 +2264,8 @@ export default class CashFlow extends Component {
type="text" type="text"
placeholder="" placeholder=""
disabled={true} disabled={true}
value={Number(tableMeta.rowData[17].value) == 0 ? "0.0" : this.props.defaultCurrency.id == 1 ? (this.props.PLBSFAMSubmitted ? fixNumber(Number(tableMeta.rowData[17].value), 1) : fixNumber(Number(handleValueFormula(tableMeta.rowData[17], tableMeta, 17)), 1)) : (this.props.PLBSFAMSubmitted ? Number(tableMeta.rowData[17].value) : Number(handleValueFormula(tableMeta.rowData[17], tableMeta, 17)))} value={this.props.defaultCurrency.id == 1 ? (this.props.PLBSFAMSubmitted ? fixNumber(Number(tableMeta.rowData[17].value), 1) : fixNumber(Number(handleValueFormula(tableMeta.rowData[17], tableMeta, 17)), 1)) : (this.props.PLBSFAMSubmitted ? (Number(tableMeta.rowData[17].value) == 0 ? "0.0" : Number(tableMeta.rowData[17].value)) : (Number(handleValueFormula(tableMeta.rowData[17], tableMeta, 17)) == 0 ? "0.0" : Number(handleValueFormula(tableMeta.rowData[17], tableMeta, 17))))}
// value={Number(tableMeta.rowData[17].value) == 0 ? "0.0" : this.props.defaultCurrency.id == 1 ? (this.props.PLBSFAMSubmitted ? fixNumber(Number(tableMeta.rowData[17].value), 1) : fixNumber(Number(handleValueFormula(tableMeta.rowData[17], tableMeta, 17)), 1)) : (this.props.PLBSFAMSubmitted ? Number(tableMeta.rowData[17].value) : Number(handleValueFormula(tableMeta.rowData[17], tableMeta, 17)))}
// value={Number(handleValueFormula(tableMeta.rowData[17], tableMeta, 17)).toFixed(1)} // value={Number(handleValueFormula(tableMeta.rowData[17], tableMeta, 17)).toFixed(1)}
/> />
</LightTooltip> </LightTooltip>
...@@ -2275,7 +2285,8 @@ export default class CashFlow extends Component { ...@@ -2275,7 +2285,8 @@ export default class CashFlow extends Component {
type="text" type="text"
placeholder="" placeholder=""
disabled={true} disabled={true}
value={Number(tableMeta.rowData[17].value) == 0 ? "0.0" : this.props.defaultCurrency.id == 1 ? (this.props.PLBSFAMSubmitted ? fixNumber(Number(tableMeta.rowData[17].value), 1) : fixNumber(Number(handleValueFormula(tableMeta.rowData[17], tableMeta, 17)), 1)) : (this.props.PLBSFAMSubmitted ? Number(tableMeta.rowData[17].value) : Number(handleValueFormula(tableMeta.rowData[17], tableMeta, 17)))} value={this.props.defaultCurrency.id == 1 ? (this.props.PLBSFAMSubmitted ? fixNumber(Number(tableMeta.rowData[17].value), 1) : fixNumber(Number(handleValueFormula(tableMeta.rowData[17], tableMeta, 17)), 1)) : (this.props.PLBSFAMSubmitted ? (Number(tableMeta.rowData[17].value) == 0 ? "0.0" : Number(tableMeta.rowData[17].value)) : (Number(handleValueFormula(tableMeta.rowData[17], tableMeta, 17)) == 0 ? "0.0" : Number(handleValueFormula(tableMeta.rowData[17], tableMeta, 17))))}
// value={Number(tableMeta.rowData[17].value) == 0 ? "0.0" : this.props.defaultCurrency.id == 1 ? (this.props.PLBSFAMSubmitted ? fixNumber(Number(tableMeta.rowData[17].value), 1) : fixNumber(Number(handleValueFormula(tableMeta.rowData[17], tableMeta, 17)), 1)) : (this.props.PLBSFAMSubmitted ? Number(tableMeta.rowData[17].value) : Number(handleValueFormula(tableMeta.rowData[17], tableMeta, 17)))}
// value={Number(handleValueFormula(tableMeta.rowData[17], tableMeta, 17)).toFixed(1)} // value={Number(handleValueFormula(tableMeta.rowData[17], tableMeta, 17)).toFixed(1)}
/> : /> :
<LightTooltip title={this.state.minValue === null ? `Value Should be ${tableMeta.rowData[24]}` : `Value Should be (${this.state.minValue}) up to (${this.state.maxValue})`} arrow> <LightTooltip title={this.state.minValue === null ? `Value Should be ${tableMeta.rowData[24]}` : `Value Should be (${this.state.minValue}) up to (${this.state.maxValue})`} arrow>
...@@ -2293,7 +2304,8 @@ export default class CashFlow extends Component { ...@@ -2293,7 +2304,8 @@ export default class CashFlow extends Component {
type="text" type="text"
placeholder="" placeholder=""
disabled={true} disabled={true}
value={Number(tableMeta.rowData[17].value) == 0 ? "0.0" : this.props.defaultCurrency.id == 1 ? (this.props.PLBSFAMSubmitted ? fixNumber(Number(tableMeta.rowData[17].value), 1) : fixNumber(Number(handleValueFormula(tableMeta.rowData[17], tableMeta, 17)), 1)) : (this.props.PLBSFAMSubmitted ? Number(tableMeta.rowData[17].value) : Number(handleValueFormula(tableMeta.rowData[17], tableMeta, 17)))} value={this.props.defaultCurrency.id == 1 ? (this.props.PLBSFAMSubmitted ? fixNumber(Number(tableMeta.rowData[17].value), 1) : fixNumber(Number(handleValueFormula(tableMeta.rowData[17], tableMeta, 17)), 1)) : (this.props.PLBSFAMSubmitted ? (Number(tableMeta.rowData[17].value) == 0 ? "0.0" : Number(tableMeta.rowData[17].value)) : (Number(handleValueFormula(tableMeta.rowData[17], tableMeta, 17)) == 0 ? "0.0" : Number(handleValueFormula(tableMeta.rowData[17], tableMeta, 17))))}
// value={Number(tableMeta.rowData[17].value) == 0 ? "0.0" : this.props.defaultCurrency.id == 1 ? (this.props.PLBSFAMSubmitted ? fixNumber(Number(tableMeta.rowData[17].value), 1) : fixNumber(Number(handleValueFormula(tableMeta.rowData[17], tableMeta, 17)), 1)) : (this.props.PLBSFAMSubmitted ? Number(tableMeta.rowData[17].value) : Number(handleValueFormula(tableMeta.rowData[17], tableMeta, 17)))}
// value={Number(handleValueFormula(tableMeta.rowData[17], tableMeta, 17)).toFixed(1)} // value={Number(handleValueFormula(tableMeta.rowData[17], tableMeta, 17)).toFixed(1)}
/> />
</LightTooltip> </LightTooltip>
......
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