Commit 1485e6b8 authored by fahrur huzain's avatar fahrur huzain

Merge branch 'ENV-DEV' into 'ENV-STAGING'

Env dev

See merge request !2141
parents 5c6fd76f 7ff16832
......@@ -916,8 +916,8 @@ export default class CashFlow extends Component {
type="text"
placeholder=""
disabled={true}
// value={Number(tableMeta.rowData[6].value).toFixed(1)}
value={Number(tableMeta.rowData[6].value) == 0 ? "0.0" : this.props.defaultCurrency.id == 1 ? (this.props.PLBSFAMSubmitted ? fixNumber(Number(tableMeta.rowData[6].value).toFixed(1), 1) : fixNumber(Number(handleValueFormula(tableMeta.rowData[6], tableMeta, 6)), 1)) : (this.props.PLBSFAMSubmitted ? Number(tableMeta.rowData[6].value) : Number(handleValueFormula(tableMeta.rowData[6], tableMeta, 6)))}
// value={fixNumber(Number(tableMeta.rowData[6].value).toFixed(1), 1)}
value={Number(tableMeta.rowData[6].value) == 0 ? "0.0" : this.props.defaultCurrency.id == 1 ? (this.props.PLBSFAMSubmitted ? fixNumber(Number(tableMeta.rowData[6].value), 1) : fixNumber(Number(handleValueFormula(tableMeta.rowData[6], tableMeta, 6)), 1)) : (this.props.PLBSFAMSubmitted ? Number(tableMeta.rowData[6].value) : Number(handleValueFormula(tableMeta.rowData[6], tableMeta, 6)))}
/>
</span>
:
......@@ -929,7 +929,7 @@ export default class CashFlow extends Component {
placeholder=""
disabled={true}
// value={Number(tableMeta.rowData[6].value).toFixed(1)}
value={Number(tableMeta.rowData[6].value) == 0 ? "0.0" : this.props.defaultCurrency.id == 1 ? (this.props.PLBSFAMSubmitted ? fixNumber(Number(tableMeta.rowData[6].value).toFixed(1), 1) : fixNumber(Number(handleValueFormula(tableMeta.rowData[6], tableMeta, 6)), 1)) : (this.props.PLBSFAMSubmitted ? Number(tableMeta.rowData[6].value) : Number(handleValueFormula(tableMeta.rowData[6], tableMeta, 6)))}
value={Number(tableMeta.rowData[6].value) == 0 ? "0.0" : this.props.defaultCurrency.id == 1 ? (this.props.PLBSFAMSubmitted ? fixNumber(Number(tableMeta.rowData[6].value), 1) : fixNumber(Number(handleValueFormula(tableMeta.rowData[6], tableMeta, 6)), 1)) : (this.props.PLBSFAMSubmitted ? Number(tableMeta.rowData[6].value) : Number(handleValueFormula(tableMeta.rowData[6], tableMeta, 6)))}
/>
:
tableMeta.rowData[0] === 7 ?
......@@ -951,7 +951,7 @@ export default class CashFlow extends Component {
placeholder=""
disabled={true}
// value={Number(tableMeta.rowData[6].value).toFixed(1)}
value={Number(tableMeta.rowData[6].value) == 0 ? "0.0" : this.props.defaultCurrency.id == 1 ? (this.props.PLBSFAMSubmitted ? fixNumber(Number(tableMeta.rowData[6].value).toFixed(1), 1) : fixNumber(Number(handleValueFormula(tableMeta.rowData[6], tableMeta, 6)), 1)) : (this.props.PLBSFAMSubmitted ? Number(tableMeta.rowData[6].value) : Number(handleValueFormula(tableMeta.rowData[6], tableMeta, 6)))}
value={Number(tableMeta.rowData[6].value) == 0 ? "0.0" : this.props.defaultCurrency.id == 1 ? (this.props.PLBSFAMSubmitted ? fixNumber(Number(tableMeta.rowData[6].value), 1) : fixNumber(Number(handleValueFormula(tableMeta.rowData[6], tableMeta, 6)), 1)) : (this.props.PLBSFAMSubmitted ? Number(tableMeta.rowData[6].value) : Number(handleValueFormula(tableMeta.rowData[6], tableMeta, 6)))}
/>
:
<LightTooltip title={this.state.minValue === null ? `Value Should be ${tableMeta.rowData[24]}` : `Value Should be (${this.state.minValue}) up to (${this.state.maxValue})`} arrow>
......@@ -970,7 +970,7 @@ export default class CashFlow extends Component {
placeholder=""
disabled={true}
// value={Number(tableMeta.rowData[6].value).toFixed(1)}
value={Number(tableMeta.rowData[6].value) == 0 ? "0.0" : this.props.defaultCurrency.id == 1 ? (this.props.PLBSFAMSubmitted ? fixNumber(Number(tableMeta.rowData[6].value).toFixed(1), 1) : fixNumber(Number(handleValueFormula(tableMeta.rowData[6], tableMeta, 6)), 1)) : (this.props.PLBSFAMSubmitted ? Number(tableMeta.rowData[6].value) : Number(handleValueFormula(tableMeta.rowData[6], tableMeta, 6)))}
value={Number(tableMeta.rowData[6].value) == 0 ? "0.0" : this.props.defaultCurrency.id == 1 ? (this.props.PLBSFAMSubmitted ? fixNumber(Number(tableMeta.rowData[6].value), 1) : fixNumber(Number(handleValueFormula(tableMeta.rowData[6], tableMeta, 6)), 1)) : (this.props.PLBSFAMSubmitted ? Number(tableMeta.rowData[6].value) : Number(handleValueFormula(tableMeta.rowData[6], tableMeta, 6)))}
/>
</LightTooltip>
:
......@@ -990,7 +990,7 @@ export default class CashFlow extends Component {
placeholder=""
disabled={true}
// value={Number(tableMeta.rowData[6].value).toFixed(1)}
value={Number(tableMeta.rowData[6].value) == 0 ? "0.0" : this.props.defaultCurrency.id == 1 ? (this.props.PLBSFAMSubmitted ? fixNumber(Number(tableMeta.rowData[6].value).toFixed(1), 1) : fixNumber(Number(handleValueFormula(tableMeta.rowData[6], tableMeta, 6)), 1)) : (this.props.PLBSFAMSubmitted ? Number(tableMeta.rowData[6].value) : Number(handleValueFormula(tableMeta.rowData[6], tableMeta, 6)))}
value={Number(tableMeta.rowData[6].value) == 0 ? "0.0" : this.props.defaultCurrency.id == 1 ? (this.props.PLBSFAMSubmitted ? fixNumber(Number(tableMeta.rowData[6].value), 1) : fixNumber(Number(handleValueFormula(tableMeta.rowData[6], tableMeta, 6)), 1)) : (this.props.PLBSFAMSubmitted ? Number(tableMeta.rowData[6].value) : Number(handleValueFormula(tableMeta.rowData[6], tableMeta, 6)))}
/>
:
<LightTooltip title={this.state.minValue === null ? `Value Should be ${tableMeta.rowData[24]}` : `Value Should be (${this.state.minValue}) up to (${this.state.maxValue})`} arrow>
......@@ -1009,7 +1009,7 @@ export default class CashFlow extends Component {
placeholder=""
disabled={true}
// value={Number(tableMeta.rowData[6].value).toFixed(1)}
value={Number(tableMeta.rowData[6].value) == 0 ? "0.0" : this.props.defaultCurrency.id == 1 ? (this.props.PLBSFAMSubmitted ? fixNumber(Number(tableMeta.rowData[6].value).toFixed(1), 1) : fixNumber(Number(handleValueFormula(tableMeta.rowData[6], tableMeta, 6)), 1)) : (this.props.PLBSFAMSubmitted ? Number(tableMeta.rowData[6].value) : Number(handleValueFormula(tableMeta.rowData[6], tableMeta, 6)))}
value={Number(tableMeta.rowData[6].value) == 0 ? "0.0" : this.props.defaultCurrency.id == 1 ? (this.props.PLBSFAMSubmitted ? fixNumber(Number(tableMeta.rowData[6].value), 1) : fixNumber(Number(handleValueFormula(tableMeta.rowData[6], tableMeta, 6)), 1)) : (this.props.PLBSFAMSubmitted ? Number(tableMeta.rowData[6].value) : Number(handleValueFormula(tableMeta.rowData[6], tableMeta, 6)))}
/>
</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