Commit 1df927f8 authored by qorri_di's avatar qorri_di

Merge branch 'ENV-STAGING' into 'ENV-PROD'

Env staging

See merge request !2152
parents 70af38bf a4804090
......@@ -1189,7 +1189,7 @@ export default class BalanceSheet extends Component {
type="text"
placeholder=""
disabled={true}
value={fixNumber(Number(handleValidation(value, tableMeta)), 12) == 0 ? "0.0" : fixNumber(Number(handleValidation(value, tableMeta)), 12)}
value={fixNumber(Number(handleValidation(value, tableMeta)), 12) == 0 ? "0.0" : this.props.defaultCurrency.id === 1 ? fixNumber(Number(handleValidation(value, tableMeta)), 1) == 0 ? "0.0" : fixNumber(Number(handleValidation(value, tableMeta)), 1) : fixNumber(Number(handleValidation(value, tableMeta)), 12)}
/> :
<LightTooltip title={this.state.minValue === null ? `Value Should be ${tableMeta.rowData[23]}` : `Value Should be (${this.state.minValue}) up to (${this.state.maxValue})`} arrow>
<NumberFormat
......@@ -1206,7 +1206,7 @@ export default class BalanceSheet extends Component {
type="text"
placeholder=""
disabled={true}
value={fixNumber(Number(handleValidation(value, tableMeta)), 12) == 0 ? "0.0" : fixNumber(Number(handleValidation(value, tableMeta)), 12)}
value={fixNumber(Number(handleValidation(value, tableMeta)), 12) == 0 ? "0.0" : this.props.defaultCurrency.id === 1 ? fixNumber(Number(handleValidation(value, tableMeta)), 1) == 0 ? "0.0" : fixNumber(Number(handleValidation(value, tableMeta)), 1) : fixNumber(Number(handleValidation(value, tableMeta)), 12)}
/>
</LightTooltip>
:
......@@ -1376,7 +1376,7 @@ export default class BalanceSheet extends Component {
type="text"
placeholder=""
disabled={true}
value={fixNumber(Number(handleValidation(value, tableMeta)), 12) == 0 ? "0.0" : fixNumber(Number(handleValidation(value, tableMeta)), 12)}
value={fixNumber(Number(handleValidation(value, tableMeta)), 12) == 0 ? "0.0" : this.props.defaultCurrency.id === 1 ? fixNumber(Number(handleValidation(value, tableMeta)), 1) == 0 ? "0.0" : fixNumber(Number(handleValidation(value, tableMeta)), 1) : fixNumber(Number(handleValidation(value, tableMeta)), 12)}
/> :
<LightTooltip title={this.state.minValue === null ? `Value Should be ${tableMeta.rowData[23]}` : `Value Should be (${this.state.minValue}) up to (${this.state.maxValue})`} arrow>
<NumberFormat
......@@ -1393,7 +1393,7 @@ export default class BalanceSheet extends Component {
type="text"
placeholder=""
disabled={true}
value={fixNumber(Number(handleValidation(value, tableMeta)), 12) == 0 ? "0.0" : fixNumber(Number(handleValidation(value, tableMeta)), 12)}
value={fixNumber(Number(handleValidation(value, tableMeta)), 12) == 0 ? "0.0" : this.props.defaultCurrency.id === 1 ? fixNumber(Number(handleValidation(value, tableMeta)), 1) == 0 ? "0.0" : fixNumber(Number(handleValidation(value, tableMeta)), 1) : fixNumber(Number(handleValidation(value, tableMeta)), 12)}
/>
</LightTooltip>
:
......@@ -1564,7 +1564,7 @@ export default class BalanceSheet extends Component {
type="text"
placeholder=""
disabled={true}
value={fixNumber(Number(handleValidation(value, tableMeta)), 12) == 0 ? "0.0" : fixNumber(Number(handleValidation(value, tableMeta)), 12)}
value={fixNumber(Number(handleValidation(value, tableMeta)), 12) == 0 ? "0.0" : this.props.defaultCurrency.id === 1 ? fixNumber(Number(handleValidation(value, tableMeta)), 1) == 0 ? "0.0" : fixNumber(Number(handleValidation(value, tableMeta)), 1) : fixNumber(Number(handleValidation(value, tableMeta)), 12)}
/> :
<LightTooltip title={this.state.minValue === null ? `Value Should be ${tableMeta.rowData[23]}` : `Value Should be (${this.state.minValue}) up to (${this.state.maxValue})`} arrow>
<NumberFormat
......@@ -1581,7 +1581,7 @@ export default class BalanceSheet extends Component {
type="text"
placeholder=""
disabled={true}
value={fixNumber(Number(handleValidation(value, tableMeta)), 12) == 0 ? "0.0" : fixNumber(Number(handleValidation(value, tableMeta)), 12)}
value={fixNumber(Number(handleValidation(value, tableMeta)), 12) == 0 ? "0.0" : this.props.defaultCurrency.id === 1 ? fixNumber(Number(handleValidation(value, tableMeta)), 1) == 0 ? "0.0" : fixNumber(Number(handleValidation(value, tableMeta)), 1) : fixNumber(Number(handleValidation(value, tableMeta)), 12)}
/>
</LightTooltip>
:
......@@ -1751,7 +1751,7 @@ export default class BalanceSheet extends Component {
type="text"
placeholder=""
disabled={true}
value={fixNumber(Number(handleValidation(value, tableMeta)), 12) == 0 ? "0.0" : fixNumber(Number(handleValidation(value, tableMeta)), 12)}
value={fixNumber(Number(handleValidation(value, tableMeta)), 12) == 0 ? "0.0" : this.props.defaultCurrency.id === 1 ? fixNumber(Number(handleValidation(value, tableMeta)), 1) == 0 ? "0.0" : fixNumber(Number(handleValidation(value, tableMeta)), 1) : fixNumber(Number(handleValidation(value, tableMeta)), 12)}
/> :
<LightTooltip title={this.state.minValue === null ? `Value Should be ${tableMeta.rowData[23]}` : `Value Should be (${this.state.minValue}) up to (${this.state.maxValue})`} arrow>
<NumberFormat
......@@ -1768,7 +1768,7 @@ export default class BalanceSheet extends Component {
type="text"
placeholder=""
disabled={true}
value={fixNumber(Number(handleValidation(value, tableMeta)), 12) == 0 ? "0.0" : fixNumber(Number(handleValidation(value, tableMeta)), 12)}
value={fixNumber(Number(handleValidation(value, tableMeta)), 12) == 0 ? "0.0" : this.props.defaultCurrency.id === 1 ? fixNumber(Number(handleValidation(value, tableMeta)), 1) == 0 ? "0.0" : fixNumber(Number(handleValidation(value, tableMeta)), 1) : fixNumber(Number(handleValidation(value, tableMeta)), 12)}
/>
</LightTooltip>
:
......@@ -1938,7 +1938,7 @@ export default class BalanceSheet extends Component {
type="text"
placeholder=""
disabled={true}
value={fixNumber(Number(handleValidation(value, tableMeta)), 12) == 0 ? "0.0" : fixNumber(Number(handleValidation(value, tableMeta)), 12)}
value={fixNumber(Number(handleValidation(value, tableMeta)), 12) == 0 ? "0.0" : this.props.defaultCurrency.id === 1 ? fixNumber(Number(handleValidation(value, tableMeta)), 1) == 0 ? "0.0" : fixNumber(Number(handleValidation(value, tableMeta)), 1) : fixNumber(Number(handleValidation(value, tableMeta)), 12)}
/> :
<LightTooltip title={this.state.minValue === null ? `Value Should be ${tableMeta.rowData[23]}` : `Value Should be (${this.state.minValue}) up to (${this.state.maxValue})`} arrow>
<NumberFormat
......@@ -1955,7 +1955,7 @@ export default class BalanceSheet extends Component {
type="text"
placeholder=""
disabled={true}
value={fixNumber(Number(handleValidation(value, tableMeta)), 12) == 0 ? "0.0" : fixNumber(Number(handleValidation(value, tableMeta)), 12)}
value={fixNumber(Number(handleValidation(value, tableMeta)), 12) == 0 ? "0.0" : this.props.defaultCurrency.id === 1 ? fixNumber(Number(handleValidation(value, tableMeta)), 1) == 0 ? "0.0" : fixNumber(Number(handleValidation(value, tableMeta)), 1) : fixNumber(Number(handleValidation(value, tableMeta)), 12)}
/>
</LightTooltip>
:
......@@ -2125,7 +2125,7 @@ export default class BalanceSheet extends Component {
type="text"
placeholder=""
disabled={true}
value={fixNumber(Number(handleValidation(value, tableMeta)), 12) == 0 ? "0.0" : fixNumber(Number(handleValidation(value, tableMeta)), 12)}
value={fixNumber(Number(handleValidation(value, tableMeta)), 12) == 0 ? "0.0" : this.props.defaultCurrency.id === 1 ? fixNumber(Number(handleValidation(value, tableMeta)), 1) == 0 ? "0.0" : fixNumber(Number(handleValidation(value, tableMeta)), 1) : fixNumber(Number(handleValidation(value, tableMeta)), 12)}
/> :
<LightTooltip title={this.state.minValue === null ? `Value Should be ${tableMeta.rowData[23]}` : `Value Should be (${this.state.minValue}) up to (${this.state.maxValue})`} arrow>
<NumberFormat
......@@ -2142,7 +2142,7 @@ export default class BalanceSheet extends Component {
type="text"
placeholder=""
disabled={true}
value={fixNumber(Number(handleValidation(value, tableMeta)), 12) == 0 ? "0.0" : fixNumber(Number(handleValidation(value, tableMeta)), 12)}
value={fixNumber(Number(handleValidation(value, tableMeta)), 12) == 0 ? "0.0" : this.props.defaultCurrency.id === 1 ? fixNumber(Number(handleValidation(value, tableMeta)), 1) == 0 ? "0.0" : fixNumber(Number(handleValidation(value, tableMeta)), 1) : fixNumber(Number(handleValidation(value, tableMeta)), 12)}
/>
</LightTooltip>
:
......@@ -2312,7 +2312,7 @@ export default class BalanceSheet extends Component {
type="text"
placeholder=""
disabled={true}
value={fixNumber(Number(handleValidation(value, tableMeta)), 12) == 0 ? "0.0" : fixNumber(Number(handleValidation(value, tableMeta)), 12)}
value={fixNumber(Number(handleValidation(value, tableMeta)), 12) == 0 ? "0.0" : this.props.defaultCurrency.id === 1 ? fixNumber(Number(handleValidation(value, tableMeta)), 1) == 0 ? "0.0" : fixNumber(Number(handleValidation(value, tableMeta)), 1) : fixNumber(Number(handleValidation(value, tableMeta)), 12)}
/> :
<LightTooltip title={this.state.minValue === null ? `Value Should be ${tableMeta.rowData[23]}` : `Value Should be (${this.state.minValue}) up to (${this.state.maxValue})`} arrow>
<NumberFormat
......@@ -2329,7 +2329,7 @@ export default class BalanceSheet extends Component {
type="text"
placeholder=""
disabled={true}
value={fixNumber(Number(handleValidation(value, tableMeta)), 12) == 0 ? "0.0" : fixNumber(Number(handleValidation(value, tableMeta)), 12)}
value={fixNumber(Number(handleValidation(value, tableMeta)), 12) == 0 ? "0.0" : this.props.defaultCurrency.id === 1 ? fixNumber(Number(handleValidation(value, tableMeta)), 1) == 0 ? "0.0" : fixNumber(Number(handleValidation(value, tableMeta)), 1) : fixNumber(Number(handleValidation(value, tableMeta)), 12)}
/>
</LightTooltip>
:
......@@ -2499,7 +2499,7 @@ export default class BalanceSheet extends Component {
type="text"
placeholder=""
disabled={true}
value={fixNumber(Number(handleValidation(value, tableMeta)), 12) == 0 ? "0.0" : fixNumber(Number(handleValidation(value, tableMeta)), 12)}
value={fixNumber(Number(handleValidation(value, tableMeta)), 12) == 0 ? "0.0" : this.props.defaultCurrency.id === 1 ? fixNumber(Number(handleValidation(value, tableMeta)), 1) == 0 ? "0.0" : fixNumber(Number(handleValidation(value, tableMeta)), 1) : fixNumber(Number(handleValidation(value, tableMeta)), 12)}
/> :
<LightTooltip title={this.state.minValue === null ? `Value Should be ${tableMeta.rowData[23]}` : `Value Should be (${this.state.minValue}) up to (${this.state.maxValue})`} arrow>
<NumberFormat
......@@ -2516,7 +2516,7 @@ export default class BalanceSheet extends Component {
type="text"
placeholder=""
disabled={true}
value={fixNumber(Number(handleValidation(value, tableMeta)), 12) == 0 ? "0.0" : fixNumber(Number(handleValidation(value, tableMeta)), 12)}
value={fixNumber(Number(handleValidation(value, tableMeta)), 12) == 0 ? "0.0" : this.props.defaultCurrency.id === 1 ? fixNumber(Number(handleValidation(value, tableMeta)), 1) == 0 ? "0.0" : fixNumber(Number(handleValidation(value, tableMeta)), 1) : fixNumber(Number(handleValidation(value, tableMeta)), 12)}
/>
</LightTooltip>
:
......@@ -2686,7 +2686,7 @@ export default class BalanceSheet extends Component {
type="text"
placeholder=""
disabled={true}
value={fixNumber(Number(handleValidation(value, tableMeta)), 12) == 0 ? "0.0" : fixNumber(Number(handleValidation(value, tableMeta)), 12)}
value={fixNumber(Number(handleValidation(value, tableMeta)), 12) == 0 ? "0.0" : this.props.defaultCurrency.id === 1 ? fixNumber(Number(handleValidation(value, tableMeta)), 1) == 0 ? "0.0" : fixNumber(Number(handleValidation(value, tableMeta)), 1) : fixNumber(Number(handleValidation(value, tableMeta)), 12)}
/> :
<LightTooltip title={this.state.minValue === null ? `Value Should be ${tableMeta.rowData[23]}` : `Value Should be (${this.state.minValue}) up to (${this.state.maxValue})`} arrow>
<NumberFormat
......@@ -2703,7 +2703,7 @@ export default class BalanceSheet extends Component {
type="text"
placeholder=""
disabled={true}
value={fixNumber(Number(handleValidation(value, tableMeta)), 12) == 0 ? "0.0" : fixNumber(Number(handleValidation(value, tableMeta)), 12)}
value={fixNumber(Number(handleValidation(value, tableMeta)), 12) == 0 ? "0.0" : this.props.defaultCurrency.id === 1 ? fixNumber(Number(handleValidation(value, tableMeta)), 1) == 0 ? "0.0" : fixNumber(Number(handleValidation(value, tableMeta)), 1) : fixNumber(Number(handleValidation(value, tableMeta)), 12)}
/>
</LightTooltip>
:
......@@ -2873,7 +2873,7 @@ export default class BalanceSheet extends Component {
type="text"
placeholder=""
disabled={true}
value={fixNumber(Number(handleValidation(value, tableMeta)), 12) == 0 ? "0.0" : fixNumber(Number(handleValidation(value, tableMeta)), 12)}
value={fixNumber(Number(handleValidation(value, tableMeta)), 12) == 0 ? "0.0" : this.props.defaultCurrency.id === 1 ? fixNumber(Number(handleValidation(value, tableMeta)), 1) == 0 ? "0.0" : fixNumber(Number(handleValidation(value, tableMeta)), 1) : fixNumber(Number(handleValidation(value, tableMeta)), 12)}
/> :
<LightTooltip title={this.state.minValue === null ? `Value Should be ${tableMeta.rowData[23]}` : `Value Should be (${this.state.minValue}) up to (${this.state.maxValue})`} arrow>
<NumberFormat
......@@ -2890,7 +2890,7 @@ export default class BalanceSheet extends Component {
type="text"
placeholder=""
disabled={true}
value={fixNumber(Number(handleValidation(value, tableMeta)), 12) == 0 ? "0.0" : fixNumber(Number(handleValidation(value, tableMeta)), 12)}
value={fixNumber(Number(handleValidation(value, tableMeta)), 12) == 0 ? "0.0" : this.props.defaultCurrency.id === 1 ? fixNumber(Number(handleValidation(value, tableMeta)), 1) == 0 ? "0.0" : fixNumber(Number(handleValidation(value, tableMeta)), 1) : fixNumber(Number(handleValidation(value, tableMeta)), 12)}
/>
</LightTooltip>
:
......@@ -3060,7 +3060,7 @@ export default class BalanceSheet extends Component {
type="text"
placeholder=""
disabled={true}
value={fixNumber(Number(handleValidation(value, tableMeta)), 12) == 0 ? "0.0" : fixNumber(Number(handleValidation(value, tableMeta)), 12)}
value={fixNumber(Number(handleValidation(value, tableMeta)), 12) == 0 ? "0.0" : this.props.defaultCurrency.id === 1 ? fixNumber(Number(handleValidation(value, tableMeta)), 1) == 0 ? "0.0" : fixNumber(Number(handleValidation(value, tableMeta)), 1) : fixNumber(Number(handleValidation(value, tableMeta)), 12)}
/> :
<LightTooltip title={this.state.minValue === null ? `Value Should be ${tableMeta.rowData[23]}` : `Value Should be (${this.state.minValue}) up to (${this.state.maxValue})`} arrow>
<NumberFormat
......@@ -3077,7 +3077,7 @@ export default class BalanceSheet extends Component {
type="text"
placeholder=""
disabled={true}
value={fixNumber(Number(handleValidation(value, tableMeta)), 12) == 0 ? "0.0" : fixNumber(Number(handleValidation(value, tableMeta)), 12)}
value={fixNumber(Number(handleValidation(value, tableMeta)), 12) == 0 ? "0.0" : this.props.defaultCurrency.id === 1 ? fixNumber(Number(handleValidation(value, tableMeta)), 1) == 0 ? "0.0" : fixNumber(Number(handleValidation(value, tableMeta)), 1) : fixNumber(Number(handleValidation(value, tableMeta)), 12)}
/>
</LightTooltip>
:
......@@ -3247,7 +3247,7 @@ export default class BalanceSheet extends Component {
type="text"
placeholder=""
disabled={true}
value={fixNumber(Number(handleValidation(value, tableMeta)), 12) == 0 ? "0.0" : fixNumber(Number(handleValidation(value, tableMeta)), 1)}
value={fixNumber(Number(handleValidation(value, tableMeta)), 12) == 0 ? "0.0" : this.props.defaultCurrency.id === 1 ? fixNumber(Number(handleValidation(value, tableMeta)), 1) == 0 ? "0.0" : fixNumber(Number(handleValidation(value, tableMeta)), 1) : fixNumber(Number(handleValidation(value, tableMeta)), 12)}
/> :
<LightTooltip title={this.state.minValue === null ? `Value Should be ${tableMeta.rowData[23]}` : `Value Should be (${this.state.minValue}) up to (${this.state.maxValue})`} arrow>
<NumberFormat
......@@ -3264,7 +3264,7 @@ export default class BalanceSheet extends Component {
type="text"
placeholder=""
disabled={true}
value={fixNumber(Number(handleValidation(value, tableMeta)), 12) == 0 ? "0.0" : fixNumber(Number(handleValidation(value, tableMeta)), 12)}
value={fixNumber(Number(handleValidation(value, tableMeta)), 12) == 0 ? "0.0" : this.props.defaultCurrency.id === 1 ? fixNumber(Number(handleValidation(value, tableMeta)), 1) == 0 ? "0.0" : fixNumber(Number(handleValidation(value, tableMeta)), 1) : fixNumber(Number(handleValidation(value, tableMeta)), 12)}
/>
</LightTooltip>
:
......@@ -3434,7 +3434,7 @@ export default class BalanceSheet extends Component {
type="text"
placeholder=""
disabled={true}
value={fixNumber(Number(handleValidation(value, tableMeta)), 12) == 0 ? "0.0" : fixNumber(Number(handleValidation(value, tableMeta)), 12)}
value={fixNumber(Number(handleValidation(value, tableMeta)), 12) == 0 ? "0.0" : this.props.defaultCurrency.id === 1 ? fixNumber(Number(handleValidation(value, tableMeta)), 1) == 0 ? "0.0" : fixNumber(Number(handleValidation(value, tableMeta)), 1) : fixNumber(Number(handleValidation(value, tableMeta)), 12)}
/> :
<LightTooltip title={this.state.minValue === null ? `Value Should be ${tableMeta.rowData[23]}` : `Value Should be (${this.state.minValue}) up to (${this.state.maxValue})`} arrow>
<NumberFormat
......@@ -3451,7 +3451,7 @@ export default class BalanceSheet extends Component {
type="text"
placeholder=""
disabled={true}
value={fixNumber(Number(handleValidation(value, tableMeta)), 12) == 0 ? "0.0" : fixNumber(Number(handleValidation(value, tableMeta)), 12)}
value={fixNumber(Number(handleValidation(value, tableMeta)), 12) == 0 ? "0.0" : this.props.defaultCurrency.id === 1 ? fixNumber(Number(handleValidation(value, tableMeta)), 1) == 0 ? "0.0" : fixNumber(Number(handleValidation(value, tableMeta)), 1) : fixNumber(Number(handleValidation(value, tableMeta)), 12)}
/>
</LightTooltip>
:
......@@ -3621,7 +3621,7 @@ export default class BalanceSheet extends Component {
type="text"
placeholder=""
disabled={true}
value={fixNumber(Number(handleValidation(value, tableMeta)), 12) == 0 ? "0.0" : fixNumber(Number(handleValidation(value, tableMeta)), 12)}
value={fixNumber(Number(handleValidation(value, tableMeta)), 12) == 0 ? "0.0" : this.props.defaultCurrency.id === 1 ? fixNumber(Number(handleValidation(value, tableMeta)), 1) == 0 ? "0.0" : fixNumber(Number(handleValidation(value, tableMeta)), 1) : fixNumber(Number(handleValidation(value, tableMeta)), 12)}
/> :
<LightTooltip title={this.state.minValue === null ? `Value Should be ${tableMeta.rowData[23]}` : `Value Should be (${this.state.minValue}) up to (${this.state.maxValue})`} arrow>
<NumberFormat
......@@ -3638,7 +3638,7 @@ export default class BalanceSheet extends Component {
type="text"
placeholder=""
disabled={true}
value={fixNumber(Number(handleValidation(value, tableMeta)), 12) == 0 ? "0.0" : fixNumber(Number(handleValidation(value, tableMeta)), 12)}
value={fixNumber(Number(handleValidation(value, tableMeta)), 12) == 0 ? "0.0" : this.props.defaultCurrency.id === 1 ? fixNumber(Number(handleValidation(value, tableMeta)), 1) == 0 ? "0.0" : fixNumber(Number(handleValidation(value, tableMeta)), 1) : fixNumber(Number(handleValidation(value, tableMeta)), 12)}
/>
</LightTooltip>
:
......@@ -3808,7 +3808,7 @@ export default class BalanceSheet extends Component {
type="text"
placeholder=""
disabled={true}
value={fixNumber(Number(handleValidation(value, tableMeta)), 12) == 0 ? "0.0" : fixNumber(Number(handleValidation(value, tableMeta)), 12)}
value={fixNumber(Number(handleValidation(value, tableMeta)), 12) == 0 ? "0.0" : this.props.defaultCurrency.id === 1 ? fixNumber(Number(handleValidation(value, tableMeta)), 1) == 0 ? "0.0" : fixNumber(Number(handleValidation(value, tableMeta)), 1) : fixNumber(Number(handleValidation(value, tableMeta)), 12)}
/> :
<LightTooltip title={this.state.minValue === null ? `Value Should be ${tableMeta.rowData[23]}` : `Value Should be (${this.state.minValue}) up to (${this.state.maxValue})`} arrow>
<NumberFormat
......@@ -3825,7 +3825,7 @@ export default class BalanceSheet extends Component {
type="text"
placeholder=""
disabled={true}
value={fixNumber(Number(handleValidation(value, tableMeta)), 12) == 0 ? "0.0" : fixNumber(Number(handleValidation(value, tableMeta)), 12)}
value={fixNumber(Number(handleValidation(value, tableMeta)), 12) == 0 ? "0.0" : this.props.defaultCurrency.id === 1 ? fixNumber(Number(handleValidation(value, tableMeta)), 1) == 0 ? "0.0" : fixNumber(Number(handleValidation(value, tableMeta)), 1) : fixNumber(Number(handleValidation(value, tableMeta)), 12)}
/>
</LightTooltip>
:
......
......@@ -1698,7 +1698,15 @@ export default class TaxPlanning extends Component {
// console.log("nilai : " + Number(dataTable2[88][21]))
// console.log(JSON.stringify(tableMeta.tableData))
let nilai = Number(total) + Number(dataTable2[tableMeta.rowIndex-10][21])
let nilai = 0
console.log(this.props.defaultCurrency.id)
console.log(Number(dataTable2[tableMeta.rowIndex-9][21]))
console.log(Number(dataTable2[tableMeta.rowIndex-10][21]))
if (this.props.defaultCurrency.id == 1 ){
nilai = Number(total) + Number(dataTable2[tableMeta.rowIndex-9][21])
}else {
nilai = Number(total) + Number(dataTable2[tableMeta.rowIndex-10][21])
}
dataTable2[tableMeta.rowIndex][tableMeta.columnIndex] = nilai
// console.log("niali :" + Number(dataTable2[88][21]));
return nilai
......@@ -2490,7 +2498,7 @@ export default class TaxPlanning extends Component {
type="text"
placeholder=""
disabled={true}
value={fixNumber(Number(handleValueFormula(value, tableMeta, 3)), 12) == 0 ? "0.0" : fixNumber(Number(handleValueFormula(value, tableMeta, 3)), 12)}
value={fixNumber(Number(handleValueFormula(value, tableMeta, 3)), 12) == 0 ? "0.0" : this.props.defaultCurrency.id === 1 ? fixNumber(Number(handleValueFormula(value, tableMeta, 3)), 1) == 0 ? "0.0" : fixNumber(Number(handleValueFormula(value, tableMeta, 3)), 1) : fixNumber(Number(handleValueFormula(value, tableMeta, 3)), 12)}
/> :
<LightTooltip title={this.state.minValue === null ? `Value Should be ${tableMeta.rowData[25].tbf}` : `Value Should be (${this.state.minValue}) up to (${this.state.maxValue})`} arrow>
<NumberFormat
......@@ -2507,7 +2515,7 @@ export default class TaxPlanning extends Component {
type="text"
placeholder=""
disabled={true}
value={fixNumber(Number(handleValueFormula(value, tableMeta, 3)), 12) == 0 ? "0.0" : fixNumber(Number(handleValueFormula(value, tableMeta, 3)), 12)}
value={fixNumber(Number(handleValueFormula(value, tableMeta, 3)), 12) == 0 ? "0.0" : this.props.defaultCurrency.id === 1 ? fixNumber(Number(handleValueFormula(value, tableMeta, 3)), 1) == 0 ? "0.0" : fixNumber(Number(handleValueFormula(value, tableMeta, 3)), 1) : fixNumber(Number(handleValueFormula(value, tableMeta, 3)), 12)}
/>
</LightTooltip>
:
......@@ -2976,7 +2984,7 @@ export default class TaxPlanning extends Component {
type="text"
placeholder=""
disabled={true}
value={fixNumber(Number(handleValueFormula(value, tableMeta, 3)), 12) == 0 ? "0.0" : fixNumber(Number(handleValueFormula(value, tableMeta, 3)), 12)}
value={fixNumber(Number(handleValueFormula(value, tableMeta, 3)), 12) == 0 ? "0.0" : this.props.defaultCurrency.id === 1 ? fixNumber(Number(handleValueFormula(value, tableMeta, 3)), 1) == 0 ? "0.0" : fixNumber(Number(handleValueFormula(value, tableMeta, 3)), 1) : fixNumber(Number(handleValueFormula(value, tableMeta, 3)), 12)}
/> :
<LightTooltip title={this.state.minValue === null ? `Value Should be ${tableMeta.rowData[25].tbf}` : `Value Should be (${this.state.minValue}) up to (${this.state.maxValue})`} arrow>
<NumberFormat
......@@ -2993,7 +3001,7 @@ export default class TaxPlanning extends Component {
type="text"
placeholder=""
disabled={true}
value={fixNumber(Number(handleValueFormula(value, tableMeta, 3)), 12) == 0 ? "0.0" : fixNumber(Number(handleValueFormula(value, tableMeta, 3)), 12)}
value={fixNumber(Number(handleValueFormula(value, tableMeta, 3)), 12) == 0 ? "0.0" : this.props.defaultCurrency.id === 1 ? fixNumber(Number(handleValueFormula(value, tableMeta, 3)), 1) == 0 ? "0.0" : fixNumber(Number(handleValueFormula(value, tableMeta, 3)), 1) : fixNumber(Number(handleValueFormula(value, tableMeta, 3)), 12)}
/>
</LightTooltip>
:
......@@ -3465,7 +3473,7 @@ export default class TaxPlanning extends Component {
type="text"
placeholder=""
disabled={true}
value={fixNumber(Number(handleValueFormula(value, tableMeta, 3)), 12) == 0 ? "0.0" : fixNumber(Number(handleValueFormula(value, tableMeta, 3)), 12)}
value={fixNumber(Number(handleValueFormula(value, tableMeta, 3)), 12) == 0 ? "0.0" : this.props.defaultCurrency.id === 1 ? fixNumber(Number(handleValueFormula(value, tableMeta, 3)), 1) == 0 ? "0.0" : fixNumber(Number(handleValueFormula(value, tableMeta, 3)), 1) : fixNumber(Number(handleValueFormula(value, tableMeta, 3)), 12)}
/> :
<LightTooltip title={this.state.minValue === null ? `Value Should be ${tableMeta.rowData[25].tbf}` : `Value Should be (${this.state.minValue}) up to (${this.state.maxValue})`} arrow>
<NumberFormat
......@@ -3482,7 +3490,7 @@ export default class TaxPlanning extends Component {
type="text"
placeholder=""
disabled={true}
value={fixNumber(Number(handleValueFormula(value, tableMeta, 3)), 12) == 0 ? "0.0" : fixNumber(Number(handleValueFormula(value, tableMeta, 3)), 12)}
value={fixNumber(Number(handleValueFormula(value, tableMeta, 3)), 12) == 0 ? "0.0" : this.props.defaultCurrency.id === 1 ? fixNumber(Number(handleValueFormula(value, tableMeta, 3)), 1) == 0 ? "0.0" : fixNumber(Number(handleValueFormula(value, tableMeta, 3)), 1) : fixNumber(Number(handleValueFormula(value, tableMeta, 3)), 12)}
/>
</LightTooltip>
:
......@@ -3953,7 +3961,7 @@ export default class TaxPlanning extends Component {
type="text"
placeholder=""
disabled={true}
value={fixNumber(Number(handleValueFormula(value, tableMeta, 3)), 12) == 0 ? "0.0" : fixNumber(Number(handleValueFormula(value, tableMeta, 3)), 12)}
value={fixNumber(Number(handleValueFormula(value, tableMeta, 3)), 12) == 0 ? "0.0" : this.props.defaultCurrency.id === 1 ? fixNumber(Number(handleValueFormula(value, tableMeta, 3)), 1) == 0 ? "0.0" : fixNumber(Number(handleValueFormula(value, tableMeta, 3)), 1) : fixNumber(Number(handleValueFormula(value, tableMeta, 3)), 12)}
/> :
<LightTooltip title={this.state.minValue === null ? `Value Should be ${tableMeta.rowData[25].tbf}` : `Value Should be (${this.state.minValue}) up to (${this.state.maxValue})`} arrow>
<NumberFormat
......@@ -3970,7 +3978,7 @@ export default class TaxPlanning extends Component {
type="text"
placeholder=""
disabled={true}
value={fixNumber(Number(handleValueFormula(value, tableMeta, 3)), 12) == 0 ? "0.0" : fixNumber(Number(handleValueFormula(value, tableMeta, 3)), 12)}
value={fixNumber(Number(handleValueFormula(value, tableMeta, 3)), 12) == 0 ? "0.0" : this.props.defaultCurrency.id === 1 ? fixNumber(Number(handleValueFormula(value, tableMeta, 3)), 1) == 0 ? "0.0" : fixNumber(Number(handleValueFormula(value, tableMeta, 3)), 1) : fixNumber(Number(handleValueFormula(value, tableMeta, 3)), 12)}
/>
</LightTooltip>
:
......@@ -4444,7 +4452,7 @@ export default class TaxPlanning extends Component {
type="text"
placeholder=""
disabled={true}
value={fixNumber(Number(handleValueFormula(value, tableMeta, 3)), 12) == 0 ? "0.0" : fixNumber(Number(handleValueFormula(value, tableMeta, 3)), 12)}
value={fixNumber(Number(handleValueFormula(value, tableMeta, 3)), 12) == 0 ? "0.0" : this.props.defaultCurrency.id === 1 ? fixNumber(Number(handleValueFormula(value, tableMeta, 3)), 1) == 0 ? "0.0" : fixNumber(Number(handleValueFormula(value, tableMeta, 3)), 1) : fixNumber(Number(handleValueFormula(value, tableMeta, 3)), 12)}
/> :
<LightTooltip title={this.state.minValue === null ? `Value Should be ${tableMeta.rowData[25].tbf}` : `Value Should be (${this.state.minValue}) up to (${this.state.maxValue})`} arrow>
<NumberFormat
......@@ -4461,7 +4469,7 @@ export default class TaxPlanning extends Component {
type="text"
placeholder=""
disabled={true}
value={fixNumber(Number(handleValueFormula(value, tableMeta, 3)), 12) == 0 ? "0.0" : fixNumber(Number(handleValueFormula(value, tableMeta, 3)), 12)}
value={fixNumber(Number(handleValueFormula(value, tableMeta, 3)), 12) == 0 ? "0.0" : this.props.defaultCurrency.id === 1 ? fixNumber(Number(handleValueFormula(value, tableMeta, 3)), 1) == 0 ? "0.0" : fixNumber(Number(handleValueFormula(value, tableMeta, 3)), 1) : fixNumber(Number(handleValueFormula(value, tableMeta, 3)), 12)}
/>
</LightTooltip>
:
......@@ -4934,7 +4942,7 @@ export default class TaxPlanning extends Component {
type="text"
placeholder=""
disabled={true}
value={fixNumber(Number(handleValueFormula(value, tableMeta, 3)), 12) == 0 ? "0.0" : fixNumber(Number(handleValueFormula(value, tableMeta, 3)), 12)}
value={fixNumber(Number(handleValueFormula(value, tableMeta, 3)), 12) == 0 ? "0.0" : this.props.defaultCurrency.id === 1 ? fixNumber(Number(handleValueFormula(value, tableMeta, 3)), 1) == 0 ? "0.0" : fixNumber(Number(handleValueFormula(value, tableMeta, 3)), 1) : fixNumber(Number(handleValueFormula(value, tableMeta, 3)), 12)}
/> :
<LightTooltip title={this.state.minValue === null ? `Value Should be ${tableMeta.rowData[25].tbf}` : `Value Should be (${this.state.minValue}) up to (${this.state.maxValue})`} arrow>
<NumberFormat
......@@ -4951,7 +4959,7 @@ export default class TaxPlanning extends Component {
type="text"
placeholder=""
disabled={true}
value={fixNumber(Number(handleValueFormula(value, tableMeta, 3)), 12) == 0 ? "0.0" : fixNumber(Number(handleValueFormula(value, tableMeta, 3)), 12)}
value={fixNumber(Number(handleValueFormula(value, tableMeta, 3)), 12) == 0 ? "0.0" : this.props.defaultCurrency.id === 1 ? fixNumber(Number(handleValueFormula(value, tableMeta, 3)), 1) == 0 ? "0.0" : fixNumber(Number(handleValueFormula(value, tableMeta, 3)), 1) : fixNumber(Number(handleValueFormula(value, tableMeta, 3)), 12)}
/>
</LightTooltip>
:
......@@ -5424,7 +5432,7 @@ export default class TaxPlanning extends Component {
type="text"
placeholder=""
disabled={true}
value={fixNumber(Number(handleValueFormula(value, tableMeta, 3)), 12) == 0 ? "0.0" : fixNumber(Number(handleValueFormula(value, tableMeta, 3)), 12)}
value={fixNumber(Number(handleValueFormula(value, tableMeta, 3)), 12) == 0 ? "0.0" : this.props.defaultCurrency.id === 1 ? fixNumber(Number(handleValueFormula(value, tableMeta, 3)), 1) == 0 ? "0.0" : fixNumber(Number(handleValueFormula(value, tableMeta, 3)), 1) : fixNumber(Number(handleValueFormula(value, tableMeta, 3)), 12)}
/> :
<LightTooltip title={this.state.minValue === null ? `Value Should be ${tableMeta.rowData[25].tbf}` : `Value Should be (${this.state.minValue}) up to (${this.state.maxValue})`} arrow>
<NumberFormat
......@@ -5441,7 +5449,7 @@ export default class TaxPlanning extends Component {
type="text"
placeholder=""
disabled={true}
value={fixNumber(Number(handleValueFormula(value, tableMeta, 3)), 12) == 0 ? "0.0" : fixNumber(Number(handleValueFormula(value, tableMeta, 3)), 12)}
value={fixNumber(Number(handleValueFormula(value, tableMeta, 3)), 12) == 0 ? "0.0" : this.props.defaultCurrency.id === 1 ? fixNumber(Number(handleValueFormula(value, tableMeta, 3)), 1) == 0 ? "0.0" : fixNumber(Number(handleValueFormula(value, tableMeta, 3)), 1) : fixNumber(Number(handleValueFormula(value, tableMeta, 3)), 12)}
/>
</LightTooltip>
:
......@@ -5914,7 +5922,7 @@ export default class TaxPlanning extends Component {
type="text"
placeholder=""
disabled={true}
value={fixNumber(Number(handleValueFormula(value, tableMeta, 3)), 12) == 0 ? "0.0" : fixNumber(Number(handleValueFormula(value, tableMeta, 3)), 12)}
value={fixNumber(Number(handleValueFormula(value, tableMeta, 3)), 12) == 0 ? "0.0" : this.props.defaultCurrency.id === 1 ? fixNumber(Number(handleValueFormula(value, tableMeta, 3)), 1) == 0 ? "0.0" : fixNumber(Number(handleValueFormula(value, tableMeta, 3)), 1) : fixNumber(Number(handleValueFormula(value, tableMeta, 3)), 12)}
/> :
<LightTooltip title={this.state.minValue === null ? `Value Should be ${tableMeta.rowData[25].tbf}` : `Value Should be (${this.state.minValue}) up to (${this.state.maxValue})`} arrow>
<NumberFormat
......@@ -5931,7 +5939,7 @@ export default class TaxPlanning extends Component {
type="text"
placeholder=""
disabled={true}
value={fixNumber(Number(handleValueFormula(value, tableMeta, 3)), 12) == 0 ? "0.0" : fixNumber(Number(handleValueFormula(value, tableMeta, 3)), 12)}
value={fixNumber(Number(handleValueFormula(value, tableMeta, 3)), 12) == 0 ? "0.0" : this.props.defaultCurrency.id === 1 ? fixNumber(Number(handleValueFormula(value, tableMeta, 3)), 1) == 0 ? "0.0" : fixNumber(Number(handleValueFormula(value, tableMeta, 3)), 1) : fixNumber(Number(handleValueFormula(value, tableMeta, 3)), 12)}
/>
</LightTooltip>
:
......@@ -6405,7 +6413,7 @@ export default class TaxPlanning extends Component {
type="text"
placeholder=""
disabled={true}
value={fixNumber(Number(handleValueFormula(value, tableMeta, 3)), 12) == 0 ? "0.0" : fixNumber(Number(handleValueFormula(value, tableMeta, 3)), 12)}
value={fixNumber(Number(handleValueFormula(value, tableMeta, 3)), 12) == 0 ? "0.0" : this.props.defaultCurrency.id === 1 ? fixNumber(Number(handleValueFormula(value, tableMeta, 3)), 1) == 0 ? "0.0" : fixNumber(Number(handleValueFormula(value, tableMeta, 3)), 1) : fixNumber(Number(handleValueFormula(value, tableMeta, 3)), 12)}
/> :
<LightTooltip title={this.state.minValue === null ? `Value Should be ${tableMeta.rowData[25].tbf}` : `Value Should be (${this.state.minValue}) up to (${this.state.maxValue})`} arrow>
<NumberFormat
......@@ -6422,7 +6430,7 @@ export default class TaxPlanning extends Component {
type="text"
placeholder=""
disabled={true}
value={fixNumber(Number(handleValueFormula(value, tableMeta, 3)), 12) == 0 ? "0.0" : fixNumber(Number(handleValueFormula(value, tableMeta, 3)), 12)}
value={fixNumber(Number(handleValueFormula(value, tableMeta, 3)), 12) == 0 ? "0.0" : this.props.defaultCurrency.id === 1 ? fixNumber(Number(handleValueFormula(value, tableMeta, 3)), 1) == 0 ? "0.0" : fixNumber(Number(handleValueFormula(value, tableMeta, 3)), 1) : fixNumber(Number(handleValueFormula(value, tableMeta, 3)), 12)}
/>
</LightTooltip>
:
......@@ -6895,7 +6903,7 @@ export default class TaxPlanning extends Component {
type="text"
placeholder=""
disabled={true}
value={fixNumber(Number(handleValueFormula(value, tableMeta, 3)), 12) == 0 ? "0.0" : fixNumber(Number(handleValueFormula(value, tableMeta, 3)), 12)}
value={fixNumber(Number(handleValueFormula(value, tableMeta, 3)), 12) == 0 ? "0.0" : this.props.defaultCurrency.id === 1 ? fixNumber(Number(handleValueFormula(value, tableMeta, 3)), 1) == 0 ? "0.0" : fixNumber(Number(handleValueFormula(value, tableMeta, 3)), 1) : fixNumber(Number(handleValueFormula(value, tableMeta, 3)), 12)}
/> :
<LightTooltip title={this.state.minValue === null ? `Value Should be ${tableMeta.rowData[25].tbf}` : `Value Should be (${this.state.minValue}) up to (${this.state.maxValue})`} arrow>
<NumberFormat
......@@ -6912,7 +6920,7 @@ export default class TaxPlanning extends Component {
type="text"
placeholder=""
disabled={true}
value={fixNumber(Number(handleValueFormula(value, tableMeta, 3)), 12) == 0 ? "0.0" : fixNumber(Number(handleValueFormula(value, tableMeta, 3)), 12)}
value={fixNumber(Number(handleValueFormula(value, tableMeta, 3)), 12) == 0 ? "0.0" : this.props.defaultCurrency.id === 1 ? fixNumber(Number(handleValueFormula(value, tableMeta, 3)), 1) == 0 ? "0.0" : fixNumber(Number(handleValueFormula(value, tableMeta, 3)), 1) : fixNumber(Number(handleValueFormula(value, tableMeta, 3)), 12)}
/>
</LightTooltip>
:
......@@ -7385,7 +7393,7 @@ export default class TaxPlanning extends Component {
type="text"
placeholder=""
disabled={true}
value={fixNumber(Number(handleValueFormula(value, tableMeta, 3)), 12) == 0 ? "0.0" : fixNumber(Number(handleValueFormula(value, tableMeta, 3)), 12)}
value={fixNumber(Number(handleValueFormula(value, tableMeta, 3)), 12) == 0 ? "0.0" : this.props.defaultCurrency.id === 1 ? fixNumber(Number(handleValueFormula(value, tableMeta, 3)), 1) == 0 ? "0.0" : fixNumber(Number(handleValueFormula(value, tableMeta, 3)), 1) : fixNumber(Number(handleValueFormula(value, tableMeta, 3)), 12)}
/> :
<LightTooltip title={this.state.minValue === null ? `Value Should be ${tableMeta.rowData[25].tbf}` : `Value Should be (${this.state.minValue}) up to (${this.state.maxValue})`} arrow>
<NumberFormat
......@@ -7402,7 +7410,7 @@ export default class TaxPlanning extends Component {
type="text"
placeholder=""
disabled={true}
value={fixNumber(Number(handleValueFormula(value, tableMeta, 3)), 12) == 0 ? "0.0" : fixNumber(Number(handleValueFormula(value, tableMeta, 3)), 12)}
value={fixNumber(Number(handleValueFormula(value, tableMeta, 3)), 12) == 0 ? "0.0" : this.props.defaultCurrency.id === 1 ? fixNumber(Number(handleValueFormula(value, tableMeta, 3)), 1) == 0 ? "0.0" : fixNumber(Number(handleValueFormula(value, tableMeta, 3)), 1) : fixNumber(Number(handleValueFormula(value, tableMeta, 3)), 12)}
/>
</LightTooltip>
:
......@@ -7875,7 +7883,7 @@ export default class TaxPlanning extends Component {
type="text"
placeholder=""
disabled={true}
value={fixNumber(Number(handleValueFormula(value, tableMeta, 3)), 12) == 0 ? "0.0" : fixNumber(Number(handleValueFormula(value, tableMeta, 3)), 12)}
value={fixNumber(Number(handleValueFormula(value, tableMeta, 3)), 12) == 0 ? "0.0" : this.props.defaultCurrency.id === 1 ? fixNumber(Number(handleValueFormula(value, tableMeta, 3)), 1) == 0 ? "0.0" : fixNumber(Number(handleValueFormula(value, tableMeta, 3)), 1) : fixNumber(Number(handleValueFormula(value, tableMeta, 3)), 12)}
/> :
<LightTooltip title={this.state.minValue === null ? `Value Should be ${tableMeta.rowData[25].tbf}` : `Value Should be (${this.state.minValue}) up to (${this.state.maxValue})`} arrow>
<NumberFormat
......@@ -7892,7 +7900,7 @@ export default class TaxPlanning extends Component {
type="text"
placeholder=""
disabled={true}
value={fixNumber(Number(handleValueFormula(value, tableMeta, 3)), 12) == 0 ? "0.0" : fixNumber(Number(handleValueFormula(value, tableMeta, 3)), 12)}
value={fixNumber(Number(handleValueFormula(value, tableMeta, 3)), 12) == 0 ? "0.0" : this.props.defaultCurrency.id === 1 ? fixNumber(Number(handleValueFormula(value, tableMeta, 3)), 1) == 0 ? "0.0" : fixNumber(Number(handleValueFormula(value, tableMeta, 3)), 1) : fixNumber(Number(handleValueFormula(value, tableMeta, 3)), 12)}
/>
</LightTooltip>
:
......@@ -8052,7 +8060,7 @@ export default class TaxPlanning extends Component {
type="text"
placeholder=""
disabled={true}
value={this.props.status === 'CLOSED' ? (fixNumber(Number(value), 12) == 0 ? "0.0" : fixNumber(Number(value), 1)) : (fixNumber(Number(handleTotalControl(tableMeta, 1, this.props.periode)), 12) == 0 ?"0.0" : fixNumber(Number(handleTotalControl(tableMeta, 1, this.props.periode)), 12))}
value={this.props.status === 'CLOSED' ? (fixNumber(Number(value), 1) == 0 ? "0.0" : fixNumber(Number(value), 1)) : (fixNumber(Number(handleTotalControl(tableMeta, 1, this.props.periode)), 1) == 0 ?"0.0" : this.props.defaultCurrency.id === 1 ? fixNumber(Number(handleTotalControl(tableMeta, 1, this.props.periode)), 11) : fixNumber(Number(handleTotalControl(tableMeta, 1, this.props.periode)), 12))}
/> :
<LightTooltip title={this.state.minValue === null ? `Value Should be 0` : `Value Should be (${this.state.minValue}) up to (${this.state.maxValue})`} arrow>
<NumberFormat
......@@ -8061,7 +8069,7 @@ export default class TaxPlanning extends Component {
type="text"
placeholder=""
disabled={true}
value={this.props.status === 'CLOSED' ? (fixNumber(Number(value), 12) == 0 ? "0.0" : fixNumber(Number(value), 1)) : (fixNumber(Number(handleTotalControl(tableMeta, 1, this.props.periode)), 12) == 0 ?"0.0" : fixNumber(Number(handleTotalControl(tableMeta, 1, this.props.periode)), 12))}
value={this.props.status === 'CLOSED' ? (fixNumber(Number(value), 1) == 0 ? "0.0" : fixNumber(Number(value), 1)) : (fixNumber(Number(handleTotalControl(tableMeta, 1, this.props.periode)), 1) == 0 ?"0.0" : this.props.defaultCurrency.id === 1 ? fixNumber(Number(handleTotalControl(tableMeta, 1, this.props.periode)), 11) : fixNumber(Number(handleTotalControl(tableMeta, 1, this.props.periode)), 12))}
/>
</LightTooltip>
......@@ -8698,7 +8706,7 @@ export default class TaxPlanning extends Component {
type="text"
placeholder=""
disabled={true}
value={fixNumber(Number(handleForecast(tableMeta, Number(this.props.periode) + 1, 3)), 12) == 0 ? "0.0" : fixNumber(Number(handleForecast(tableMeta, Number(this.props.periode) + 1, 3)), 12)}
value={fixNumber(Number(handleForecast(tableMeta, Number(this.props.periode) + 1, 3)), 12) == 0 ? "0.0" : this.props.defaultCurrency.id === 1 ? fixNumber(Number(handleForecast(tableMeta, Number(this.props.periode) + 1, 3)),1) == 0 ? "0.0" : fixNumber(Number(handleForecast(tableMeta, Number(this.props.periode) + 1, 3)),1) : fixNumber(Number(handleForecast(tableMeta, Number(this.props.periode) + 1, 3)), 12)}
/> :
<LightTooltip title={this.state.minValue === null ? `Value Should be ${tableMeta.rowData[25].tbf}` : `Value Should be (${this.state.minValue}) up to (${this.state.maxValue})`} arrow>
<NumberFormat
......@@ -8715,7 +8723,7 @@ export default class TaxPlanning extends Component {
type="text"
placeholder=""
disabled={true}
value={fixNumber(Number(handleForecast(tableMeta, Number(this.props.periode) + 1, 3)), 12) == 0 ? "0.0" : fixNumber(Number(handleForecast(tableMeta, Number(this.props.periode) + 1, 3)), 12)}
value={fixNumber(Number(handleForecast(tableMeta, Number(this.props.periode) + 1, 3)), 12) == 0 ? "0.0" : this.props.defaultCurrency.id === 1 ? fixNumber(Number(handleForecast(tableMeta, Number(this.props.periode) + 1, 3)),1) == 0 ? "0.0" : fixNumber(Number(handleForecast(tableMeta, Number(this.props.periode) + 1, 3)),1) : fixNumber(Number(handleForecast(tableMeta, Number(this.props.periode) + 1, 3)), 12)}
/>
</LightTooltip>
:
......@@ -9264,7 +9272,7 @@ export default class TaxPlanning extends Component {
type="text"
placeholder=""
disabled={true}
value={fixNumber(Number(handleForecast(tableMeta, Number(this.props.periode) + 2, 3)), 12) == 0 ? "0.0" : fixNumber(Number(handleForecast(tableMeta, Number(this.props.periode) + 2, 3)), 12)}
value={fixNumber(Number(handleForecast(tableMeta, Number(this.props.periode) + 2, 3)), 12) == 0 ? "0.0" : this.props.defaultCurrency.id === 1 ? fixNumber(Number(handleForecast(tableMeta, Number(this.props.periode) + 2, 3)), 1) == 0 ? "0.0" : fixNumber(Number(handleForecast(tableMeta, Number(this.props.periode) + 2, 3)), 1) : fixNumber(Number(handleForecast(tableMeta, Number(this.props.periode) + 2, 3)), 12)}
/> :
<LightTooltip title={this.state.minValue === null ? `Value Should be ${tableMeta.rowData[25].tbf}` : `Value Should be (${this.state.minValue}) up to (${this.state.maxValue})`} arrow>
<NumberFormat
......@@ -9281,7 +9289,7 @@ export default class TaxPlanning extends Component {
type="text"
placeholder=""
disabled={true}
value={fixNumber(Number(handleForecast(tableMeta, Number(this.props.periode) + 2, 3)), 12) == 0 ? "0.0" : fixNumber(Number(handleForecast(tableMeta, Number(this.props.periode) + 2, 3)), 12)}
value={fixNumber(Number(handleForecast(tableMeta, Number(this.props.periode) + 2, 3)), 12) == 0 ? "0.0" : this.props.defaultCurrency.id === 1 ? fixNumber(Number(handleForecast(tableMeta, Number(this.props.periode) + 2, 3)), 1) == 0 ? "0.0" : fixNumber(Number(handleForecast(tableMeta, Number(this.props.periode) + 2, 3)), 1) : fixNumber(Number(handleForecast(tableMeta, Number(this.props.periode) + 2, 3)), 12)}
/>
</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